01-08-2004, 01:27 AM
I'm trying to learn how to do database programming. I found an example for what I was trying to do. When I tried it I got the message. "ActiveX component can't create object"

This is what I tried

dim dbMyDB as database
set dbMyDB = OpenDatabase("MyDatabase.mdb")

It hung up at the OpenDatabase line

Thanks for your help.

01-08-2004, 02:00 AM
you need to reference the Access Object I believe.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum