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
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.