从vb.net应用程序启动EXE文件会出错。 [英] Starting EXE file from vb.net application gives error.

查看:71
本文介绍了从vb.net应用程序启动EXE文件会出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有vb.net应用程序从中我想启动程序说winkbmgr.exe ....

这在我的开发PC中运行良好但是当我在其他PC上安装它时,下面的行给我错误...

System.Diagnostics.Process.Start(C:\ism\winkbmgr.exe)



any1可以帮我解决问题吗?

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?

推荐答案

您可能缺少对
引用:

System.Diagnostics.Process.Start

System.Diagnostics.Process.Start

。可能存在部署选项以包含部署构建的参考库。

on the other machines. There may be a deployment option to include reference libraries with your deployment build.


这篇关于从vb.net应用程序启动EXE文件会出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