Solved

MFC ActiveX Wizard Visual C++ 5.0

Posted on 1998-08-07
4
278 Views
Last Modified: 2013-11-25
I have developped an Active X Components with MFC Active X Wizard Visual C++ 5.0. I have no problem to use this component, but now I just  would like to make different s versions of this component, that means change the Ctrl Class registering , perhaps I have just to rename this project, and  the Ctrl Class, and some other classes but How can I do that  wihout starting with the begin, without using the Wizard again.?  Is that possible ? How can I do that ?
0
Comment
Question by:hyco
  • 2
4 Comments
 

Author Comment

by:hyco
ID: 1169592
Edited text of question
0
 
LVL 23

Expert Comment

by:chensu
ID: 1169593
Actually, you don't need to change the class names. That's up to you. If you want, you may make use of the Find in Files... menu. The important thing to change is the GUIDs.
0
 

Author Comment

by:hyco
ID: 1169594
Ok , I agree but how can I change the  GUID ? May I choose a new one ? Anything ?
0
 
LVL 6

Accepted Solution

by:
seippg earned 50 total points
ID: 1169595
There's an application in your \Program Files\Devstudio\VC\bin directory called guidgen.exe.  Run it and it will automatically create a new GUID for you.  Select the format you want the guid presented in and then you can copy it to the clip board and paste it into your new control where your old guid is.  Nothing to it.
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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

895 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