open form2 in modal form

  • Thread starter Thread starter Sender
  • Start date Start date
S

Sender

hello everyone

i want to open form2 in modal form. how should i do that ?

thanks in advance!
 
Hi Rick

First of all let me thank for you reply in
microsoft.public.dotnet.languages.vb. I put that post here in this forum and
in that forum also because I wanted to do that both in VB 6.0 and VB.Net.
You gave the reply for VB6.0.

DO YOU STILL THINK IT IS MULTI-POST......if yes then who cares.....
 
I am calling form2 as:

dim frm as new form2()
frm.show()

Where do I write: >>>>>>>>>> form2.DefInstance.ShowDialog(), because there
is no definstance method associated with frm.

Thanks.
 
Back
Top