VB.NET Executable - Slow in Response

S

Senthil

Dear All,
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

Some help is much appreciated.

Thanks & Regards,
Senthil
 
E

Eric Sabine

What references have you made to external dlls? Anything out of the
ordinary? The dlls for Acrobat 6 are major loading-performance killers.

Eric
 
H

Herfried K. Wagner [MVP]

Senthil said:
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

You may want to have a look at the documentation of "ngen.exe". This
tool will compile the executable to native code on the destination
machine and will increase start-up performance.
 
C

Chris Dunaway

The executable takes considerable amount of time (more than a minute) to
bring up the initial screen itself.

At one time, there was a bug in that if you didn't have a user account
called ASPNET on the system, that it would start slowly.

Try adding an ASPNET user account (disable it if you wish) and see if that
improves things.

Can anyone else comment?

Chris
 
T

Tom Shelton

Senthil said:
Dear All,
I developed an application using VB.NET and built the
final executable. Iam using visual studio .net on Windows
NT and .net framework version is 1.0. The executable takes
considerable amount of time (more than a minute) to bring
up the initial screen itself. Iam not doing any
background processing before loading the screen. Whenever
I run the executable this is happening. Can anyone please
suggest some ways to improve the response time. It is a
windows application. The performance of the initial load
is very bad at the moment. Also, is there
an option to compile to native code so that the exe runs
fast enough?.

Some help is much appreciated.

Thanks & Regards,
Senthil

Sounds like the ASP.NET user account bug... You may want to do as Chris
suggested, and try creating a ASP.NET user account on the machine and see what
happens. I'm not sure if this was fixed in a later, release - but if you
haven't applied the 1.0 service packs, this might be a good time to do it :)

Tom Shelton
 

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