How to call a load a form in vb.net?

G

Guest

I am a new user of visual basic .net. before i used vb6.
in vb6 to call for a form to be displayed i did this.

Private sub command1_click()
load form1
form1.show
end sub

My question is:

How to make the same think in visual basic .net?
load a form by pressing a button.

Thank´s for your help if someone reply me.
Best regards
Luís ramos
 
H

Herfried K. Wagner [MVP]

Luis Ramos said:
I am a new user of visual basic .net. before i used vb6.
in vb6 to call for a form to be displayed i did this.

Private sub command1_click()
load form1
form1.show
end sub

\\\
Call (New Form1).Show()
///
 

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

Top