By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,334 Members | 2,746 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,334 IT Pros & Developers. It's quick & easy.

VB2005 : Help Making Splash Screen To Load Reference

P: 29
hi

i have trouble on vb2005 first time load,
it's really slow.
but after i have open it,the form become quick.

is there any way to load all on splashscreen.

i have a look at vb2005 splashscreen example.but it don't have anything change
on the performance.

i want to make like ,Adobe Photoshop Loading Screen.so it slow at first open,but quick after that



thx

sory bad english >.<
Jan 28 '08 #1
Share this Question
Share on Google+
6 Replies


Expert 5K+
P: 8,434
Generally speaking, the idea of a splash screen is to load as little as possible, so you get something onto the screen as quickly as possible. That way, though your application may take just as long (or even slightly longer) to load, it seems quicker to the user.

Your splash screen should contain very little code. It should just come up on the screen, ensure that it's visible, then call another routine somewhere else which does all the work. If you're trying to load everything from your splash screen, then it may take a long time to load in all the referenced objects/modules/whatever so that it can start calling them.
Jan 28 '08 #2

P: 29
Generally speaking, the idea of a splash screen is to load as little as possible, so you get something onto the screen as quickly as possible. That way, though your application may take just as long (or even slightly longer) to load, it seems quicker to the user.

Your splash screen should contain very little code. It should just come up on the screen, ensure that it's visible, then call another routine somewhere else which does all the work. If you're trying to load everything from your splash screen, then it may take a long time to load in all the referenced objects/modules/whatever so that it can start calling them.
i understand.
my problem is the loading slow because i have many controls

i don't know how to load this control on background first
so if i open my form the control is already loaded.
Jan 28 '08 #3

Expert 5K+
P: 8,434
I'm not familiar with VB2005, but in VB6 you can simply Load the form, which basically does everything except make it visible.
Jan 28 '08 #4

Ali Rizwan
100+
P: 927
If that loading is fake then this is not the good idea for proffesional approach to waste time.
But if you want to just show a splash screen in which you just give credits which apears for a second and then disappear.

Add a form set its border style to none or add a splash screen form.
Place your objects or contents there and then add a timer set some interval to it and right this code in timer:

Expand|Select|Wrap|Line Numbers
  1. Me.Hide
  2. Form1.Show
Now splash screen appears for the time you have set and then disappears opening the form1.

For some graphical screens and goodlooking apps or some further help you can mail me or contact me using Yahoo messenger.You can find my email from my profile(clicking my avatar or name).

Regards
>> ALI <<
Jan 29 '08 #5

Expert 5K+
P: 8,434
If that loading is fake then this is not the good idea for proffesional approach to waste time.
But if you want to just show a splash screen in which you just give credits which apears for a second and then disappear.
What do you mean by "fake"? The specific purpose of a splash screen is to "entertain" the user while the application loads, thus improving the perception of performance. (Although, a bit like screensavers, they do seem to have outgrown their original purpose). This is rarely a waste of time, though in fact it can slightly increase the loading time. It's one of the basics of user interface design - get something visible happening ASAP to reduce the percieved delay.

Why do you think Windows shows that animated bar at the bottom at startup, for example? If the screen just sat there and apparently did nothing for 20-30 seconds, MS would have to employ another thousand people just to answer phones and say "it's supposed to do that".
Jan 29 '08 #6

P: 29
so the function of splash screen just to show some animation before the form load. then is there any way to load form on background,or i must use thread?


i am confused how to increase load performance my vb application.
cause i am use several component and it take my memory resource about 70mb++.

on vb6 i can hide it by make the form visible a while, then after everything load,i show it
but on vb2005 the form redraw every time i call show ,so it become slow.


thx
Jan 30 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.