The Wayback Machine - https://web.archive.org/web/20090601194113/http://www.codeguru.com:80/cpp/com-tech/activex/

CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> COM-based Technologies >> ActiveX Programming


ActiveX Programming

Active Scripting



ActiveX script hosting
Rating:
Andrew Garbuzov - 02/05/1999
ActiveX script hosting

Adding Debug facilities to an Active Scripting Host
Rating: none
Stuart Lodge - 02/05/1999
Adding Debug facilities to an Active Scripting Host

ActiveX script hosting (2)
Rating:
Andrew Garbuzov - 02/05/1999
ActiveX script hosting (2)


ActiveX Controls



Tabbed ActiveX Control
Rating:
Muhammad Ahmed - 01/28/2004
For beginners: Learn how to make a tabbed user interface using a simple MFC ActiveX control in VC++ .NET.

Adding Scripting Support to an Application
Rating:
Yuri Polyakov - 06/23/2003
Sometimes there isn't a need to implement full scripting support. Learn how to add this support the easy way using the Microsoft Script Control. (The article, project, and source code were updated.)

Property Pages for ActiveX Controls
Rating:
Shimon Pozin - 10/01/2002
Property Pages for ActiveX Controls

Menu in ActiveX Controls
Rating:
Robert Nagy - 01/15/2002
How to enable a menu in an ATL/MFC ActiveX control - simple but instructive.

Dynamic creation and placement of ActiveX controls
Rating:
Saurabh Dasgupta - 09/10/2001
Most of the applications that use ActiveX controls, do so by embedding them at design time. This article demonstrates how simple it is to create and place Active X controls at run time.

Undocumented MS Stock Property Pages In VC5
Rating:
Mark Gentry - 04/12/2001
Undocumented MS Stock Property Pages In VC5

Listing All Registered ActiveX Controls
Rating:
Vineet Nandurkar - 03/06/2001
Shows how to use COM to list all registered ActiveX controls in a system.

ActiveX Control Tutorial
Rating:
Kapil Chaturvedi - 01/21/2001
Beginner-level tutorial to help you write your first ActiveX control (with stock properties and custom properties)

Persist ActiveX Controls At Runtime
Rating: none
Lee Marmara - 02/11/2000
Persist ActiveX Controls At Runtime

Accessing Hidden VB Interfaces
Rating:
Adiel Ben Shalom - 01/29/2000
Accessing Hidden VB Interfaces

AutoFill OCX
Rating:
Ron Benninghoff. - 06/25/1999
AutoFill OCX

Data Source ActiveX control for DAO
Rating: none
Adrian Roman - 01/30/1999
Data Source ActiveX control for DAO

Properties Grid Control
Rating: none
Mihai Filimon - 01/10/1999
Properties Grid Control

Floor Window Control
Rating: none
Mihai Filimon - 12/21/1998
Floor Window Control

A Set of 2 ActiveX Controls
Rating: none
Mihai Filimon - 12/21/1998
A Set of 2 ActiveX Controls

An Enhanced Combo Box Control.
Rating:
Mihai Filimon - 12/19/1998
An Enhanced Combo Box Control.

Control container supporting windowless activation
Rating: none
Klaus G|tter - 12/11/1998
Control container supporting windowless activation

Dialog frame as an ActiveX control
Rating:
Peter Stejskal - 12/04/1998
Dialog frame as an ActiveX control

QListCtrl - a popup list box Control like that in Visual C++ 6.0
Rating: none
Mihai Filimon - 11/29/1998
QListCtrl - a popup list box Control like that in Visual C++ 6.0

ActiveX Control Property Page Container
Rating: none
Vladimir Ofitserov - 11/13/1998
ActiveX Control Property Page Container

A control for displaying animated gif images
Rating:
George Tersaakov - 10/25/1998
A control for displaying animated gif images


ActiveX Documents



How to Avoid an MFC Active Document Container from Hanging
Rating:
Carsten Breum - 09/21/2000
Fixes problem with Visual Studio wizard-generated Active Document Containers hanging upon execution


ActiveX Programming



Minimized Sample of DCOM Server
Rating: none
Walter Wang - 09/20/2001
This out-of-process server can be called remotely by VC and VBScript clients through network. This 200-line full-featured DCOM project was built with pure Win32 API from scratch

