Create a directory to contain the gadget files.
  • Create an HTML page that does something interesting.
  • Create the XML file for the gadget manifest.
  • Test the gadget with Sidebar.
  • Steps

    1. Open the Sidebar.
      • Click the Start button, then click on All Programs. The Sidebar can be found under the "Accessories" folder.
      • in taskbar, find icon
    2. Locate your gadgets folder.
      • In a "Run" prompt from the Start menu (Windows Key+R), type
        %userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets
      • Your Gadgets folder(hidden folder) will now open. It will be something similar to:
        c:\Users\YourUsername\AppData\Local\Microsoft\Windows Sidebar\Gadgets
    3. Create the gadget folder.
      • Create a folder called HelloWorld.gadget inside the Gadgets folder.
      • Gadgets must be a folder whose name ends in .gadget for Sidebar to recognize the gadget.
    4. Create the gadget folder.
      • Use something capable of creating an HTML text file, such as Notepad.
      • The HTML file should contain the following content.
        HelloWorld.html
        <html> <head> <title>Hello, World!</title> <style>
            body { width:130; height:50; } </style> </head> <body> <span
            id="gadgetContent" style="font-family: Tahoma; font-size: 10pt;">Hello, World!</span>
            </body> </html> 
    5. Finally, create the gadget manifest.
      • The manifest file must be named gadget.xml.
      • make sure the file is saved with UTF-8 encoding for localization support.
      • The XML file should contain the following content: gadget.xml
        <?xml version="1.0" encoding="utf-8" ?> <gadget> <name>Hello
            World!</name> <namespace>Example.You</namespace> <version>1.0</version>
            <author name="Your Name"> <info url="www.example.com" /> </author>
            <copyright>2006</copyright> <description>My first gadget</description>
            <hosts> <host name="sidebar"> <base type="HTML" apiVersion="1.0.0"
            src="HelloWorld.html" /> <permissions>full</permissions> <platform
            minPlatformVersion="0.3" /> </host> </hosts> </gadget> 
    6. Background image
    7. innerText
    8. Settings.html