G
Guest
Hi
In my app I have a SplashScreen, a login form and a main form. On launching
the app, I'd like to show the SplashScreen while reading config files and
attempting a database connection. I show progress of these tasks on a label
on the SplashScreen form.
Once this is completed ok, the splash screen should close and the login form
should be displayed. A successful login closes that form and shows the main
form.
I've been trying to get this working using the ApplicationEvents class, but
the problem I'm getting is that the SplashScreen does not close and the login
form appears behind the SplashScreen.
What could be going wrong here? Is this because the SplashScreen does not
get closed automatically until the main form has shown?
I was hoping to get it working this way, but will go back to the old Sub
Main method if not
thanks
Richard
In my app I have a SplashScreen, a login form and a main form. On launching
the app, I'd like to show the SplashScreen while reading config files and
attempting a database connection. I show progress of these tasks on a label
on the SplashScreen form.
Once this is completed ok, the splash screen should close and the login form
should be displayed. A successful login closes that form and shows the main
form.
I've been trying to get this working using the ApplicationEvents class, but
the problem I'm getting is that the SplashScreen does not close and the login
form appears behind the SplashScreen.
What could be going wrong here? Is this because the SplashScreen does not
get closed automatically until the main form has shown?
I was hoping to get it working this way, but will go back to the old Sub
Main method if not
thanks
Richard