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

Hi,

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

REgards
Veena

The ocx is placed in the design time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.