controlling splash screen form

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

Hi All

I want to display a splash screen when my windows application loads, to show
sql server connection progress etc.

First though I want to run some code to check for a valid program licence.
If not found then the program would close

How is the best way to do this

If I set the splash screen in the project properties and run my licence code
in the Application.startup sub the splash screen hogs the screen if any
messageboxes are raised by the licence checking code

How can I control when the splash screen displays, as it would be better if
it didn't display until the licence check was satisfactory


Regards
Steve
 
steve,

*I* would in your case use two forms, one for my licensing and one for the
splashscreen when loading.

The first will than be openend with a showdialog and the other with a normal
show while that is open as long as a while loop is busy.

There are others who will tell to use threading for that, I would go if that
is needed for optimizing the retrieval of the data.

I hope this gives an idea.

Cor
 
Back
Top