954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VB6 Runtime error 7 Out of memory

Hi all
I have a problem in my application when load a form, I get runtime error 7 out of memory, the applicaton works in my computer (P4 2.8 Ghz 736RAM) until yesterday, today i got that error, i did uninstall styleXP from my computer and after restart it the application works again. This problem occurs always in a client computer (Pentium 2 / 256 Mb) so i don't think the problem is memory.

Any body have the same problem???
Any idea or solution???

Please help :cry:

cabp
Newbie Poster
2 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

We would probably have to see some form_load code before we could even start to make a judgement. Are you Sure that's where it is failing?

jwshepherd
Junior Poster
123 posts since Jun 2005
Reputation Points: 20
Solved Threads: 5
 

Thanks for your reply
Yes, i made a ctrl+break then check line by line with F8 and when the application tries to load a form the error appears. Maybe it´s because i have an out of date ocx from sheridan data widgets, in other forms appear the 372 error, which means that ssdatb32.ocx is out of date, what do you think???

cabp
Newbie Poster
2 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

It's a possibility, You might try removing one controll at a time to see if that is it.

jwshepherd
Junior Poster
123 posts since Jun 2005
Reputation Points: 20
Solved Threads: 5
 

I'm not so sure that an OCX that is out of date would give you an out of memory error (unless the memory management routine that it's using is calling API's or using a method that works differently now). I would like to see the form_load code.... if you figure out the solution, please post it for others to see.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

did anyone find the solution for this? i have the same problem and cannot solve it!

stromberg45
Newbie Poster
1 post since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

Do me a favor, don't bump old threads. If you have a question, post a new thread.

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You