By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

open form2 in modal form

P: n/a
hello everyone

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

thanks in advance!
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
You should first try to not multi-post.
"Sender" <us**@domain.com> wrote in message news:%2***************@TK2MSFTNGP11.phx.gbl...
hello everyone

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

thanks in advance!

Nov 20 '05 #2

P: n/a
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.....
"Rick Mogstad" <ri**@NOSPAM.computetosuit.com> wrote in message
news:Ou**************@tk2msftngp13.phx.gbl...
You should first try to not multi-post.
"Sender" <us**@domain.com> wrote in message

news:%2***************@TK2MSFTNGP11.phx.gbl...
hello everyone

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

thanks in advance!


Nov 20 '05 #3

P: n/a
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.

"E.P." <Me@nowhere.com> wrote in message
news:01****************************@phx.gbl...
-----Original Message-----
hello everyone

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

thanks in advance!
.


I believe "form2.DefInstance.ShowDialog()" should work

Nov 20 '05 #4

P: n/a
"E.P." <Me@nowhere.com> scripsit:
I believe "form2.DefInstance.ShowDialog()" should work


?!?

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.