|
-
May 14th, 2006, 10:59 PM
#1
Thread Starter
New Member
Limitation of Code lines in Class File (VB6)
Anybody know, if there is any limitation of no of lines of code in Class file?
I am facing some issues, my class file contains 52535 lines of code. When I compile the code, VB6 compiler hangs. When I comment one of the procedure/function (almost 100 lines of code) anywhere in file, I am able to compile the project.
Not sure whats happening..
Anybody faced such issue? Any idea guys?
-
May 14th, 2006, 11:00 PM
#2
Thread Starter
New Member
Re: Limitation of Code lines in Class File (VB6)
No specific comments on Net also.
-
May 15th, 2006, 12:11 AM
#3
Lively Member
Re: Limitation of Code lines in Class File (VB6)
wow, i really have no idea? i dont think there'd be a limit without a general error message.. im not sure though.
-
May 15th, 2006, 12:21 AM
#4
Re: Limitation of Code lines in Class File (VB6)
From the Microsoft VB 6.0 Programmer's Guide:
The amount of code that can be loaded into a Form, Class, or standard module is limited to 65,534 lines. A single line of code can consist of up to 1023 bytes. Up to 256 blank spaces can precede the actual text on a single line, and no more than twenty-five line-continuation characters (_) can be included in a single logical line.
Pete
No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
-
May 15th, 2006, 12:47 AM
#5
Thread Starter
New Member
Re: Limitation of Code lines in Class File (VB6)
Thanks for replies.
But still the problem persist.
Any Idea what could be the reason of not compiling.
-
May 15th, 2006, 12:48 AM
#6
Re: Limitation of Code lines in Class File (VB6)
Lines including the class attribute settings, or available memory.
-
May 15th, 2006, 04:18 AM
#7
Re: Limitation of Code lines in Class File (VB6)
Why on earth would you have a code segment that is that large???? Break it down into a few modules.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|