Using NT Security DLL To Investigate DCOM Issues
Rating: none
Andrei V. Korobkov. - 08/28/2001
An alternative way of researching DCOM by replacing NT security DLL.

SkDCOMbridge : COM/DCOM Handler Object
Rating: none
Shai Korianski - 08/05/2000
SkDCOMbridge : COM/DCOM Handler Object

ActiveX Shell Registration
Rating: none
Emmanuel KARTMANN - 12/15/1999
ActiveX Shell Registration


Apartments & Threading



A Simple Example To Explain COM STA, MTA, and Auto-threaded Modules
Rating:
Zhifang Zhao - 02/04/2003
Check out this illustration of the functions of COM Single Thread Apartment (STA), Multithread Apartment (MTA), and ATL Auto-thread Module with a testing client-server application.

Understanding COM Apartments, Part I
Rating:
Jeff Prosise - 04/13/2001
In the first part of a two-part series on COM apartments, Jeff Prosise describes what apartments are, why they exist, and how to avoid the problems that they introduce.

Understanding COM Apartments, Part II
Rating:
Jeff Prosise - 04/13/2001
In the completion of his two-part series on understanding COM apartments, Jeff Prosise illustrates why the lessons learned in last month's discussion of COM apartments are so important by giving concrete examples of how this knowledge can help you develop better and more efficient COM applications.


Error Handling



COM/DCOM Exception Class
Rating: none
Reg Anderson - 02/29/2000
Displays line number/file name information


External links



COM STL Bridge (CSB) Homepage
Rating: none
Ray Brown - 12/15/1998
COM STL Bridge (CSB) Homepage


General



Extensible OLE Property Pages in .NET
Rating:
Robert Simpson - 11/03/2004
Implementing and utilizing extensible property sheets in your .NET classes has never been easier.


General COM/DCOM



JavaScript DOM Ranges
Rating: none
Nicholas Zakas - 06/11/2007
Nicholas Zakas explores the powerful DOM Range tool and how a range can be used to select a section of a web document regardless of node boundaries.

Transparent Flash Control in Plain C++
Rating:
Igor Makarov - 07/11/2006
Learn about OLE container implementation to host a Transparent Flash Player Control using plain C++. No ATL, MFC, or other libraries are used.

Using a Hot Key in an ActiveX Control
Rating: none
Onega - 02/26/2004
Learn about a way to enable a hot key in an ActiveX control without a message hook.

Hosting Windowed ActiveX Controls in ASP Scripts (MSChart Example).
Rating: none
Constantinos A. Loizides - 12/10/2001
Have you ever wondered how to display charts or any other visual ActiveX controls in a web environment without having the need for the client (the browser in this case) to download these conrols in order to display the data.

Passing C++ Classes Across DCOM
Rating: none
Eugene Khodakovsky - 11/06/2001
Two classes that provide richer interfaces and easier semantics to pass classes via COM/DCOM.

Dynamic Com
Rating: none
Anthony Roach - 09/26/2001
Getting around version conflicts and more.

ObjectLookup Utility
Rating: none
Christian Skovdal Andersen - 02/20/2001
Very useful COM Object Lookup utility that provides the classname and executable based on a CLASID or ProgID

Undocumented AFX function : AfxGetClassIDFromString
Rating: none
G. De Leeuw - 11/01/2000
Function that enables you to compare a classid to a progid for things such as determining if a given component has been installed.

Variant Streaming Code
Rating: none
Kenneth Kasajian - 10/09/2000
Several functions to read and write variants to streams and blobs

Passing Binary Data in COM
Rating: none
Roy - 04/28/2000
Illustrates most efficient manner of passing binary data via COM

COM Delegation Using the COM Channel Hook Mechanism
Rating: none
Paul Barvinko - 04/23/2000
Allows a COM client to delegate calls to a COM server that is running under a higher-priveleged NT user account.

Connection Points and Asynchronous Calls - Part II
Rating: none
Ashish Dha - 01/25/2000
Connection Points and Asynchronous Calls - Part II

Connection Points And Asynchronous calls
Rating:
Ashish Dhar - 12/29/1999
Tutorial on programming Connection Points

Remote COM registering
Rating: none
Alex Turc - 12/02/1999
Illustrates how to register components on a remote machine !

