Operation is not allowed when the object is closed...vb6
Posted on 2004-09-23
From Form1, via command1, I am opening Form2 (this works ok). Although it is not necessary to click on command1 again, because Form2 is already open, I get above error message when I do so. And, to get rid of it one has to use Ctrl+Alt+Del keys to exit the vb application.
I tired to put break lines on command1_Click and Form_Active to see what lines causing the error. I haven't been able to determine it. Do you have any idea what this error exactly means and how I can handle it?