954,535 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

I have a problem in my application which executes end to end in the first run. But if I terminate abruptly, and try to run again, I get runtime error 7 out of memory.
This error is on Load of form. The code in Form_Load() is:

Private Sub Form_Load()
'simple logic to enable check box
End Sub

On successful loading of form an ocx control is to be loaded. Can the problem be because of this ocx?

I've tried setting this ocx object to nothing before form load.

Please help,
Priyatha

priyatha
Newbie Poster
2 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

Hi,

How r u loading the ocx...?
Why cant u simply place the ocx control on the from Toolbox at design time...?

REgards
Veena

QVeen72
Posting Shark
950 posts since Nov 2006
Reputation Points: 84
Solved Threads: 143
 

The ocx is placed in the design time.

priyatha
Newbie Poster
2 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You