Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open another existing Form 1

Status
Not open for further replies.

DougP

MIS
Joined
Dec 13, 1999
Messages
5,985
Location
US
I want to have several forms in my project
in VB6 it was simple
form1.visible = true

in VB.NET "fa get a bout it"
what do I do?
this makes a new blank form
Code:
        Dim Dataform1 As New Form
        Dataform1.Text = "Owned Form"
        Me.AddOwnedForm(Dataform1)

        ' Show the owned form.
        Dataform1.Show()

My other form is form1.vb I just want it to pop up.

DougP, MCP, A+
 
hmm
Dim frmOne As New Form1()
frmOne.Show()
 
mrmovie, THANK YOU VERY MUCH! that is exactly what I need to show my other forms.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top