Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory error

Status
Not open for further replies.

furlman41

MIS
Sep 25, 2002
18
US
I recently came across a problem with my VB6 program. The program was working fine in Win 98, NT & XP environments, but they I installed it onto another computer with Win 98 and ran into some major problems.

The program is a MDI application with many screens. On this certain computer, upon startup of the first screen, all of the images wouldn't load, and there seems to be memory errors if you played around in the program for a short period of time. If I tried to open any other program on the computer (such as IE6), I received the following message:
"There is not enough free memory to run this program. Quit one or more programs, and then try again."

Any suggestions on what could be the problem with this instance of the program?

John Furlong
 
What's the memory usage before and after you start the program?

Also - how many controls are loaded when you start the program? The Win9x operating systems has a limitation on the number of window handles that can be open at a time (each Form and Control consumes at least one)

Another possibility is there's another program consuming large amounts of RAM and/or system resources already running -- have you done a virus scan?

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Is there a space issue with the hard drive on the problem machine?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top