J
John Wright
During my program startup I need to check for a couple of things.
1. I need to check for network availability
2. I need to check for database connectivity
3. I need to check for access to the server via a webservice
I have written the code to do all of these things. Now I want to put them
into a startup form. I want to load my main form, but from the main form I
want to call a splash screen with an animation on it that will cycle through
all the above events. This will let the user know there is action going on.
Also, if the network or database connection fails, I want to prevent them
from using the program or store the files locally. If the server cannot be
accessed, I will write the data to the database then process later. Again
the code for these actions are done. What I need is a really good way of
showing a splash screen, update a label on the splash screen while checking
for these items, then close the splash screen.
I can load the splash screen as follows
Dim mySplash as new splashScreen
mySplash.Show
This will show the screen, but I need suggestions to update the label on the
screen while checking for the items above. Anyone have a good idea or can
point me to an article on a good way to use a splash screen?
Thanks.
John
1. I need to check for network availability
2. I need to check for database connectivity
3. I need to check for access to the server via a webservice
I have written the code to do all of these things. Now I want to put them
into a startup form. I want to load my main form, but from the main form I
want to call a splash screen with an animation on it that will cycle through
all the above events. This will let the user know there is action going on.
Also, if the network or database connection fails, I want to prevent them
from using the program or store the files locally. If the server cannot be
accessed, I will write the data to the database then process later. Again
the code for these actions are done. What I need is a really good way of
showing a splash screen, update a label on the splash screen while checking
for these items, then close the splash screen.
I can load the splash screen as follows
Dim mySplash as new splashScreen
mySplash.Show
This will show the screen, but I need suggestions to update the label on the
screen while checking for the items above. Anyone have a good idea or can
point me to an article on a good way to use a splash screen?
Thanks.
John