VB5 locks up when developing v large prog.

VB5. When developing a very large application (some 25 or so forms), VB locks the whole m.c up. I have to do a hard power off/on reset.

I suspect the problem is because I am attempting to develop a large prog, and m/c runs out of resources and (instead of failing gracefully) it falls over.

Short of restructuring the program, any ideas how I can avoid problem (I have no difficulties when developing smaller progs)
grhAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
BalsheConnect With a Mentor Commented:
I have An Application That Contain 40 Forms I Had this Proplem Once ,but I found That When you Finish A form You Must Close It(The Form Only)That Will free  The Resources That Was Reserved or It.
Good Luck
0
 
caraf_gCommented:
Normally an application with 25 or more forms should be no problem. What's the spec. of your PC?
0
 
grhAuthor Commented:
PC is pentium 2,  16 meg RAM

0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
caraf_gCommented:
Wow.... 16 meg is very little.

The easy option, if you can, is to either upgrade your PC or buy a new one.

Otherwise, perhaps, you may want to consider developing your application by splitting it up into smaller ActiveX components?
0
 
caraf_gCommented:
Are you running Windows NT or 95?
Are you running the application in debug mode or compiled?

Tip:
Try to close as many windows in your development environment as possible. Each open window eats up memory.
0
 
mark2150Commented:
I've developed apps with many more forms than two dozen, but caraf_g is right, 16Mb is very marginal for VB development. 64 is the practical minimum with 128 being better.

M
0
 
vettrangerCommented:
Ditto on increasing RAM, to a minimum of 64K. Your hard drive light must be flashing constantly with 16!
0
 
watyCommented:
What a computer....

I have bough a new portable and will recieve it in 12 days :
Dell : P3 500 with 128M, 10Gb HD, 15' screen TFT, Cd-Rom 24x.

If you want very good computer at a good price, take a look on www.dell.com
0
 
mark2150Commented:
While you're working, close any forms that you're not actively looking at. Source too. This reduces the load on VB's IDE.

M
0
 
grhAuthor Commented:
And thanks to all people who took the time to answer or comment.

All your inputs have been very welcome.
all the best
Garry
0
All Courses

From novice to tech pro — start learning today.