How we implement the ActiveX controls in VC++application



How we implement the ActiveX controls in VC++application..

Answer / Arun Kumar Jha

To implement ActiveX controls in a VC++ application, follow these steps:n
1. Obtain an ActiveX control: Download or create the desired ActiveX control (e.g., from Visual Basic or another source).n
2. Register the ActiveX control: Use the regsvr32 command to register the ActiveX control on your system.n
3. Create a container for the ActiveX control in VC++:n - Declare the ActiveX control as an interface pointer.n - Add the required header files and library links for the ActiveX control.n - Implement the IUnknown methods (QueryInterface, AddRef, and Release) to enable communication between your application and the ActiveX control.n
4. Use the ActiveX control in your VC++ code:n - Create an instance of the ActiveX control using the CreateInstance method.n - Call the methods and properties of the ActiveX control as needed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ActiveX Interview Questions

Does activex work on mac?

1 Answers  


What is activex in vb?

1 Answers  


How do I run activex in chrome?

1 Answers  


What is activex technology?

1 Answers  


How do I enable activex in powerpoint?

1 Answers  


What is meant by activex control?

1 Answers  


How do I turn off activex?

1 Answers  


How do I test activex filtering?

1 Answers  


What does activex control do?

1 Answers  


What is ocx plugin?

1 Answers  


How do I register an ocx file?

1 Answers  


Does activex work in chrome?

1 Answers  


Categories