latency when loading forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I had create my own new Form. however, when ever i call the showdialog
i take 2-3s to load for the first time only.

anyway sample code to performance the things as below:
i.e. preload the forms once? create a loading screen when loading? ..

also any tips to tune the time performance when loading form the first time?

Thanks a lot.
Windy
 
try loading the form when you load your main form, but have its opacity at 0,
then when u want to show it, just change the opacity to 1
 
iwdu15 said:
try loading the form when you load your main form, but have its opacity at 0,
then when u want to show it, just change the opacity to 1

You don't even need to do the opacity thing.

Load the form but don't show it....

Dim F as new Form

That is the part that takes time. Then do
F.Show to show it
 
Windy,

Can you show us some code, because depending of course of the computer and
the load on that, should it come direct.

Cor
 
Windy said:
Thanks chris, so how to make a loading screen while I doing this?

do a search online for "splash screen vb.net". There are different ways
of doing it if you are using 2005 or 2003

Chris
 
Back
Top