By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,912 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

VB.NET Executable - Slow in Response

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


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

Eric

"Senthil" <Se***************@yahoo.co.uk> wrote in message
news:01****************************@phx.gbl...
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

Nov 20 '05 #2

P: n/a
"Senthil" <Se***************@yahoo.co.uk> scripsit:
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.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
"Senthil" <Se***************@yahoo.co.uk> wrote in news:012901c38dae
$1****************@phx.gbl:
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
Nov 20 '05 #4

P: n/a

"Senthil" <Se***************@yahoo.co.uk> wrote in message
news:01****************************@phx.gbl...
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
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.