استبدل كودك السابق بهذا :
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 opendata_Click()
ShellExecute Me.hwnd, "open", CurrentProject.Path & "\" & "aa.mdb", "", "", 1
End Sub
ومرفق التطبيق
فتح قاعدة من اخرى.rar