In-process Servers and DCOMCNFG Utility
Rating: none
George Poulose - 07/19/1999
In-process Servers and DCOMCNFG Utility

Writing and Reading COM objects using CArchive
Rating: none
Ales Krajnc - 05/21/1999
Writing and Reading COM objects using CArchive

Implementing Asynchronous Data Transfer for COM Clients
Rating: none
Reg Anderson - 05/17/1999
Implementing Asynchronous Data Transfer for COM Clients

Getting a Feel of COM Threading Models
Rating: none
Rama Krishna - 02/24/1999
Getting a Feel of COM Threading Models

Programmatically registering and unregistering COM servers
Rating: none
Jeremiah Talkar - 02/22/1999
Programmatically registering and unregistering COM servers

Passing DYNAMIC Data QUICKLY using SafeArrays - 2
Rating: none
Andrew Schafer - 02/14/1999
Passing DYNAMIC Data QUICKLY using SafeArrays - 2

COM Collection Template Class
Rating: none
Mark Imel - 02/14/1999
COM Collection Template Class

Using a BSTR to Transport C++ Objects Across the DCOM Interface
Rating: none
Richard Warg - 01/17/1999
Using a BSTR to Transport C++ Objects Across the DCOM Interface

DLLUnregister Server in MFC based COM applications
Rating: none
Alexei Evdokimov. - 12/01/1998
DLLUnregister Server in MFC based COM applications

Using a Multidimensional SAFEARRAY to pass data across from COM objects
Rating: none
Aravind Corera - 11/10/1998
Using a Multidimensional SAFEARRAY to pass data across from COM objects

Using COM to Pass Arrays
Rating:
Jeff Lundgren - 11/08/1998
Using COM to Pass Arrays

RNSO - A Remote Notifiers,Subjects and Observers Server over DCOM
Rating: none
Pierre Mellinand. - 11/08/1998
RNSO - A Remote Notifiers,Subjects and Observers Server over DCOM

HOW TO Configure DCOM Timeouts
Rating: none
Chris Kohlhepp - 09/29/1998
HOW TO Configure DCOM Timeouts


Misc.



Serial Communications with ActiveX
Rating:
mongi058 - 06/07/2004
Discover how to make serial communication (RS232) with MSComm.

What is the Matrix? - Part 3, Streaming
Rating: none
Steve Dunn - 04/25/2003
How to use stream opeators to insert data into a Matrix array utility.

What Is the Matrix? -- Part 2
Rating: none
Steve Dunn - 04/17/2003
Expanding on his previous articles, Steve explains how to use the built-in conversions to and from VARIANTs in his Matrix class.

What Is the Matrix?
Rating: none
Steve Dunn - 02/28/2003
Matrix is a templatized utility class available here on CodeGuru. This article digs into showing more regarding the use of this.

Taking the Complexity Out of Creating COM Arrays'—The Matrix Class Utility
Rating: none
Steve Dunn - 01/29/2003
Arrays can be tedious, especially when passing them across COM/DCOM. This utility class aids the creation of arrays, including safe arrays and variants.

Simplifying the Concept of COM
Rating:
TruBic - 10/03/2002
Trung provides his perspectives on the relationships among COM, C++, and C.

Automating Legacy Applications - Part 2
Rating: none
Igor Ladnik - 07/08/2002
This article fills in the gaps in the discussion of converting COM unaware application to COM.

Automating Legacy Applications
Rating: none
Igor Ladnik - 06/17/2002
A COM unaware application can be converted to "automation" server with COM objects embedded into the application's process.

A Simple SafeArray Wrapper
Rating: none
Praveen S. Kumar - 07/18/1999
A Simple SafeArray Wrapper

One way to hook a system function and how to improve performance hooking up CLSIDFromProgID procedure.
Rating: none
Vitaly Meytin - 06/25/1999
One way to hook a system function and how to improve performance hooking up CLSIDFromProgID procedure.

ActiveX hyper linking
Rating: none
Andrew Garbuzov - 04/08/1999
ActiveX hyper linking

Passing arrays of structures in COM
Rating: none
Reg Anderson - 03/05/1999
Passing arrays of structures in COM

TIP: Adding a typelibrary as a resource to a project
Rating: none
Jeremiah S. Talkar - 02/18/1999
TIP: Adding a typelibrary as a resource to a project

