|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
controlling splash screen formI 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 Show quoteHide quote "steve" <ga630sf@newsgroups.nospam> schreef in bericht news:uG1V$K%23qGHA.1552@TK2MSFTNGP02.phx.gbl... > 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 >
array element isexist ?
disabling checkbox in checkedlistbox ComboBox SelectionChangeCommitted event fires twice Datagrids (again) How much disk space is needed... Deriving from Abstract Classes with Enums and Varying Object Types .Net and 32 processors System.OverflowException during IPostBackDataHandler.LoadPostData VB6 to VB.NET Holding down keys II |
|||||||||||||||||||||||