Solved

Registering ActiveX Controls?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET how to use the Vertical ScrollBar 5 103
ADO Memory leak with DELPHI 2007 37 181
Excel Use VBA to get user's Mac Address for their computer 5 160
while loop over for loop 7 102
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: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

785 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