7,763
社区成员
发帖
与我相关
我的任务
分享
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Private Declare Function ShellExecute Lib "shell32" _
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
Dim aa$
Private Sub DataGrid1_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
aa = Adodc1.Recordset.Fields(3)
End Sub
Private Sub Command1_Click()
ShellExecute GetDesktopWindow ,"open",aa,0,0,1
End Sub