?
Solved

Using ActiveX ctl in container app. & IE.

Posted on 1998-11-11
2
Medium Priority
?
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 300 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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 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…
Suggested Courses

777 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