windows-desktop-gadgets

Can I save a record in a Windows Gadget in a file or other storage (database, etc.)?

I'm planning to create a simple gadget to create a TO DO list application. This is just for practice and to explore Windows Gadget. How can I store the values in the database? As much as possible, I don't want to set up a local http handler file to be a means to store value to file or database. Note: I tag this with html and javascript...

How to draw procedural graphics in Vista Sidebar?

How do I draw procedural graphics in a Vista Sidebar gadget? I have a gadget that collects data over time and I want to draw animating graphs. My current approach is to draw the graph with VML that I update from JScript on a timer tick. Is this the best way? Can I return bitmap bits from a DLL function as the srouce to an <IMG>? E...

Windows Gadgets & Jquery

I am creating a Vista Gadget and I haven't been able to get JQuery to work. I have tried a few very simple calls like this: $(function() { $('a').click(function() { $('#box').html("test"); }); }); I know you can use JavaScript so it doesn't make much sense to me why you wouldn't be able to use a library. Does an...

Desktop Gadgets and Widgets to Assist Programmers

Does the collective genius here know of any Sidebar Gadgets, or Dashboard Widgets that help developers do their work? Tasks like: The ability to quickly look up functions/methods Class descriptions Stackoverflow questions filtered by a specific group of tags You name it. I'm desperately looking for a reason to use Vista's Sidebar, a...

Differences between gadget programming in Vista and Windows 7?

Besides the obvious fact that there's no sidebar in Windows 7, are there any differences in the way gadgets are put together? Anything I should look out for / resources I should read through? Thanks! ...

Google Desktop Gadget to Vista Sidebar Gadget converter

Hello, everyone! I have some problem. I need to convert Google Desktop Gadget (not iGoogle gadget) to Vista Sidebar Gadget Do you know any way to do this? Thanks for any answers ...

Why won't Vista Sidebar Gadget show up in Gadget Gallery?

I'd like to create a sidebar gadget in Vista. I've followed this tutorial on how to create one to the letter. However, the gadget simply will not show up in the Gadget Gallery when I go to Add Gadgets in the sidebar. I've tried resetting the sidebar, deleting the settings file next to the gadgets folder, making sure my xml file is stor...

Filling in a form client-side [Javascript]

I'm coding up a small Vista/7 sidebar gadget for our web based employee schedule system and I've run into a Javascript problem that my Google-FU can't solve. I can't figure out how to fill in a login form from the client. I'm creating a new ActiveXObject, navigating to the site, but lost as to where to go from here. var conn = new Acti...

Vista Sidebar Widget + jQuery = Problems with the flyout.

I've created a Vista sidebar widget that uses jQuery to fetch XML and display some basic details of the XML response in the main HTML of the gadget (a date for an event). However, I'm having a devil of a time getting the flyout page to work correctly (or at all) to display the details once the user clicks on a link. Since I'm passing t...

Vista Sidebar Gadget not showing flyout - System.Gadget.Flyout.show not setting true.

I have a very strange bug going on. I cannot get the flyout to show on my gadget, despite having reproduced the flyout code character for character from a gadget that has a flyout that works fine. Here's the code: function doFly(i){ var div = 'div_' + i; flyHTML = $(div).html(); if (System.Gadget.Flyout.show == false){ System.Gadge...

How to get started with Windows 7 gadgets

I have never programmed a gadget for Vista or Seven, but I would like to try to make one. But where do I start? I have tried to search around on google and msdn, but I haven't managed to find anything useful. Either very, very old stuff (Vista beta stuff), already made gadgets or differences between gadgets in Vista and Seven. But that d...

Display javascript value within HTML body

i have the following relevant code in the header of my html doc: test1.value = System.Gadget.Settings.read("Date1"); And I'm trying to display the test1 value in the body of my html doc. It displays when i use: <input type="text" id="test1" /> But isn't working when i use (in the body): <script type="text/javascript"> documen...

Vista gadget/javascript passing variables question.

I've been struggling with this and can't find a single tutorial on what seems to be a very simple idea. I've written to the settings in the settings.html file using: System.Gadget.Settings.writeString("Date1", month + "-" + day + "-" + year); And that seems to have worked. It displays properly in the settings. Now, in the main file,...

Why doesn't addTextObject() with a jQuery variable work?

When developing a Windows Vista/7 Gadget, and putting out text using addTextObject(), this works: var mytext = "Hello"; document.getElementById("background").addTextObject(mytext , "Verdana", 11, "white", 10, 10); But I cant get this jQuery selector into a variable to work: var mytext = $("#myid").text(); document.getElementById("bac...

Javascript variable not displaying properly.

I'm trying to create a Vista gadget, I've properly stored my Date1 variable and am trying to pull it: <html> <head> <title>None</title> <link href="style.css" rel="stylesheet" type="text/css"> <script type="text/javascript"> System.Gadget.settingsUI="settings.html"; System.Gadget.onSettingsClosed = settingsClosed; function settingsClo...

Vista Gadgets

I have created a sample gadget (of course using google :D). It shows "Hello World!". I have created a .gadget file for installation of this gadget. I have written an application that does ShellExecute to install this gadget. I can see my hello world gadget. Fair enough. And good lessons learnt. Now I would like to write another applic...

Tracking user actions - analytics for applications

I'm closing in on finishing a Windows Desktop Gadget that downloads plugins from my web server. I'm wondering how I can track the use of these plugins for reporting purposes like seeing which plugins are popular in which countries, how many times a plugin is used per day/month/week and other stuff like that. Logging this on every user ...

Reliably detecting OS architecture in a Windows Desktop Gadget

I have some Javascript code that will programmatically register an COM interop assembly by writing all the necessary keys and values to the registry. An older version of this COM object was written in VB6 and didn't work correctly on x64 versions of Windows unless the user manually ran the x86 sidebar.exe, so some of our users would hav...

How do I create a Sidebar for my application in VC++?

How do I create a Sidebar for my application in VC++? Something similar to the one on Windows Vista or even Google Desktop Sidebar, which can be docked to the desktop window rather than to the application window. ...

C# tutorial to write gadgets

How can I write gadgets for the Windows 7 desktop using C# and Visual Studio 2008? I'm looking for tutorials and resources on that topic. ...