Solved

Registering ActiveX Controls?

Posted on 1998-06-01
2
210 Views
Last Modified: 2013-11-19
(in the control)
I need code that will Create a Component Category in the registery, then add an activeX component to the category.


(in the container)
I also need code that will let me search the category for components.  
0
Comment
Question by:Raoh
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
piano_boxer earned 200 total points
ID: 1315926
There is a perfect axample of doing this in the June 1998 Vol. 13 No. 6 of MSJ (Microsoft System Journal).

You can download the sourcecode here:
http://www.microsoft.com/MSJ/0698/code/MSJJun98.zip

UnZip MSJJun98.zip
UnZip Jun98WinInetCode.zip that was unzipped from MSJJun98.zip.

Look at these functions in the file QuoteProviders.cpp

CreateComponentCategory()
RegisterCLSIDInCategory()
UnRegisterCLSIDInCategory()
0
 
LVL 4

Expert Comment

by:piano_boxer
ID: 1315927
How to enum the registred components is shown in the function EnumQuoteProviders() located in 'Stock Watcher\QuoteProviderDlg.cpp'

I forgot to say that the file QuoteProviders.cpp mentioned in my answer is located in the QuoteProviders sub-directory.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 144
Folder Comparison 12 53
Host to IP 7 76
fizzArray2 challenge 1 72
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now