06-06-2012 12:32 PM
Hi All
I'm trying to found out from where LabVIEW is getting this particular class from, since it isn't showing up when I open the Active X class browser, and yet somehow seems to be magically registered - I have some invoke nodes and it works fine. Why doesn't it show up in the class browser - shouldn't everything? Where else can I look for it? It's not a standard LV class, but a third party exe I installed. I know the class name (right clicking invoke, browse...). Ideas??
06-06-2012 12:42 PM
Can you post an image that would help explain your question?
Are you using an ActiveX control - an object on the front panel - or an ActiveX class that you access through Automation Open? Note that while they look similar on the block diagram, if you have a class with no associated control then you won't see it when you try to place an ActiveX object on the front panel.
06-06-2012 12:47 PM - edited 06-06-2012 12:49 PM
Using an automation open. The problem was I had 2 VIs - one was working fine, the other was from a different computer & broken, even though they had the same automation open and invoke nodes. So when I right clicked on the automation open control to manually find the class in the browser, the class just wasn't listed. So I manually browsed to the .tlb file while in the activex class browser, restarted LabVIEW, and it is now showing up on the class browser again and working fine. Bizarre.
06-06-2012 01:11 PM
@pobrepablo1 wrote:
Using an automation open. The problem was I had 2 VIs - one was working fine, the other was from a different computer & broken, even though they had the same automation open and invoke nodes. So when I right clicked on the automation open control to manually find the class in the browser, the class just wasn't listed. So I manually browsed to the .tlb file while in the activex class browser, restarted LabVIEW, and it is now showing up on the class browser again and working fine. Bizarre.
sound slike the installer for the third party ActiveX class was not properly registered.
See here to do it manually.
Ben
06-06-2012 01:55 PM
Sadly they aren't ocx, they're DLLs, with a tlib metafile with them. Regsvr32 doesn't work with any of them.
06-07-2012 03:18 AM - edited 06-07-2012 03:18 AM
If you have a typelibrary you should probably use the regtlib.exe program instead. Some useful information might be found in this article. Of course if your library comes with an installer, the installer should have done this.