Form load time

  • Thread starter Thread starter Paolo
  • Start date Start date
P

Paolo

Hi, I have a complex form with many controls that work very fine, but, it's
very slow to load (about 6 seconds).
Any idea to cut the load time ? Thank.
 
* "Paolo said:
Hi, I have a complex form with many controls that work very fine, but, it's
very slow to load (about 6 seconds).
Any idea to cut the load time ?

Reduce the # of controls... ;-).
 
using the ngen tool will speed up load time.

Another method perhaps would be to use threading, using a dialog to display
a please wait or loading message.

--


Br,
Mark Broadbent
mcdba , mcse+i
=============
 
During the load of the form, do you do other lengthy operation as well ?
If you do, consider offload those operation to a different thread.

Another piece of advice, it is generally to overwhelm user with too much
info in one screen. Maybe you should consider to refactor your UI and
move those less used info to a different form. This will reduce the load
time of your main form. Not sure whether this is applicable to your
situation.
 
Back
Top