Active X component can not create object

E

EZDave

Hi,

I have a problem using a template in Word2k (SR1) that was created in Word
97. The macro retrieves and stores text into a mdb database (MS Access 97).

When I step through the macro, the error...

Run-time error '429'
ActiveX component can't create object.

....occurs at the line with this statement:

Set Dbase = OpenDatabase(dbFile)

-
In the Declarations section, Dbase and dbFile are declared as follows:

Public Dbase as Database
Public Const dbFile = "drive:\path\file.mdb"


In the references section, both Microsoft DAO 3.51 Object Library and
DirectX 7 for Visual Basic Type Library are selected. The platform is MS
Windows 2000 SP3.


Does anyone know why the error may occur and what I could do to solve it?


Best regards,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top