LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

register a new activeX control

Somil,

 

please keep in mind that you can only use exe and dll here which do provide an ActiveX interface.

So make sure that this is the case.

 

thanks,

Norbert 

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

Hi 

 

So you mean, that while selecting the option create object from file  i need to select the .exe and dll of the software installed or they have to be selected alongwith *.ocx file or just one out of the three files has to be selected? 

 

i tried with the .exe of word (which is already there in activex controls) but it wasnt working. The dll thing, i didnt know which particular dll was required.

Somil Gautam
Think Weird
0 Kudos
Message 12 of 14
(1,050 Views)

Somil,

 

i think that you lack some basics regarding ActiveX.

ActiveX was published by Microsoft in 1998 as an advancement of COM/OLE. ActiveX is a pure software interface for different applications running on Windows. Using ActiveX, you can control applications by another application (Link) or even Embedd the application (Embedding). This is the aspect of OLE (Object Linking and Embedding) from ActiveX.

In order to do this, the ActiveX interface has to be provided by the application which should be linked/embedded.

 

It is possible to compile this interface directly into the exe or dll. But this is the decision of the manifacturer of the software.

Another way is to create an OCX (OLE custom control) which provides the interface to the software.

 

As far as i know (i am not from Microsoft), Microsoft products mainly use OCX-files to provide the interface to the software. So there is no need to compike the ActiveX interface information into the exe or dll. This is why Word does not work like this.

 

So you have to get the information about the software interface of the software's vendor. The information has to contain details about: What is the interface file (exe/dll/ocx)? What are the properties/methods exposed by the ActiveX interface and how do they depend on one another?

In short words: You need documentation on the interface. 

 

hope this helps, 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 13 of 14
(1,047 Views)

Perfect!!!!!!

 

Now i understood the whole procedure of registering a control. 

the control can be anywhere (dll, exe or ocx) but this depends on the manufacturer

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