CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: No. of Objects

  1. #1
    Join Date
    Feb 2000
    Location
    United Arab Emirates
    Posts
    11

    No. of Objects

    Hi,

    All. Is their a limitation on the number of ActiveX controls that can be displayed or popped up from VB5.0, for instance is this valid code to pop up the crystal report control in the folllowing way:


    for iCount=1 to 20
    crystalreport.discardsaveddate=true
    crystalreport.selectionformula="mycriteria"
    crystalreport.printreport
    next icount




    The above code brings up the report in preview mode one after another. Any suggestion and help will be very much appreciated.



  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: No. of Objects

    I'm not sure about a dynamic limit, but i know you can't have more than 255 controls on the form at design time.

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured