LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert ActiveX Object - not in list

 

Hi, guys.
After one time, I'm not able to install by myself ActiveX controls and embed these controls into ActiveX containers yet. I refer to ActiveX controls that can be embedded into ActiveX containers, not those used to instantiate other applications.
I want a certain ActiveX Control to be displayed in an ActiveX Container on the Front Panel. In this particular case, it's a Mozilla Firefox ActiveX Control. According to http://forums.ni.com/t5/LabVIEW/activex-firefox-and-mozilla/td-p/356235 (see message 5), after getting the component from the link provided and installing it, I should be able to insert onto the empty ActiveX Container by clicking over it and selecting "Insert ActiveX Object...". In this case, "MozillaBrowser class" should appear in the list, but not.
ActiveX Container.png
However, if I place a Property Node or Invoke Node without reference on the Block Diagram, click on it, then "Select Class" -> "ActiveX" -> "Browse", I find the class "MozillaControl 1.0 Type Library Version 1.0", that, among others, it contains the class "IWebBrowser2". This class happens to be called "MOZILLACONTROLLib.IWebBrowser2". But, once I have the Property Node or Invoke Node, I can't create the container from it (create control from its reference) neither place an empty ActiveX container and wire its reference to the Property Node.

Property Node.png
I also tried registering the ActiveX Control, by typing "regsvr32 <control_name.dll>" in the command prompt, but nothing changes.
But this doesn't happen to me only with this particular ActiveX control. Every time I want to find in the list a certain ActiveX component after installing it, I can't find it, and I end up copying ActiveX container blocks from VI examples I found on the forums... One example is using AcroPDF ActiveX Control.
Any suggestion? Has anybody faced the same problem?
Regards,
Francisco

 

Download All
0 Kudos
Message 1 of 3
(5,787 Views)

No suggestions?? Smiley Sad

 

Isn't there a way of tracking how LabView reads the ActiveX servers registered on the computer?

 

And, if I'm able to get properties and methods of the desired ActiveX object class in the Block Diagram, and get an Automation Refnum of it, is there a way of taking it to display the control into the ActiveX container??

0 Kudos
Message 2 of 3
(5,747 Views)

Hello,

 

Probably you can see the server in the pop-up menu because the server is not in the PC but is in the registry. Remove the checkbox “Validate Servers” to see if the Mozilla server appears. According to this LV help link...

 

http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/creating_new_controls_in_a/

 

... looks like the server is not installed in the PC... or it’s not registered.

0 Kudos
Message 3 of 3
(5,722 Views)