Search code examples
windows-desktop-gadgets

Windows Sidebar Gadget Reload


I am trying to develop a Windows Desktop widget for Windows 7. Just wondering if there is an easy way to reload the widget or have some form of debug code that will reload the widget every 10 seconds.

The reason I ask is while developing the widget, if I change anything I need to close the widget and readd to the desktop to show my changes.

Cheers.


Solution

  • Do you only need to reload the gadget upon making changes to it?

    In A Heterodox Visual Studio Gadget Template the author has put together a gadget template which has a c# project attached that bundles and deploys your gadget when you run it.

    Alternatively, you may be interested in the link down the page: Create a Vista Gadget Using Visual Studio IDE

    Both involve the use of Visual Studio, which may not be your preferred method of development, but you can get Visual Web Developer Express for free from Microsoft, and I know for fact that the template works in that.