Click to See Complete Forum and Search --> : 64K Limit


Vlad Chapranov
June 3rd, 1999, 12:29 PM
There is 64K limit in size of any function, procedure, module, form in VB. Maybe I'm wrong. But this limit is applied for compiled object. How to find out the real size of a form to avoid passing that limit. Checking of size property of a file doesn't give real result, because for example all the comments in a form will not be compiled, but they do affect the size of a form.frm file before compilation.
Any ideas?
Thank you.

Ravi Kiran
June 4th, 1999, 03:39 AM
Hi,

May i ask you, where did you get this info from?
I haven't come across any such info till now!!.

For your info: I have a running app, (single form app) with details like this:
Form Size : 74KB ( 75423 bytes to be exact)
Its Frx size: 20KB (20,562 b) and the compiled size of the application is 363,520 bytes.

When running it eats away a good 2MB + 2MB for each of the server components it installs, totallying a good 7MB of memory. As of today it is running prety much fine.

If you feel, you might run into probs due to size, put some logic into seperate modules /classes. Would be ideal from design side also!

Ravi

kieran_rush
June 15th, 1999, 08:43 PM
Read the Programmers manual that comes with VB, there they explain all that stuff, about limits, sizes, etc.