• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 203
  • Last Modified:

VB6 editor size limitations and work arounds

I have an application that consists of about 20 ASP pages that I convert to VB and then compile it to a DLL.
The size of the files have grown and now the converted code is 90k lines. When I try to paste this to my VB6 editor I get an erroer message "Out of Memory". I can paste approx68k of lines withourt a problem.

Is there a work around to this or is there a way of splitting the code to a couple of modeules and then being able to complie to s single DLL without the need to do a lot of complex referencing in my current functions
0
Geethal_Fernando
Asked:
Geethal_Fernando
1 Solution
 
jkaiosIT DirectorCommented:
Yes, try to break your code into smaller pieces, like sub routines and modules.
0
 
pradapkumarCommented:
try to increase your virtual memory and try this again.
0
 
GrahamSkanRetiredCommented:
If it is all Module code, as opposed to Forms and Class, and unless you have labelled any of the procedures as Private, you can create several modules and put some of the procedures in each. It won't matter to the compiler which module thay are in, but, for easier maintainability, you might like to take the opportunity of keeping associated groups of procedures in their own modules.
0
 
Geethal_FernandoAuthor Commented:
I put it in to a few separate modules as suggested and changed all the private subs and functions to public to make it work
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now