Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to go into next form using custom windows control login form
Posted

1 solution

VB
Dim frm2 As New Form2        
frm2.Show()

That can go after you've displayed the login form and exited or on (e.g.) the Ok button of the login form.

If you put the code in the login form then you will also need to hide the original ...
VB
Me.Hide()
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900