PDA

Click to See Complete Forum and Search --> : Errors when trying to create an object


daemon
Jun 24th, 1999, 03:40 AM
I keep getting 'Run-time error 429: ActiveX component can't create object'.

I have tried different things but I cannot get anywhere at all. It doesn't even let me open a database.

In the help file it says it might be missing DLLs or the DLLs might be corrupted but I couldn't find any on the Internet to reinstall from.

Here is a sample code I tried:

Option Explicit
Dim dbBarbwire As Database
Private Sub cmdOpen_Click()
Set dbBarbwire = CreateDatabase("C:\test.mdb", dbLangGeneral)
End Sub

Do you think you can help me out?


------------------
--
Daemon

bashfirst
Jun 24th, 1999, 03:55 PM
Be sure you have referenced DAO for your project. Go to the Project menu, References item, when the dialog opens, click on the Microsoft DAO 3.5 Library item.

bash