Solved

Using ActiveX ctl in container app. & IE.

Posted on 1998-11-11
2
178 Views
Last Modified: 2010-04-02
I`m writing C++ apps. since 1994. These apps. are used to configure some processes in a Unix server, via TCP/IP. Now I want to start using ActiveX components:
1) I want to convert my apps in containers (with AfxEnableControlContainer();
2) I want to write ActiveX components to use in my apps
3) I want to use these ActiveX components in Internet Explorer browser.

Resuming: I want to write ActiveX components to be compatible with my apps and with IE (both). It`s possible?

Someone can give me a sample or someone knows where can I get it?
0
Comment
Question by:Caesar
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
Comment Utility
While it is certainly possible to write controls that only work with a specific container, it requires quite a bit of code to do that. Start with a Wizard generated control and you should see it work in IE4.

Once you have a control, to embedded it into your application, you can use Project | Add to Project | Components and Controls and select your control. This will generate the headers and source files into your project that can create the control.

0
 

Author Comment

by:Caesar
Comment Utility
Would you point me where can I find a sample?
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now