Contains properties and methods used to programmatically manipulate custom wizards created for Visual C++ projects. Refer to IVCWizCtlUI for documentation.
Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
<GuidAttribute("EB7F6B45-94B3-48FF-8DE1-83222561804E")> _
Public Interface VCWizCtl _
    Inherits IVCWizCtlUI
[GuidAttribute("EB7F6B45-94B3-48FF-8DE1-83222561804E")]
public interface VCWizCtl : IVCWizCtlUI
[GuidAttribute(L"EB7F6B45-94B3-48FF-8DE1-83222561804E")]
public interface class VCWizCtl : IVCWizCtlUI
[<GuidAttribute("EB7F6B45-94B3-48FF-8DE1-83222561804E")>]
type VCWizCtl =  
    interface
        interface IVCWizCtlUI
    end
public interface VCWizCtl extends IVCWizCtlUI
The VCWizCtl type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | ActiveXControls | Gets the ActiveX controls registered in the system. (Inherited from IVCWizCtlUI.) | 
| .gif) | dte | Gets the top-level extensibility object. (Inherited from IVCWizCtlUI.) | 
| .gif) | FileTypeLibs | Gets the type libraries in the specified file. (Inherited from IVCWizCtlUI.) | 
| .gif) | ParentKind | Gets the kind of context object. (Inherited from IVCWizCtlUI.) | 
| .gif) | ParentObject | Infrastructure. Microsoft Internal Use Only. (Inherited from IVCWizCtlUI.) | 
| .gif) | ProjectObject | Infrastructure. Microsoft Internal Use Only. (Inherited from IVCWizCtlUI.) | 
| .gif) | ResourceHelper | Gets the VCResourceHelper object. (Inherited from IVCWizCtlUI.) | 
| .gif) | TypeLibs | Gets the type libraries registered in the system. (Inherited from IVCWizCtlUI.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddBuiltOutput | Adds an item to the deployed project. (Inherited from IVCWizCtlUI.) | 
| .gif) | AddDebugSymbols | Adds debugging symbols to the deployed project. (Inherited from IVCWizCtlUI.) | 
| .gif) | AddDeploymentContent | Adds an item to the deployed project. (Inherited from IVCWizCtlUI.) | 
| .gif) | AddSymbol | Adds the specified symbol to the symbol table. (Inherited from IVCWizCtlUI.) | 
| .gif) | CanCreateNewProjectAtLocation | Indicates whether the new project can be created at the specified location. (Inherited from IVCWizCtlUI.) | 
| .gif) | CommandHandlerExists | Indicates whether the specified handler has been implemented. (Inherited from IVCWizCtlUI.) | 
| .gif) | ConvertAnsiToOEM | Converts special extended ANSI characters to OEM characters. (Inherited from IVCWizCtlUI.) | 
| .gif) | CppParseTypeString | Parses a string containing the C++ variable declaration into its parts (type, name, and initial value). (Inherited from IVCWizCtlUI.) | 
| .gif) | CreateGuid | Creates a globally unique identifier (GUID) for the specified object. (Inherited from IVCWizCtlUI.) | 
| .gif) | CreateWebTargetFolder | Creates a target folder for a Web project. (Inherited from IVCWizCtlUI.) | 
| .gif) | DatabaseConnection | Infrastructure. Microsoft Internal Use Only. (Inherited from IVCWizCtlUI.) | 
| .gif) | DoesFileExist | Determines whether the specified file name exists. (Inherited from IVCWizCtlUI.) | 
| .gif) | DoesFileOrDirectoryExist | Determines whether the specified file or directory exists. (Inherited from IVCWizCtlUI.) | 
| .gif) | FindSymbol | Finds the specified symbol in the symbol table. (Inherited from IVCWizCtlUI.) | 
| .gif) | Finish | Called when the user clicks the OK or Cancel button in the wizard HTML to indicate that the user is finished with the wizard. (Inherited from IVCWizCtlUI.) | 
| .gif) | FormatGuid | Formats the specified globally unique identifier (GUID). (Inherited from IVCWizCtlUI.) | 
| .gif) | GenerateNextDefaultProjectName | Generates a project name based on the specified base name. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetActiveXControlTypeLib | Gets a string containing the type library for the ActiveX control. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetAppID | Returns the application ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetClassCommandHandlerDesc | Gets the command handler object for the specified class and command name. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetCodePageFromLCID | Gets the appropriate code page based on the supplied language locale ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetCommandCount | Gets the number of commands in the specified list. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetCommandDocumentation | Gets the description of the specified command or other text entry in the specified list box. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetCommandHandlerString | Gets a command handler as a string. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetCommandName | Gets the name of a command as a string. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetComputerName | Returns the name of the computer as a string. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetConnectionString | Gets the information the database application requires to connect to a data source. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetConsumerClass | Returns a string containing the consumer class. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetDefaultWebTargetFolder | Returns the default target folder for the Web project. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetDialogControlsAndTypes | Gets the controls and types from the specified dialog box. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetDialogIds | Gets the IDs of the project's dialog boxes. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetDirectoryViaBrowseDlg | Gets the specified directory by using the Browse dialog box. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetHostLocale | Gets the locale of the wizard's user interface. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetInstalledLangs | Gets the language locale IDs from the wizard's templates directory, indicating which language resources are available. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetLangAbbrevFromLCID | Gets the language abbreviation specified by the language locale ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetLangFromLCID | Gets the language based on the specified language locale ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetODBCConsumerClassDecl | Gets the ODBC consumer class declaration. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetODBCConsumerClassImpl | Gets the ODBC consumer class implementation. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetOpenFileNameViaDlg | Gets the name of a file to open using a dialog box. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetPrimaryLangIdFromLCID | Gets the default language from the language locale ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetProcessName | Gets the file name of the current process (devenv.exe). (Inherited from IVCWizCtlUI.) | 
| .gif) | GetRemoteMachine | For the specified deployment project, returns the name of a remote machine for the specified configuration. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetSubFolderByName | Gets a sub folder for web service deployment. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetSubLangIdFromLCID | Gets a string containing the language identified as the sub language from its language locale ID. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetSystemLCID | Gets the default language locale ID from the system. (Inherited from IVCWizCtlUI.) | 
| .gif) | GetURLViaDlg | Get a URL using a dialog box. (Inherited from IVCWizCtlUI.) | 
| .gif) | IsSymbolDisabled | Returns whether a symbol is disabled. (Inherited from IVCWizCtlUI.) | 
| .gif) | IsValidNumericValue | Determines whether a variant is a valid numeric value. (Inherited from IVCWizCtlUI.) | 
| .gif) | IsValidProgID | Indicates whether the specified object's program identifier is valid. (Inherited from IVCWizCtlUI.) | 
| .gif) | IsWebTierProject | Checks if the specified project is a Visual Studio Deployment of a Web Setup Project. (Inherited from IVCWizCtlUI.) | 
| .gif) | Load | Initializes the specified document. (Inherited from IVCWizCtlUI.) | 
| .gif) | Navigate | Navigates to a page and frame. (Inherited from IVCWizCtlUI.) | 
| .gif) | NavigateToCommandHandler | Opens the text editor and places the cursor at the specified handler. (Inherited from IVCWizCtlUI.) | 
| .gif) | Next | Optionally updates the symbols on the current page, and then navigates the user to the specified wizard page. (Inherited from IVCWizCtlUI.) | 
| .gif) | OkCancelAlert | Displays an alert message to the wizard user, requiring the user to click OK to confirm a selected wizard option or Cancel to cancel that option. (Inherited from IVCWizCtlUI.) | 
| .gif) | OnHelp | Called by the wizard when the user clicks the Help button to display any HTML Help topics associated with the wizard HTML page. (Inherited from IVCWizCtlUI.) | 
| .gif) | PreShowWizard | For future use. (Inherited from IVCWizCtlUI.) | 
| .gif) | RemoveSymbol | Removes the specified symbol from the symbol table. (Inherited from IVCWizCtlUI.) | 
| .gif) | RenderTemplate | Renders the template file for the wizard project. (Inherited from IVCWizCtlUI.) | 
| .gif) | RenderTemplateToString | Renders the wizard template file as a string. (Inherited from IVCWizCtlUI.) | 
| .gif) | ReportError | Displays an error to the user and gives the user the option to correct the error and continue using the wizard. (Inherited from IVCWizCtlUI.) | 
| .gif) | ResumeParsing | Resumes parsing after a call to SuspendParsing (Inherited from IVCWizCtlUI.) | 
| .gif) | SelectDataSource | Displays a dialog box that allows the user to select the data source to use in a consumer database application. (Inherited from IVCWizCtlUI.) | 
| .gif) | SelectODBCDatabase | Displays a dialog box that allows the user to select the ODBC database for an ODBC consumer application. (Inherited from IVCWizCtlUI.) | 
| .gif) | SetDefaults | Sets the initial defaults for the wizard symbols. (Inherited from IVCWizCtlUI.) | 
| .gif) | SetDeploymentAppMappings | Registers an application with a web service. (Inherited from IVCWizCtlUI.) | 
| .gif) | SetErrorInfo | Sets error text for the specified item. (Inherited from IVCWizCtlUI.) | 
| .gif) | SetRemoteMachine | Specifies the name of a computer (other than your computer) on which you want to debug an application. (Inherited from IVCWizCtlUI.) | 
| .gif) | ShowWiz | Displays the wizard if it has a UI. (Inherited from IVCWizCtlUI.) | 
| .gif) | SuspendParsing | Suspends parsing in a wizard. (Inherited from IVCWizCtlUI.) | 
| .gif) | ValidateCLRIdentifier | Returns whether a name is a valid CLR identifier. (Inherited from IVCWizCtlUI.) | 
| .gif) | ValidateCSharpClass | Not implemented. (Inherited from IVCWizCtlUI.) | 
| .gif) | ValidateCSharpFile | Not Implemented. (Inherited from IVCWizCtlUI.) | 
| .gif) | ValidateCSharpIdentifier | Not implemented. (Inherited from IVCWizCtlUI.) | 
| .gif) | ValidateCSharpNamespace | Not implemented. (Inherited from IVCWizCtlUI.) | 
| .gif) | WriteToTextFile | (Inherited from IVCWizCtlUI.) | 
| .gif) | YesNoAlert | This method displays an alert message to the wizard user, requiring the user to click Yes to confirm a selected wizard option or No to cancel that option. (Inherited from IVCWizCtlUI.) | 
Top
Remarks
VCWizCtl contains properties and methods used to programmatically manipulate Visual C++ wizard controls within the Visual C++ wizard architecture. You can call these properties and methods by using JScript or VBScript. The JScript File and HTML Files are the necessary parts of a Custom Wizard project.
However, the VCWizCtl object is not designed to be called from high-end programming languages such as Visual Basic, Visual C#, and Visual C++.
备注
To access the VCWizCtl object from script, use wizard. To access the VCWizCtl object from HTML, use window.external.