Hi Hareth,
You need public instance of Form2, so that you can hide and show from
different form classes.
First Declare the variable as global in module.
Public objFrm2 as new Form2
Then show the form in any class by,
objFrm2.Show()
Then you can hide it from any class by,
objFrm2.Hide()
Then you can show it by,
objFrm2.Show()
Hopes this will help.
Sakharam Phapale
"Hareth" <ab******@hotmail.com> wrote in message
news:el**************@TK2MSFTNGP11.phx.gbl...
--------------------------------------------------------
Button1_click
Dim Form2 As New Form2
Form2.Show()
-------------------------------------------------------
I wrote this,
but in form2 i want it to hide()
in form1 if i click Button1, it shows a new one....
how do i get it to show form2 thats hidden?