Article ID: 181961
Article Last Modified on 1/22/2007
Set Workspace = DBEngine.CreateWorkspace(name, user, password, type)
Public Sub TestWorkspace()
Dim wrkAdmin As Workspace
Dim dbs As Database
'Create a new workspace and assign it to the database administrator.
Set wrkAdmin = CreateWorkspace("AdminWorkspace", "Admin", "test", _
dbUseJet)
'Be sure to change the path in this next line to match your path to
'Northwind.mdb on your computer.
Set dbs = wrkAdmin.OpenDatabase("C:\Northwind.mdb", False)
'Close the session.
wrkAdmin.Close
End Sub
Additional query words: pra errors err run time error 3028 can t start your application
Keywords: kberrmsg kbprb KB181961