Load a form

G

Guest

Hello,

I have created an application in vb.net. I want to show a chaild
form on main mdi form. Since form contains many controls it is taking too
long to get displayed completely and it also flickers. I have tried
SuspendLayout and Resume Layout methods, but was not helpful.
Can I load this form in memory and then show it(using form.show
method) so that it will be displayed in lesser time? Will it help me? How can
I load the form in memory without displaying it?

Pls. reply soon.
Thanks in advance.
--RbanBph
 
P

Phil Wright

Delaying the .Show of the Form will not prevent the time delay because the
pause is caused by the JIT compilation of the code associated with the
numerous controls on the Form. So when it is shown it will have the delay.
You can always use the ngen.exe utility to make sure your application and
any third party libraries are precompiled.

Phil Wright
Follow my new microISV at...
http://componentfactory.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top