|
-
Dec 19th, 2024, 07:00 AM
#1
Thread Starter
Member
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.
-
Dec 19th, 2024, 07:08 AM
#2
Re: Runtime 429 ActiveX can't create object
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
-
Dec 19th, 2024, 04:55 PM
#3
Thread Starter
Member
Re: Runtime 429 ActiveX can't create object
Windows 10 64bit if that is what you are asking.
32bit compiles, dll's etc.
Thanks
-
Dec 19th, 2024, 06:57 PM
#4
Fanatic Member
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.
-
Dec 19th, 2024, 09:03 PM
#5
Thread Starter
Member
Re: Runtime 429 ActiveX can't create object
 Originally Posted by qvb6
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.
-
Dec 19th, 2024, 09:39 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|