Hi, i need to open one Microsoft Access Database that is password protected, and after open i need to close my vb.net app and let access open. Until now the only thing i get that do what i need is:
But the problem is that after i run the code i need to close my VB.net app, and wend i close VB.net app access will close as well. Is there any other idea how cold i accomplish this??
VB.NET:
appDatabase = New Access.Application Dim MDBFullPath As String = "c:\x1.mdb"
appDatabase = New Access.Application()
appDatabase.OpenCurrentDatabase(MDBFullPath, False, "12345")
appDatabase.Visible = True
'Me.Close()
But the problem is that after i run the code i need to close my VB.net app, and wend i close VB.net app access will close as well. Is there any other idea how cold i accomplish this??