jklanka Posted October 28, 2007 Posted October 28, 2007 I need to run a C# .NET 2 application (itvC.exe) while starting Windows. I have added the exe file to startup menu. Then the application is running but very slow and it looks like hanging. Also I tried the same making a batch file like below dim objshell Set objshell=CreateObject ("Wscript.Shell") objshell.run "c:\bin\Debug\ItvC.exe" But I am getting the same result Also I made C# application to run the needed application itvC.exe using the command System.Diagnostics.Process.Start But in all the way if I run my application its running slowly. But if I double click the application and run then it works fine. I need some one help to sort this please Thanks Quote
Administrators PlausiblyDamp Posted October 28, 2007 Administrators Posted October 28, 2007 Is the application running fine after a while or does it stay slow until it is closed and reopened? Be aware that when windows is launching all the background services are starting as well as any other applications configured to run on start up - this will cause a lot of disk / memory IO and will cause the system to appear slow. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jklanka Posted October 29, 2007 Author Posted October 29, 2007 it's staying slow until it got closed if i start the application via startup or via this small starup application. but if i double click over the itvc.exe icon it';s working fine. it's having lot of dll's and ocx since it's a multimedia based c# application which uses lot of dll;s for music player ,tv player ,flash player etc., and database access from sql server which is in remote location. is thr anyway we could achieve the startup application to run with normal speed . Quote
Administrators PlausiblyDamp Posted October 29, 2007 Administrators Posted October 29, 2007 The problem could well be down to one of the dll / ocx components you are using. However finding and fixing the problem could be far more complex as it is very tricky to spot problems during system startup. http://www.sysinternals.com has a couple of free monitoring tools that might help (Filemon and Regmon) as these could highlight any failures or oddities that occur during system startup. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.