M
Matt84121
I have a really stupid question, and cannot find the answer elsewhere.
I have a mdi that uses a class. One (main) form has two textboxes which
takes input, and the input is calculated by the class and then returned
to some labels on the same form. When I open the form from a main menu
control it works fine, if I close it using the me.close command, and
then try to reopen the form, using the same mainmenu control I recieve
an error that states: "Cannot access a disposed object named".
I've tried to instantiate a second instance of the form:
dim frm1 As New frm1
frm1.mdiparent=me
frm1.show()
however, when I do this the text boxes on the main form no longer pass
the input to the class. What is an easy fix for this?
I have a mdi that uses a class. One (main) form has two textboxes which
takes input, and the input is calculated by the class and then returned
to some labels on the same form. When I open the form from a main menu
control it works fine, if I close it using the me.close command, and
then try to reopen the form, using the same mainmenu control I recieve
an error that states: "Cannot access a disposed object named".
I've tried to instantiate a second instance of the form:
dim frm1 As New frm1
frm1.mdiparent=me
frm1.show()
however, when I do this the text boxes on the main form no longer pass
the input to the class. What is an easy fix for this?