S
Sender
In VB6.0 we use Unload Form1 to unload (close) form1 -
what shall we have to write to unload a form in VB.Net
what shall we have to write to unload a form in VB.Net
Sender said:See... I don't want to close the form1 by clicking on the
CLOSE (x) button of the form. I want to create a button
CLOSE and wherein I want to write code to close the form
(entire application).
-----Original Message-----
oh
me.close
.
Sender said:I don't think the code you gave works. I am not creating a
form through code. The form1 is already there when I open
the blank solution (and VB project). Then I inserted just
one button titled 'CLOSE ME' where in I wrote the code you
have given. But it shows error.
Sender said:See... I don't want to close the form1 by clicking on the
CLOSE (x) button of the form. I want to create a button
CLOSE and wherein I want to write code to close the form
(entire application).