Solved

Using ActiveX ctl in container app. & IE.

Posted on 1998-11-11
2
180 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

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