S
Sender
Hello VB.Net gurus/MVPs/MCPs.....here is another simple/basic query from a
beiggner....
I have a VB.Net Project with 2 forms form1 (default) and form2. On form1
there is button button1 which opens the form2. This is what I wrote to open
form2:
Dim frm as New form2()
(The above line I wrote outside any procedure)
On Button1 I wrote the following code:
frm.show
Everything work fine when I click on this button to open form2. However, the
problem occurs when I close form2 (by clicking on the close button of the
form2) and try to open form2 again by clicking on button1 on form1. That
means eveything works fine for the first time but not afterwards. Please
help!
Thanks in advance!
beiggner....
I have a VB.Net Project with 2 forms form1 (default) and form2. On form1
there is button button1 which opens the form2. This is what I wrote to open
form2:
Dim frm as New form2()
(The above line I wrote outside any procedure)
On Button1 I wrote the following code:
frm.show
Everything work fine when I click on this button to open form2. However, the
problem occurs when I close form2 (by clicking on the close button of the
form2) and try to open form2 again by clicking on button1 on form1. That
means eveything works fine for the first time but not afterwards. Please
help!
Thanks in advance!