Dim strAPP As String
Dim strSecuredFileName As String
Dim strAppFileName As String
Dim AccApp As New Access.Application
Dim AccPath As String
AccPath = AccApp.SysCmd(acSysCmdAccessDir)
Set AccApp = Nothing
strAppFileName = App.Path & "\test.mde" & """UNTIME"
strAPP = """" & AccPath & "\msaccess.exe"" """ & _
strAppFileName
Shell strAPP, 3
If Err <> 0 Then
MsgBox Err.Description
End If
End Sub[attach]24104[/attach] 作者: linag516 时间: 2008-6-11 13:49
[:31]