Questions tagged [windows-desktop-gadgets]

Windows Desktop Gadgets is the official name for the default widget interface on Windows 7. Windows Vista referred to them as Windows Sidebar Gadgets, but it was decided the sidebar that they would dock to should be removed in later versions of windows.

Windows Desktop Gadgets is the official name for the default widget interface on Windows 7. Windows Vista referred to them as Windows Sidebar Gadgets, but it was decided the sidebar that they would dock to should be removed in later versions of windows. They are written using standard web technologies (JavaScript, HTML, CSS) but have access to specific System APIs. They can also run unsigned ActiveX components without prompting the user for authorisation.

A basic Windows Desktop Gadget consists of 3 files;

  • a manifest file, gadget.xml, containing meta data such as title, description, author, etc;
  • a HTML file for the main gadget window; and
  • an image for the gadget background.

A gadget is packaged up for installation by compressing the files to a zip or a cab format and then renaming the extension to .gadget.

Example gadgets

a clock, a calendar and a weather application. http://i.msdn.microsoft.com/dynimg/IC295047.png

Windows Desktop Gadgets on Stack Overflow

The following is a list of useful questions tagged [windows-desktop-gadgets]:

Other references

230 questions
0
votes
2 answers

Silverlight Gadget, Save data on client machine

i have a Silverlight base desktop gadget. it was function well but want to save settings of gadget and updated info in to Xml and save on client Machine. is that a possible or not other way is to save on Server and map with machine name , but it…
Chirag
  • 375
  • 4
  • 30
0
votes
2 answers

C#: Referencing a windows shell interface

I'm pretty new to C#, I'm trying to complete a little side project I've been working on that uses a small amount of C# code to assist the development of a Windows Desktop Gadget. Basically, I'm trying to implement the IDesktopGadget interface so…
Andy E
  • 338,112
  • 86
  • 474
  • 445
0
votes
1 answer

How to enable Gadget resize

If we look at out of the box Windows gadgets such as Weather , they include a button (apart from settings) which enables the resize of the gadget window. Does anybody know how can I include this button my own gadget ? I have built a custom gadget…
Madhur Ahuja
  • 22,211
  • 14
  • 71
  • 124
0
votes
3 answers

Is this running malicious software from a System.Shell.execute?

I have downloaded a Window Gadget and found this function from the javascript. What this function does? Is it malicious? Before I run the Widget, I commented out first the function call and it seems this function is not necessary to run the…
yonan2236
  • 13,371
  • 33
  • 95
  • 141
0
votes
1 answer

Widget Windows - consume Web Service REST with JSON response

I implement a gadget windows and I can call a REST Web Service. I have search on many topic in google and in stackoverflow, but I haven't fund the solution of my problem. I want to use an ajax call, but it doesn't work, the "$" isn't defined. My…
0
votes
1 answer

Detecting which desktop gadgets are running on Windows 7 using C#

I need to detect which Windows 7 Gadgets are currently loaded. I know for a fact that the process they run within is "explorer.exe" and that the each gadget has a window class is called SideBar_HTMLHostWindow with in instance of Internet…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
0
votes
1 answer

HTML page to windows gadget

I created a basic HTML5 page with some canvas drawing and third party meter gauge. The page works well in browser. I created a Windows 7 gadget out of it like given here: http://blog.brandoncopley.com/?p=69 But the gadget shows only white color. It…
MaxRecursion
  • 4,773
  • 12
  • 42
  • 76
0
votes
0 answers

HTA/VBScript Windows Gadget stops on sleep and doesn't resume

I have a Windows Gadget I created that performs a function within a sub, which is timed (currently 10 seconds), it will check each 10 seconds then wait and loop and perform the function again, however, the loop stops when the PC comes out of sleep,…
Hyperjase
  • 127
  • 2
  • 21
0
votes
2 answers

How can Windows Sidebar Gadget communicate with my desktop app?

I've got a .NET 2.0 Windows desktop application (time-sheets) which i develop and wanted to add a Gadget interface to it (so that app runs hidden and is controlled via the gadget). What is the easiest way to get my gadget to communicate to my…
Muxa
  • 5,563
  • 6
  • 46
  • 56
0
votes
2 answers

Windows 7 Gadget debugging with Visual Studio 2010

i try to debug a windows gadget. Just-In-Time debugging fires up and i can see an VS2010IDE attached to the sidebar process. But there is no source code to debug! Only a blank file with the yellow debug pointer. What is my problem? Configuration of…
Michael Piendl
  • 2,864
  • 1
  • 27
  • 21
0
votes
1 answer

Create Desktop Sidebar Gadget using Swing

I would like to create Gadget like Window 7 Calendar gadget. Can I develop it using Java Swing or any other libraries or API's are available in Java for desktop gadget?
Master Mind
  • 2,386
  • 3
  • 31
  • 48
0
votes
1 answer

develop Windows 7 gadgets.Need to extract text from a website

I want to develop a Windows 7 gadgets in which I need to extract some text(to be specific a list) from a website.Is there any way to get this done using JavaScript? How could i possible do it? Is there any website or book to help me develop Windows…
gourxb
  • 325
  • 1
  • 5
  • 13
0
votes
0 answers

Delphi 5 for Win7 Gadgets?

I have a number of complex Delphi5 projects which I am considering upgrading. Could anyone tell me: The earliest version of Delphi I would have to upgrade to in order to develop a gadget for Windows7 or can it be done to a good standard with…
notidaho
  • 588
  • 8
  • 28
0
votes
1 answer

Display information as gadget or winform NotifyIcon?

I am going to develop an application which will periodically query against an database and display the most updated scheduler/queue information for their product process. My initial thought is that a gadget could do that, as the main function is to…
Paul L
  • 2,240
  • 5
  • 36
  • 55
0
votes
1 answer

Gadget development

I'm searching about gadget development when I found this site. I'd like know if somebody know how get open windows name? I want get a collection of all the open windows. I know in VB.NET, but dont know in DHTML/VBScript for Windows Vista Sidebar. If…
Erik Assunção