|
accessman -> Cannot create object (7/25/2006 17:20:18)
|
Dim dbPathName As String dbPathName = "p:\db1.mdb" Dim strPassword As String Dim Acc As Object, db As Object Set Acc = CreateObject("access.application") Set db = Acc.Application.DBEngine.Workspaces(0).OpenDatabas e(dbPathName, 0, False) Acc.OpenCurrentDatabase dbPathName, False When I run the above code, it give out the error message: Run-time Error '429' ActiveX component can't create object. Library is DAO 3.6, I already applied it to Reference. what's wrong with it?
|
|
|
|