Solved

Using ActiveX ctl in container app. & IE.

Posted on 1998-11-11
2
184 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
ID: 1177527
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
ID: 1177528
Would you point me where can I find a sample?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

726 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