Click here to Skip to main content
12,504,695 members (52,716 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB 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 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

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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100