View Single Post
  #1 (permalink)  
Old October 28th, 2007, 10:38 PM
jklanka jklanka is offline
Registered User
 
Join Date: Oct 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Open a C# application while window starts

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

Reply With Quote