Solved

SEt a clsID in VB6 activex

Posted on 2006-11-24
4
1,526 Views
Last Modified: 2008-01-16
hello,

is there a method in VB to specify / set a clsID for an activeX control (.ocx) ??

for example in VC++ it would be set in a macro like so:

IMPLEMENT_OLECREATE_EX(CA7wocxCtrl, "allCLEAR Diagrammer.allCLEAR Diagrammer.1",
 0x3de445a6, 0x1c6e, 0x11d4, 0x92, 0xbd, 0, 0xc0, 0x4f, 0x99, 0x1c, 0x4d)

thanks.
0
Comment
Question by:wdhough
4 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 500 total points
ID: 18151065
Please see this article:

 What is a ProgID and how do I change it?
  http://www.vbaccelerator.com/progid.htm#sechow


If you have any questions, please let me know.

Brian
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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

17 Experts available now in Live!

Get 1:1 Help Now