以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]执行外部程序文件问题  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=172295)

--  作者:wusim
--  发布时间:2021/10/7 9:10:00
--  [求助]执行外部程序文件问题
Dim Proc As New Process
Proc.File = ProjectPath & "OfficeWiz 4.1\\OfficeWiz 4.1.exe" \'指定要执行的文件
Proc.Start()


图片点击可在新窗口打开查看
怎样解决

--  作者:有点蓝
--  发布时间:2021/10/7 10:16:00
--  
Dim Proc As New Process \'定义一个新的Process
proc.StartInfo.FileName = ProjectPath & "OfficeWiz 4.1\\OfficeWiz 4.1.exe" 
proc.StartInfo.WorkingDirectory = ProjectPath & "OfficeWiz 4.1\\" \'指定工作目录
Proc.Start()