Building a World Class Application with MFC and COM Automation
Rating: none
David Cole - 12/03/1998
An MFC COM tutorial

Writing a simple Typelibrary browser
Rating: none
Aaravind Corerra - 12/01/1998
Writing a simple Typelibrary browser

An ASP Component to Send Arbitary Large File from Server to Client
Rating: none
Shimon Pozin - 12/01/1998
An ASP Component to Send Arbitary Large File from Server to Client

Handling Interdependent Objects in Automation - An Example of a Bank Server Object
Rating: none
Shashi Kumar - 11/29/1998
Handling Interdependent Objects in Automation - An Example of a Bank Server Object

A COM-based Automation Wave File Editor
Rating: none
John Harte - 11/22/1998
A COM-based Automation Wave File Editor

COM: Component Category Manager wrapper classes
Rating: none
Len Holgate - 11/03/1998
COM: Component Category Manager wrapper classes

MBV Wizard and the COM Container Library
Rating: none
Scott Prugh - 10/30/1998
Updated article for VC++6.0 with some bug fixes

Instantiating _com_ptr_t objects remotely
Rating: none
Keith Rule - 10/25/1998
Instantiating _com_ptr_t objects remotely

COM: IEnumXXXX to STL-style iterator wrapper class
Rating: none
Len Holgate. - 10/07/1998
COM: IEnumXXXX to STL-style iterator wrapper class

Active Document Containers
Rating: none
Andrew Garbuzov - 09/29/1998
Active Document Containers


Registry



Registry Cleaner
Rating: none
Chakrapani Ramachandran - 06/10/2003
Clean the Registry for COM-based projects.


Security



Managed C++: Determining User Security Roles
Rating:
Tom Archer - MSFT - 01/24/2005
For those who don't have the desire or time to become experts on Windows security, follow this demonstration of using various .NET classes to test for a user's inclusion in one or more security groups.

COM Security Primer, Part I
Rating: none
Jeff Prosise - 04/13/2001
In the first of a two-part series, Jeff Prosise covers the all-important issues of COM security in terms of activation security and access security.

COM Security Primer, Part II
Rating:
Jeff Prosise - 04/13/2001
In the second of a two-part series Jeff Prosise focuses on remote server process identity and authentication.


Structured Storage



COleFileManager - OLE Compound File Class
Rating: none
Brett R. Mitchell - 01/21/2000
Encapsulates the ugly details of implementing compound file support


Tutorials



How to Implement a Mouse Hover/Leave Message on the System Tray
Rating:
genie0610 - 09/09/2004
Ever wanted to get a mouse hover/leave message from the system tray? The Windows shell doesn't support that. This class is a solution that works.

COM Interface Hooking and Its Application, Chapter I
Rating:
Zhefu Zhang - 10/08/2003
Tutorial on designing and implementing a program interacting with MSN Messenger 6.0+.

Automating Microsoft Office Applications
Rating:
V Girish - 08/19/2003
This tutorial helps you learn the basics of automation. With this code, you can control PowerPoint from your application. You can open PowerPoint programmatically, open any presentation, go to any slide that you want, run the slideshow, and more. The same concept can be applied to any one of the Microsoft Office applications.

Step by Step COM Tutorial
Rating:
Saurabh Dasgupta - 03/06/2001
A step-by-step guide to creating COM components using Visual C++ - without the help of ATL or MFC

Beginner-Level COM Tutorial
Rating:
Naveed Ahmed - 07/19/2000
Very quick and easy tutorial for someone looking to "get their feet wet" with COM

Automation and Eventing with Word
Rating:
Christian Staffe - 02/22/1999
regrouped

ActiveX Control Tutorial
Rating: none
Navin Kohli - 02/05/1999
ActiveX Control Tutorial

Leveraging C++ Applications Using COM (An Extension of the Document View Architecture)
Rating: none
Jonathan Woodbury and Ranjan Banerji. - 02/05/1999
Leveraging C++ Applications Using COM (An Extension of the Document View Architecture)


Wrappers



Writing a Managed Wrapper for COM Components
Rating: none
Alex Kravchenko - 04/18/2002
What do you do with all the COM components written in C++ if you move to .NET? Create wrappers! Learn more.







internet.commediabistro.comJusttechjobs.comGraphics.com

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs