Solved

Registering ActiveX Controls?

Posted on 1998-06-01
2
218 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
[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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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