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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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
BalsheCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.