General discussion

Locked

VB 6 Project/Size Limits?

By Still In VB6 ·
Hi,

I know the limits for the number of controls on a form.
But what are the other limits for a VB 6 app?
Are there limits for total lines of code?
Limits for total number of variables, classes, forms, ect?
How about EXE size?

The company I work for has a *huge* vb6 app and wonders if we are nearing the limits. So far neither the developers or clients have experienced any specific problems -- but we are trying to be pro-active.

Any info from the experts out there?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Limitations

by BFilmFan In reply to VB 6 Project/Size Limits?

Microsoft has a whole page of links dedicated to the limitations.

Project Limitations:

A single project can contain up to 32,000 "identifiers" (any nonreserved keyword), which include, but are not limited to, forms, controls, modules, variables, constants, procedures, functions, and objects. Note that the actual number of identifiers is limited to available memory.

Variable names in Visual Basic can be no longer than 255 characters, and the names of forms, controls, modules, and classes cannot be longer than 40 characters. Visual Basic imposes no limit on the actual number of distinct objects in a project.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconvisualbasicspecificationslimitationsfileformats.asp

I am not a great VB programmer and only use it when I am forced to do so!

Hope that helps some!

Collapse -

Many Thanks

by Still In VB6 In reply to Limitations

Thank you, thank you, and again - thank you!

I did search MSDN but didn't get to that page -- guess I just didn't have the right combination of keywords!

Collapse -

Welcome

by BFilmFan In reply to Many Thanks

Hope it helped!

Collapse -

Com Ports

by soporte In reply to VB 6 Project/Size Limits?

The total number of Com Ports you can use in VB can not exceed 16 if you use MSCOMM control.

Back to Web Development Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums