Open a form

  • Thread starter Thread starter reidarT
  • Start date Start date
* "reidarT said:
In vb6 I use form.show to open a form.
How do I open forms in vb.net?

\\\
Dim f As New FooForm()
f.Show()
///

- or -

\\\
Dim f As New FooForm()
f.ShowDialog()
f.Dispose()
///
 
Reider,

The sample from Hal is a showdialog, something the same as an own made
messagebox.

Have a look to the message from Herfried for the difference of that.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top