10-30-2009 03:41 AM
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
10-30-2009 04:04 AM
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.
10-30-2009 04:25 AM
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
10-30-2009 04:59 AM
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