Solved

MFC ActiveX Wizard Visual C++ 5.0

Posted on 1998-08-07
4
280 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

803 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