Results 1 to 6 of 6

Thread: Runtime 429 ActiveX can't create object

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    61

    Runtime 429 ActiveX can't create object

    Thanks for reading.

    I have spent the best part of a day trying to untangle the follwoing and I just cannot see it I'm afraid.

    BioxScan_WBF (BioScan_WBFGeneric.dll ActiveX) is registered and it appears in this test app references. The test app is throwing the 429 error as below.

    Code:
    Option Explicit
    
    Private WithEvents ObjWinBio As BioxScan_WBF
    
    Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
     
    Private Sub cmdDeviceOpen_Click()
    
    '    Dim ObjWinBio As Object
        Set ObjWinBio = New BioxScan_WBF     <<<<<<<<  error  429 
        Dim Result_ As BioxScan_Status
        Dim devinfo
        
        Result_ = ObjWinBio.OpenDevice
    The odd this is that ObjWinBio is actually showing the internal fucntions for example if I type ObjWinBio. it lists the exposed items.


    BioScan_WBFGeneric.dll is an ActiveX project and contains the following (in part)

    Code:
    Option Explicit
    '
    ' This implements the IScanDevice interface.
    Implements IScanDevice
    
    Private WithEvents ObjWinBio As WinBioNET.BioxScan_WBF     '' BioxScan_WBF  is the name passed from WinBioNET which is a C# project referenced as a .tlb

    Appreciate the help and happy to provide anything requested.

  2. #2
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,261

    Re: Runtime 429 ActiveX can't create object

    32 vs. 64-Bit?
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    61

    Re: Runtime 429 ActiveX can't create object

    Windows 10 64bit if that is what you are asking.
    32bit compiles, dll's etc.
    Thanks

  4. #4
    Fanatic Member
    Join Date
    Feb 2019
    Posts
    924

    Re: Runtime 429 ActiveX can't create object

    Is BioxScan_WBF something you made in VB6? If so, try to unregister it, then re-register. Note that VB6 auto registers ActiveX files when you compile them. Check Project-->References, and look for duplicates. You should see only one. If you see more, you may need to do some cleanup.

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2011
    Posts
    61

    Re: Runtime 429 ActiveX can't create object

    Quote Originally Posted by qvb6 View Post
    Is BioxScan_WBF something you made in VB6? If so, try to unregister it, then re-register. Note that VB6 auto registers ActiveX files when you compile them. Check Project-->References, and look for duplicates. You should see only one. If you see more, you may need to do some cleanup.
    Thanks for teh reply.

    Yes correct, BioxScan_WBF (BioScan_WBFGeneric.dll ActiveX) is my VB6 code.

    I have checked all the usual suspects. Also previously ran the RegistryFirstAid app do find and delete all registry items to get rid of everything related and then reregistered it. Still the same outcome.

    I have a couple of other similar dll's and they are working Ok. This one is just being difficult for some odd reason.

  6. #6
    PowerPoster VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    2,619

    Re: Runtime 429 ActiveX can't create object

    Try removing the underscore from your ActiveX DLL class since VB6 adds another underscore for the event name and you can't have two underscores.

Tags for this Thread

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