October 5th, 2003, 12:06 PM
I want to make window appear until the application be loaded
how can i do it ?using VB.NET
October 5th, 2003, 10:59 PM
show the splash screen. load the main form in the splash screen's activate even. then show the main and unload the splash screen.
October 6th, 2003, 04:57 AM
What is the Splash screen and how can i create it
October 6th, 2003, 03:39 PM
Splash screen is the screen that you want to show while your program is loading!!
October 6th, 2003, 03:42 PM
October 7th, 2003, 02:05 AM
It depends on what you want to show, it is a regu;ar form with your specific design. Do what nopoints advised to show and hide the splash screen as you need.
October 7th, 2003, 10:52 AM
To create a splash screen while you do other loading events, the easiest way is to create a new Form subclass.
To get the "splash screen" look, just make the FormBorderStyle = FormBorderStyle.None, and set the BackgroundImage to something pretty (and then set the Form Size to the BackgroundImage's Size). Maybe even throw in a Label with its BackColor set to Transparent and set it public so you can change it as you proceed through your tasks.
To load the Splash screen, in the method where you are coordinating your application loading, towards the beginning create an instance of the Form and run the .Show() method. Then, when you are almost ready to launch into your main application (through Application.Run, or whatever), run .Close() on the Splash screen form.
October 7th, 2003, 11:03 AM
thank you man
i did all the things you saied
i create a form and make pretty background
nad when the application start(MyBASE.load) i open the form
for 20 seconds
but i don't want to use the timer i want to make this screen showen until the application loaded
October 7th, 2003, 01:10 PM
just LOAD the form. When it have finish loading the form then you show it ! not before.
you just line it up.
show spash screen
load frmpatatipatata as frmSomething
something +- like that ! just that you do it line by line, that's what the code should do then.