Click here to Skip to main content
15,898,723 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
following code written in timer in splash screen form
=======================================================
VB
Me.Close()
LoginForm1.Show()

problem is that i want to close splash screen form using me.close() statement and want to activate (show) the login form. but both forms are shutting down. please suggest what should i do?
Posted
Updated 2-Aug-11 7:11am
v2

VB
Me.Visible=false
LoginForm1.Show()
Me.Close()
 
Share this answer
 
This tip/trick might be applicable:

Multiple Subsequent "Main" Forms in C# Apps[^]

Of course, you have to actually create a file and a main method in VB, but the same idea should be applicable.
 
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