HighTechTalks DotNet Forums  

Application startup time too long

VB.net microsoft.public.dotnet.languages.vb


Discuss Application startup time too long in the VB.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
John
 
Posts: n/a

Default Application startup time too long - 05-13-2010 , 04:30 PM






Hi

I had a winform db app in fw 1.1 which loaded pretty quickly. I have
rewritten same app in fw 3.65 but it takes a long time to load. The splash
screen comes quick but then it stays there for ever before the main form is
loaded. How can I improve the start-up? The app uses application framework.

Thanks

Regards

Reply With Quote
  #2  
Old   
Family Tree Mike
 
Posts: n/a

Default Re: Application startup time too long - 05-13-2010 , 04:52 PM






On 5/13/2010 5:30 PM, John wrote:
Quote:
Hi

I had a winform db app in fw 1.1 which loaded pretty quickly. I have
rewritten same app in fw 3.65 but it takes a long time to load. The splash
screen comes quick but then it stays there for ever before the main form is
loaded. How can I improve the start-up? The app uses application framework.

Thanks

Regards


It's impossible to tell you how to improve something if you don't show
any code. I presume you mean .net 3.5 (there is no 3.65). What did you
rewrite when you went from 1.1 to 3.5?

--
Mike

Reply With Quote
  #3  
Old   
Mr. Arnold
 
Posts: n/a

Default Re: Application startup time too long - 05-13-2010 , 05:33 PM



John wrote:
Quote:
Hi

I had a winform db app in fw 1.1 which loaded pretty quickly. I have
rewritten same app in fw 3.65 but it takes a long time to load. The splash
screen comes quick but then it stays there for ever before the main form is
loaded. How can I improve the start-up? The app uses application framework.

Thanks

Regards


Maybe NGen will help you and other information in the link. Also if
you're accessing a database, then may be you need to spawn a child
thread to do it while the main thread continues to load the form to be
shown.

http://msdn.microsoft.com/en-us/magazine/cc163655.aspx

Reply With Quote
  #4  
Old   
Michel Posseth [MCP]
 
Posts: n/a

Default Re: Application startup time too long - 05-14-2010 , 01:33 AM



Hello John ,

It is verry hard to tell what is wrong in the design of your program without
seeing anny code or a detailed description inclusive the vents they are
occuring of the code

To give you some ideas , i support a program ( i did not designed it :-) )
that Loads a list of RFC`s ( Requests For Change ) on our production
system
the program works fine however the past 2 years the it department of four
programmers , have had not enough time to process these requests .

When the program starts it shows a list of all open RFC`s as we have 85
users who submit there requests on a regular basis i noticed recently that
this app becomes
slower and slower on startup , i know excatly what is happening and i know
there are 2 ways to solve it .

1. we should process the RFC`s wich solves the problems the users are
encountering and wil also make the app faster and faster on startup
2. i should submit a RFC on the RFC program :-) , and spawn a new thread
for loading the data ,and / or redesign the gui so the prog starts empty
and you should first make a status selection


This program is upgraded from .Net framework 2.0 to 3.5 and it will be
upgrades soon to 4.0 there is a big chance that one of my users will submit
a complaint about this program that it has become "slow" since it was
upgraded :-( , however this tells me that the user only looked at the
program a long time ago when the RFC list was not so large as it is now :-)
..


Hope to have given you some alternative ideas

Michel



"John" <info (AT) nospam (DOT) infovis.co.uk> schreef in bericht
news:u5lPIOu8KHA.6040 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
Quote:
Hi

I had a winform db app in fw 1.1 which loaded pretty quickly. I have
rewritten same app in fw 3.65 but it takes a long time to load. The splash
screen comes quick but then it stays there for ever before the main form
is loaded. How can I improve the start-up? The app uses application
framework.

Thanks

Regards

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.