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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms..

Status
Not open for further replies.

ehenze

Programmer
Oct 26, 1999
1
US
Very new to VB... How do I use a cmd control on a form to bring up a different form?
 
In the click event<br>
<br>
Private Sub Command1_Click()<br>
Form2.Show<br>
End Sub<br>

 
In the click event<br>
<br>
Private Sub Command1_Click()<br>
Form2.Show<br>
End Sub<br>

 
In the click event<br>
<br>
Private Sub Command1_Click()<br>
Form2.Show<br>
Form1.Hide<br>
End Sub<br>
<br>
If you don't want the first form showing<br>
<p> Chad<br><a href=mailto:tinman@hotbot.com>tinman@hotbot.com</a><br><a href= > </a><br>Tinman,<br>
Welcome to OZ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top