Solved

Registering ActiveX Controls?

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

18 Experts available now in Live!

Get 1:1 Help Now