Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
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 29-Jan-13 23:04pm
Comments
CHill60 at 30-Jan-13 5:22am
   
Can you post the code and the full error
Logi Guna at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Rachna0309 at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid