Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have vb.net application from which I want to start a program say winkbmgr.exe....
This runs well in my development PC but when I install it in others PC ,the below line gives me error...
"System.Diagnostics.Process.Start("C:\ism\winkbmgr.exe")"

Can any1 help me to resolve the prob?
Posted
Comments
CHill60 30-Jan-13 5:22am    
Can you post the code and the full error
Logi Guna 30-Jan-13 7:38am    
Make sure "C:\ism\winkbmgr.exe" exist before starting process
If System.IO.File.Exist("C:\ism\winkbmgr.exe") Then
' Start process here ...
System.Diagnostics.Process.Start("C:\ism\winkbmgr.exe")
End If

1 solution

You may be missing a reference to
Quote:
System.Diagnostics.Process.Start
on the other machines. There may be a deployment option to include reference libraries with your deployment build.
 
Share this answer
 
Comments
Rachna0309 1-Feb-13 2:12am    
How to add this reference??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900