Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Using ActiveX ctl in container app. & IE.

Posted on 1998-11-11
2
Medium Priority
?
193 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
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.
Suggested Courses

810 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