Results 1 to 5 of 5

Thread: ActiveX (97)

  1. #1
    Lounger
    Join Date
    Jan 2001
    Location
    Hastings, Nebraska, USA
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ActiveX (97)

    To take advantage of FAT32 I reinstalled Windows 95 this week in a Compaq notebook. Now my Access 97 correspondence database won't run. It comes up with the error, "ActiveX component can't create object" The debug trouble line is " Set dbs = CurrentDb()" When I developed this program from their Address Book example database, I didn't have to register any ActiveX controls. But the help file says now I need to register these controls. How do I know which one? There is a long list. And then it asks for the OCX file associated with the control. How do I know which one? There are many! The NorthWind traders database works fine now, why won't the address book database run? I installed all the components available on the Office 97 CD. Thanks for your help! Russ

  2. #2
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ActiveX (97)

    You may want to see if any references are missing: Open the Code Window from any Module or by viewing the code behind any form or report. Click on Tools | References... Check to see if any of the items near the top of the list indicate that the reference is MISSING.

    This will help you track down the source of the problem.

    HTH <img src=/S/thumbup.gif border=0 alt=thumbup width=15 height=15>

  3. #3
    Star Lounger
    Join Date
    Apr 2001
    Location
    Melbourne, Australia
    Posts
    53
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: ActiveX (97)

    Russ, I had exactly this problem - different cause, but I also reinstalled Win95 then Access97, etc, and had exactly the same problem. The resolution is found in Microsoft KB article Q240377. It seems that when Access97 is reinstalled, it sees DAO350 already exists, and assumes it is registered. In fact, because you have recreated the Registry, it is not, so you have to do it manually.

    Here is the relevant paragraph from that article. (You probably should review the whole article, but this was the bit that helped me.)

    --- start extract---
    3. You need to make sure that the registry keys for DAO exist. The registry keys
    are listed in the Microsoft DAO Registry Settings section later in this
    article. Use the RegEdit program to verify that the registry keys exist. If
    the registry keys are missing or pointing to a nonexistent file, you can
    manually unregister and re-register the Dao350.dll file by running the
    following two commands from the Windows Start button, and then select Run or
    from the MS/DOS command prompt use this command:

    Regsvr32.exe /U
    "C:Program FilesCommon FilesMicrosoft SharedDaoDao350.dll"

    Regsvr32.exe
    "C:Program FilesCommon FilesMicrosoft SharedDaoDao350.dll"

    Note that the earlier two commands have a line break for readability. You
    should run each command on one continuous line.
    --- end extract ---


    Geoff

  4. #4
    Lounger
    Join Date
    Jan 2001
    Location
    Hastings, Nebraska, USA
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ActiveX (97)

    Thanks! It did say missing, but couldn

  5. #5
    Lounger
    Join Date
    Jan 2001
    Location
    Hastings, Nebraska, USA
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ActiveX (97)

    Thanks! That took care of it. Why? I

Posting Permissions

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