I'm using the following code to set my global Database and Workspace variables, however when run it tells me that my password is invalid. However that password IS the correct password. Does anyone see what I'm doing wrong here?
I set the database password through the plain single password lock. There is no user-level security in place.
Public Sub SetupDatabase()
On Error GoTo Err_SetupDatabase
Dim sDbName As String
sDbName = "C:\Windows\Desktop\MLV30D~1.MDB"
'Define global Workspace and Database objects to work
'with MachineLink v3.0 Data.mdb
Set ws = DBEngine.Workspaces(0)
Set db = ws.OpenDatabase(sDbName, False, False, "MSAccess;PWD=Timeless"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Exit_SetupDatabase:
Exit Sub
Err_SetupDatabase:
LogError "SetupDatabase()"
End Sub
I set the database password through the plain single password lock. There is no user-level security in place.
Public Sub SetupDatabase()
On Error GoTo Err_SetupDatabase
Dim sDbName As String
sDbName = "C:\Windows\Desktop\MLV30D~1.MDB"
'Define global Workspace and Database objects to work
'with MachineLink v3.0 Data.mdb
Set ws = DBEngine.Workspaces(0)
Set db = ws.OpenDatabase(sDbName, False, False, "MSAccess;PWD=Timeless"
Exit_SetupDatabase:
Exit Sub
Err_SetupDatabase:
LogError "SetupDatabase()"
End Sub