shell相对路径怎么表示
比如我想打开IE
但是我不知道系统在那个盘符下面
[解决办法]
VB内置的好, shell "cmd /C start URL " ,vbhide
把URL换成你的网址就行了
[解决办法]
Public Declare Function ShellExecute Lib "shell32.dll " Alias "ShellExecuteA " (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
'打开Outlook
ShellExecute Me.hwnd, "open ", "mailto:aaa@163.com?subject=帮助 ", " ", " ", vbNormalFocus
'打开IE
ShellExecute Me.hwnd, "open ", "www.google.com ", " ", " ", vbNormalFocus