From: John on
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


From: Family Tree Mike on
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
From: Mr. Arnold on
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
From: Michel Posseth [MCP] on
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(a)nospam.infovis.co.uk> schreef in bericht
news:u5lPIOu8KHA.6040(a)TK2MSFTNGP05.phx.gbl...
> 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
>