controlling splash screen form

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
 
C

Cor Ligthert [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top