PC Review


Reply
Thread Tools Rate Thread

Application startup time too long

 
 
John
Guest
Posts: n/a
 
      13th May 2010
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
 
 
 
 
Family Tree Mike
Guest
Posts: n/a
 
      13th May 2010
On 5/13/2010 5:30 PM, John wrote:
> 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
 
Mr. Arnold
Guest
Posts: n/a
 
      13th May 2010
John wrote:
> 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
 
Michel Posseth [MCP]
Guest
Posts: n/a
 
      14th May 2010
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" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> 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
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
Application startup time too long John Microsoft Dot NET Framework 3 14th May 2010 07:33 AM
Application startup time too long John Microsoft ADO .NET 3 14th May 2010 07:33 AM
Application takes a long time to open a dialog after some time nagar@community.nospam Microsoft C# .NET 10 23rd Mar 2007 10:32 AM
Very long startup time's when a application is started by explorer Eduard Witteveen Windows XP Performance 0 19th Aug 2005 10:39 AM
Long startup time troy Windows XP General 1 18th Jan 2005 04:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:12 PM.