I've got a simple winform app written in C# that takes almost 5 seconds to
start after a reboot. The from was previously written in VB 6 and took less
then 1 second to start. I've tried NGEN but it didn't seem to make a
difference. Has anyone been able to solve the slow first launch problem?
Thanks

Re: Slow WinForm 1st launch by Lloyd

Lloyd
Fri Aug 12 18:53:20 CDT 2005

class MyClass
{
static void Main()
{
Application.Show(new Form());
}
}

takes 1/2 second for me. I will conclude there is a problem with your code.

--
If you're in a war, instead of throwing a hand grenade at the enemy, throw
one of those small pumpkins. Maybe it'll make everyone think how stupid war
is, and while they are thinking, you can throw a real grenade at them.
Jack Handey.
"chewie" <chewie@discussions.microsoft.com> wrote in message
news:0D948BE5-7D07-4F67-A859-0DE8B7F8CBB2@microsoft.com...
> I've got a simple winform app written in C# that takes almost 5 seconds to
> start after a reboot. The from was previously written in VB 6 and took
> less
> then 1 second to start. I've tried NGEN but it didn't seem to make a
> difference. Has anyone been able to solve the slow first launch problem?
> Thanks



Re: Slow WinForm 1st launch by Lloyd

Lloyd
Fri Aug 12 20:20:05 CDT 2005

> I've got a simple winform app written in C# that takes almost 5 seconds to
> start after a reboot.

after I reboot, application launched just immediately after I logged in
start OK, but those launch, say, 2 seconds after I logged-in, takes forever
.... and about 1 or 2 minutes after that, they all suddenly appears.

Maybe it's juts this kind of mysterious window bug.....

> The from was previously written in VB 6 and took less
> then 1 second to start. I've tried NGEN but it didn't seem to make a
> difference. Has anyone been able to solve the slow first launch problem?
> Thanks