|
| |
|
|
accessman
Posts: 74 Joined: 9/13/2005 Status: offline
|
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?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|