PDA

Click to See Complete Forum and Search --> : Splash Screen Delay


nvileka
Dec 31st, 1999, 03:21 AM
Splash Screen takes lot of time to load. Infact the idea of splash screen was to tell the user to wait till the application loads. Right now my app takes about a minute to load (since it has to read a database file). Can anyone tell how to speed up loading of the splash screen.

Dayo312
Dec 31st, 1999, 04:45 AM
make a form.. For a splash screen.
Then refresh the form before anything
else is done.
If you want you could have that form
tell what the program is doing.
But with visual basic, you must
refresh the form durring when the
computer is loading the program.

Does that help at all?

nvileka
Jan 3rd, 2000, 04:28 AM
Will try to do that..
thanx for ur help
neelesh

Tonio169
Jan 3rd, 2000, 11:41 AM
place this code on your splash screen's load event:

Private Form_Load()
Show
<place additional code for splash screen>
End Sub

the idea here is that you want your splash screen's form to show up before anything else. so you must fix your splash screeen on design time not on runtime.

Crazy D
Jan 3rd, 2000, 03:29 PM
But if the program takes up a minute to load... are you sure you have to load the database when the program starts? A minute is pretty long you know...

nvileka
Jan 3rd, 2000, 10:09 PM
Yeah, it takes a min. 2 load...this is bcos I have 2 read Database & populate the listbox...This has to b done when I show the form...hence the delay...
thanx
neelesh