Solved

VB6 editor size limitations and work arounds

Posted on 2006-11-17
4
188 Views
Last Modified: 2013-12-26
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
Comment
Question by:Geethal_Fernando
4 Comments
 
LVL 12

Expert Comment

by:jkaios
ID: 17976990
Yes, try to break your code into smaller pieces, like sub routines and modules.
0
 
LVL 9

Expert Comment

by:pradapkumar
ID: 17977281
try to increase your virtual memory and try this again.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 250 total points
ID: 17977865
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
 

Author Comment

by:Geethal_Fernando
ID: 17977910
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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now