Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ADO

Status
Not open for further replies.

minckle

Programmer
Mar 17, 2004
142
0
0
GB
I've got MS Access 2003 installd on my computer

i get an error when running the following code

Code:

Public Sub test()
Set a = New ADODB.Connection
End Sub

Error msg:
Runtime Error '429': ActiveX component can't create object

Any 1 got any ideas???

Not sure if this helps - under references i have 'Microsoft ActiveX Data Objects 2.8 Library' ticked
 
Either
Dim a as adodb.connection
Set a = New ADODB.Connection
OR
Dim a as New adodb.connection

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top