Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Project names?

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I have an ActiveX control project, copied it into a new directory, cuz I'm gona skin it down, or clean it up so that it has less features so that it's more suited for another project. problem is I can change what the name of the ocx is when i compile, but how to do change the name that appears as the registered control (cant change project name or cant see it)<br><br> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
I don't know if you want to change the name of your project or the name of the control?<br><br>If you want to change the name of your project I wouldn't think it advisable since VC++ 6.0 Uses the specified project name to create header files and other files that use and refer to the name.&nbsp;&nbsp;There would be alot to change manually and I'm sure there are hidden things embedded in the code generator that are not really accessible.&nbsp;&nbsp;Better to recreate your prooject and copy over the files.&nbsp;&nbsp;<br><br>ActiveX controls are really a layer built on top of COM technology so you would probably need to know how to manipulate the DISPID's in the IDispatch interface to be able to change the registered control name.&nbsp;&nbsp;When an ActiveX control is registered most of the information about the control is copied to the Windows registry.&nbsp;&nbsp;Also, the control must be registered with VC++ 6.0 so too much work, baby.&nbsp;&nbsp;As far as skining the control, I know that when you insert an ActiveX control into a dialog an extra tab shows up on the properties dialog called ALL.&nbsp;&nbsp;This shows everything associated with the appearance and function of the control and allows you to manipulate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top