|
-
Feb 1st, 2006, 07:35 PM
#1
Thread Starter
New Member
Procedure to large
I have created a VB program runs within a CAD program. The code is now that long that I am getting a "Procedure to large" error when I go to run it. I know I need to divide it into sections.
Being a novice at VB I am not sure how to do this.
Can someone please help.
-
Feb 1st, 2006, 07:37 PM
#2
Re: Procedure to large
How long is it? Is it all in one form?
You could put each section into a new module, but I don't see why you'd need to, unliess your code is very large.
-
Feb 1st, 2006, 07:44 PM
#3
Thread Starter
New Member
Re: Procedure to large
Yes it is in one form and the code is very large.
I hope you can help.
-
Feb 1st, 2006, 07:48 PM
#4
-
Feb 1st, 2006, 07:49 PM
#5
Re: Procedure to large
Add a code module to your program and break out pieces of your code into one or more Subs or Functions that you can call from the form.
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
|