LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

register a new activeX control

Hi

 

i came across this in the knowledge base of NI.

 This is regarding the registering and unregistering of an ActiveX control. To register, we need to provide a path to activex control.

 

What i want to know is,  path of which file (extension)  has to be specified in regsvr32 "Path to ActiveX control".

 

For example, if i install a new software which is activeX enabled and i want to register that software in LabVIEW. So, which file do i need to access??????

Somil Gautam
Think Weird
0 Kudos
Message 1 of 14
(4,910 Views)

It's a *.ocx

 

 

 

Christian

0 Kudos
Message 2 of 14
(4,901 Views)

Thanks for the reply.

One more thing.

 

Does labview automatically registers a new activex control on installation of a new activex software? 

Somil Gautam
Think Weird
0 Kudos
Message 3 of 14
(4,892 Views)

Registering an ActiveX Object hast nothing to do with LabVIEW. So the answer to your question is no.

 

Either the Software which installes the ActiveX Object also does the registering or you have to do it manually.

 

 

Christian

0 Kudos
Message 4 of 14
(4,886 Views)

 christian wrote:

you have to do it manually


 

i am asking about this manually only

Somil Gautam
Think Weird
0 Kudos
Message 5 of 14
(4,885 Views)

I'm a little bit confused about what you want to know.

 

However, if you have a registered *.ocx then LV finds the object with the next start.

 

 

Christian

0 Kudos
Message 6 of 14
(4,880 Views)
If i install a new software which is activex enabled, i need to register the *.ocx file manually. LabVIEW wont register this file automatically. Isnt it?
Somil Gautam
Think Weird
0 Kudos
Message 7 of 14
(4,869 Views)

As I said before: "No. LabVIEW has nothing to do with registering an ActiveX Object"

 

Either this software which installes the object also registers it automatically via a batch file during installation, or you have to do it manually.

 

Every ActiveX Object has to be registerd by the OS so that it can be used by a ActiveX Client like LabVIEW, Excel, InternetExplorer, other Development Environments, whatever.

 

 

Christian

0 Kudos
Message 8 of 14
(4,865 Views)

Somil,

 

as Christian said, LV does not register ActiveX server on its own. If you create an ActiveX container and select "Insert ActiveX Object", you will get a dialog. The populated list in this dialog is created by LV. LV asks in the OS which ActiveX server are registered in the system and inserts those servers.

So unregistered ActiveX server do not show up.

 

Nevertheless, you can insert unregistered ActiveX server as well: You have to switch to "Create Object From File" and browse to the file which includes the ActiveX server.

Insert ActiveX Object.PNG

 

The file could be an ocx as Christian mentioned or an exe or dll.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 9 of 14
(4,854 Views)

Thanks Norbert.

 

I have already tried with .exe  and dll. I will soon try with the .ocx file and then post my findings

Somil Gautam
Think Weird
0 Kudos
Message 10 of 14
(4,833 Views)