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

Thread: 64K Limit

  1. #1
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    64K Limit

    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.


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: 64K Limit: My Form size 72K + 21K frx

    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


  3. #3
    Join Date
    Jun 1999
    Posts
    42

    Re: 64K Limit: My Form size 72K + 21K frx

    Read the Programmers manual that comes with VB, there they explain all that stuff, about limits, sizes, etc.


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