Results 1 to 2 of 2

Thread: Errors when trying to create an object

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Posts
    1

    Post

    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

  2. #2
    Lively Member
    Join Date
    Jun 1999
    Location
    Raleigh, NC
    Posts
    70

    Post

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width