The information in this article applies to:
SUMMARY
If you use ControlWizard to generate an MFC ActiveX control, the registered
name of the control is usually the same as its project name. For instance,
if the control's project name is "BABY," then the ActiveX control is named
as "BABY Control" in the Insert ActiveX Control dialog box of any Visual
C++ application. MORE INFORMATIONThe registered name may be found from a string resource in the .rc file of the control's project. The string resource always starts with IDS_XXX where XXX is the name of the control's project. If the project name is "BABY," then the following can be found in the string's table of the control's project:
Set a new control name to the IDS_XXX string resource and rebuild the
control's project. The control is shown in its new name in the Insert
ActiveX Control dialog box.The control's module name is defined at the first helpstring in the .odl file of the control's project file. The following is found from the .odl file of the BABY's project:
Set a new module name to the helpstring above and rebuild the control's
project. The control's new module name is shown in Visual Basic's
Components dialog box.(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Yeong- Kah Tam, Microsoft Corporation. Additional query words:
Keywords : kbole kbwizard kbMFC kbVC kbVC500 kbVC600 |
Last Reviewed: July 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |