VB程序调用控件
VB程序想实现以下功能,点击一个按钮,自动跳转到指定的服务器,应该调用哪个控件
[解决办法]
Private 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
Private Sub Command5_Click()
Dim strPath As String
strPath = "\\192.168.11.6\运营支持部备份文件夹"
ShellExecute 0, "open", strPath, "", App.Path, 5
End Sub