|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
latency when loading formsHi 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 iwdu15 wrote:
> try loading the form when you load your main form, but have its opacity at 0, You don't even need to do the opacity thing.> then when u want to show it, just change the opacity to 1 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 Thanks chris, so how to make a loading screen while I doing this?
Show quoteHide quote "Chris" <no@spam.com> ¼¶¼g©ó¶l¥ó·s»D:enIFFWZRGHA.1***@TK2MSFTNGP11.phx.gbl... > iwdu15 wrote: >> 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 wrote:
Show quoteHide quote > 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 > > > "Chris" <no@spam.com> ¼¶¼g©ó¶l¥ó·s»D:enIFFWZRGHA.1***@TK2MSFTNGP11.phx.gbl... > >>iwdu15 wrote: >> >>>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 >> > > > of doing it if you are using 2005 or 2003 Chris Windy,
Can you show us some code, because depending of course of the computer and the load on that, should it come direct. Cor Show quoteHide quote <Windy> schreef in bericht news:uwkZ61SRGHA.792@TK2MSFTNGP10.phx.gbl... > 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 >
[VB.NET] How to store/load XML schema internally...
Passing values bewteen user controls is separate web forms datagridview combo box Best way to implement 2 controls on one window Coding a TimeSpan Newbee ASP.NET Questions Write to an existing ASCII file Best way to output form information Best value Help file builder Can't Change Installation Drive for new install of Visual Studio Professional 2005 |
|||||||||||||||||||||||