Slow WinForm 1st launch

G

Guest

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
 
L

Lloyd Dupont

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.
 
L

Lloyd Dupont

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.....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top