PC Review


Reply
Thread Tools Rate Thread

Load framework first time

 
 
Gene Vangampelaere
Guest
Posts: n/a
 
      22nd Feb 2005
I've created an application in VB.NET. The application works fine but when
you start it the first time it takes a long time (5-10seconds) to load (I
think that the framework is beeing loaded at that time???).

How can I decrease the 'load' time ?


Gene


 
Reply With Quote
 
 
 
 
Richard Blewett [DevelopMentor]
Guest
Posts: n/a
 
      22nd Feb 2005
Is this a WIndows Forms application?

You *may* get some mileage from running NGEN.EXE on the application to create a native image (sometimes alot of code has to JIT at the start of GUI applications).

Why don't you put some instrumentation into your app just to make sure what is taking the time - it may be you're accessing stuff over the network/etc and the best thing to do would be to display a splash screen as the main form loads. Other things you can do is delay create your controls on busy forms with multiple tabs so they only create when the appropriate tab is shown

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

I've created an application in VB.NET. The application works fine but when
you start it the first time it takes a long time (5-10seconds) to load (I
think that the framework is beeing loaded at that time???).

How can I decrease the 'load' time ?


Gene

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3.5 Framework - asp.net client side framework failed to load Rachel Microsoft ASP .NET 1 11th Dec 2007 12:29 AM
Debugging .NET Framework and MS Visual Studio Managed Classes at Run time and Design time Yahoo Microsoft C# .NET 0 5th Aug 2005 03:00 AM
beginning page load immediately on postback with a long load time ? Mad Scientist Jr Microsoft ASP .NET 7 30th Jun 2004 09:40 PM
Framework 1.1 on XP Client won't load Framework 1.0 Programs from App.Server =?Utf-8?B?SGVpa28=?= Microsoft Dot NET Framework 5 23rd Jan 2004 10:39 AM
Framework 1.1 on XP Client won't load Framework 1.0 Programs from App.Server =?Utf-8?B?SGVpa28=?= Windows XP General 2 23rd Jan 2004 04:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 PM.