Click here to Skip to main content
15,881,173 members
Articles / Programming Languages / C#

Create a Vista Gadget Using Visual Studio IDE (updated)

Rate me:
Please Sign up or sign in to vote.
4.84/5 (46 votes)
8 Feb 2011CPOL13 min read 263.1K   19.5K   254  
This article describes how to use Visual Studio for developing a Vista Gadget.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>RunVistaGadget31</name>
    </assembly>
    <members>
        <member name="T:RunVistaGadget31.Connect">
            <summary>The object for implementing an Add-in.</summary>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.#ctor">
            <summary>Implements the constructor for the Add-in object. Place your initialization code within this method.</summary>
        </member>
        <member name="M:RunVistaGadget31.Connect.OnConnection(System.Object,Extensibility.ext_ConnectMode,System.Object,System.Array@)">
            <summary>Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.</summary>
            <param term='application'>Root object of the host application.</param>
            <param term='connectMode'>Describes how the Add-in is being loaded.</param>
            <param term='addInInst'>Object representing this Add-in.</param>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.OnDisconnection(Extensibility.ext_DisconnectMode,System.Array@)">
            <summary>Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.</summary>
            <param term='disconnectMode'>Describes how the Add-in is being unloaded.</param>
            <param term='custom'>Array of parameters that are host application specific.</param>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.OnAddInsUpdate(System.Array@)">
            <summary>Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification when the collection of Add-ins has changed.</summary>
            <param term='custom'>Array of parameters that are host application specific.</param>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.OnStartupComplete(System.Array@)">
            <summary>Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.</summary>
            <param term='custom'>Array of parameters that are host application specific.</param>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.OnBeginShutdown(System.Array@)">
            <summary>Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.</summary>
            <param term='custom'>Array of parameters that are host application specific.</param>
            <seealso class='IDTExtensibility2' />
        </member>
        <member name="M:RunVistaGadget31.Connect.QueryStatus(System.String,EnvDTE.vsCommandStatusTextWanted,EnvDTE.vsCommandStatus@,System.Object@)">
            <summary>Implements the QueryStatus method of the IDTCommandTarget interface. This is called when the command's availability is updated</summary>
            <param term='commandName'>The name of the command to determine state for.</param>
            <param term='neededText'>Text that is needed for the command.</param>
            <param term='status'>The state of the command in the user interface.</param>
            <param term='commandText'>Text requested by the neededText parameter.</param>
            <seealso class='Exec' />
        </member>
        <member name="M:RunVistaGadget31.Connect.Exec(System.String,EnvDTE.vsCommandExecOption,System.Object@,System.Object@,System.Boolean@)">
            <summary>Implements the Exec method of the IDTCommandTarget interface. This is called when the command is invoked.</summary>
            <param term='commandName'>The name of the command to execute.</param>
            <param term='executeOption'>Describes how the command should be run.</param>
            <param term='varIn'>Parameters passed from the caller to the command handler.</param>
            <param term='varOut'>Parameters passed from the command handler to the caller.</param>
            <param term='handled'>Informs the caller if the command was handled or not.</param>
            <seealso class='Exec' />
        </member>
        <member name="M:RunVistaGadget31.Connect.GetPreviousShortcutKey(System.String)">
            <summary>
            
            </summary>
            <param name="commandName"></param>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.Connect.SetShortcut(System.String,System.String)">
            <summary>
            
            </summary>
            <param name="commandName"></param>
            <param name="newShortcutName"></param>
        </member>
        <member name="M:RunVistaGadget31.Connect.Beep(System.Int32,System.Int32)">
            <summary>
            
            </summary>
            <param name="freq"></param>
            <param name="duration"></param>
            <returns></returns>
        </member>
        <member name="T:RunVistaGadget31.AdditionalApplicationsWrappers.CabarcRunner">
            <summary>
            
            </summary>
        </member>
        <member name="T:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner">
            <summary>
            
            </summary>
        </member>
        <member name="F:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.GadgetPath">
            <summary>
            
            </summary>
        </member>
        <member name="F:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.CalledApplicationPath">
            <summary>
            
            </summary>
        </member>
        <member name="F:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.project">
            <summary>
            
            </summary>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.#ctor(EnvDTE80.DTE2)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.#ctor(EnvDTE80.DTE2,System.Boolean)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
            <param name="isRunAsWinApp"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.GetAppArguments">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.GetOutputAndRunApplication">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.IsExistCalledApplication(System.String,System.String)">
            <summary>
            
            </summary>
            <param name="applicationPath"></param>
            <param name="applicationName"></param>
            <returns></returns>
        </member>
        <member name="P:RunVistaGadget31.AdditionalApplicationsWrappers.ApplicationRunner.GadgetProp">
            <summary>
            
            </summary>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.CabarcRunner.#ctor(EnvDTE80.DTE2)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.CabarcRunner.#ctor(EnvDTE80.DTE2,System.Boolean)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
            <param name="isRunAsWinApp"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.CabarcRunner.GetAppArguments">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.CabarcRunner.GetOutputAndRunApplication">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="T:RunVistaGadget31.AdditionalApplicationsWrappers.SigntoolRunner">
            <summary>
            
            </summary>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.SigntoolRunner.#ctor(EnvDTE80.DTE2)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.SigntoolRunner.#ctor(EnvDTE80.DTE2,System.Boolean)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
            <param name="isRunAsWinApp"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.SigntoolRunner.GetAppArguments">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.SigntoolRunner.GetOutputAndRunApplication">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="T:RunVistaGadget31.AdditionalApplicationsWrappers.GadgetRunner">
            <summary>
            
            </summary>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.GadgetRunner.#ctor(EnvDTE80.DTE2)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.GadgetRunner.#ctor(EnvDTE80.DTE2,System.Boolean)">
            <summary>
            
            </summary>
            <param name="applicationObject"></param>
            <param name="isRunAsWinApp"></param>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.GadgetRunner.GetAppArguments">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:RunVistaGadget31.AdditionalApplicationsWrappers.GadgetRunner.GetOutputAndRunApplication">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="T:RunVistaGadget31.GadgetProperties">
            <summary>
            
            </summary>
        </member>
        <member name="F:RunVistaGadget31.GadgetProperties.DefaultRegKey">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.GadgetOutputPath">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.ArchivatorPath">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.SigntoolPath">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.PfxFilePath">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.PfxPassword">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.AllowedExtensionsForGadget">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.ShortcutForRunGadget">
            <summary>
            
            </summary>
        </member>
        <member name="P:RunVistaGadget31.GadgetProperties.IsBuildSignedGadget">
            <summary>
            
            </summary>
        </member>
        <member name="T:RunVistaGadget31.GadgetSettings">
            <summary>
            
            </summary>
        </member>
        <member name="M:RunVistaGadget31.GadgetSettings.#ctor">
            <summary>
            
            </summary>
        </member>
        <member name="F:RunVistaGadget31.GadgetSettings.components">
            <summary>
            Required designer variable.
            </summary>
        </member>
        <member name="M:RunVistaGadget31.GadgetSettings.Dispose(System.Boolean)">
            <summary>
            Clean up any resources being used.
            </summary>
            <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        </member>
        <member name="M:RunVistaGadget31.GadgetSettings.InitializeComponent">
            <summary>
            Required method for Designer support - do not modify
            the contents of this method with the code editor.
            </summary>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions