Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

An easy one on VB limitations

Status
Not open for further replies.

pbuddy2007

Technical User
Feb 9, 2008
17
0
0
CA
Is there a limit on the number of Forms or Modules a program may have ? I'm writing an app that will have over 50 different form and about 25 modules. Is it ok
 
I would be very surprised if not! This does not seem particularly excessive. I have a working app with 40 forms and 15 modules.
 
I don't know what the limit is, but I'm sure you are way under it.

 
The limitations for the number of modules are about 400.

Other than that (outside of pure size limitaions of proceedures, etc., lines, control indexes), the project can have about 32,000 identifiers total.
 
That's unique identifiers by the way - using the same name for an identifier in two different scopes only counts as one...

Trust me, we've found it necessary to experiment...

To reassure the OP, the VB6 project I am involved with has over a hundred forms, a comparable number of modules, about 50 or so classes, and links to about fifty or so DLLs.

Suffice it to say I didn't design it myself.

mmilan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top