level 1
咋去去啊在
楼主
------------------------------------程序如下-------------------------------------
Sub 运行程序(程序路径)
Dim P, I, DirPath, ExeName
P = Split(程序路径, "\")
For I = 0 To UBound(P) - 1
DirPath = DirPath & P(I) & "\"
Next
ExeName = P(UBound(P))
ShellExecute GetDesktopWindow, "open", ExeName, vbNullString, DirPath, 5
//
End Sub
--------------------------------我是分割线--------------------------------------
运行完只是弹出程序打开的确认框,还要点一下才行,我想直接打开,怎么改呀
2021年03月12日 08点03分
1
Sub 运行程序(程序路径)
Dim P, I, DirPath, ExeName
P = Split(程序路径, "\")
For I = 0 To UBound(P) - 1
DirPath = DirPath & P(I) & "\"
Next
ExeName = P(UBound(P))
ShellExecute GetDesktopWindow, "open", ExeName, vbNullString, DirPath, 5
//
End Sub
--------------------------------我是分割线--------------------------------------
运行完只是弹出程序打开的确认框,还要点一下才行,我想直接打开,怎么改呀