windows-desktop-gadgets

JPEG Shows in Firefox but Not IE8

Hi, I'm working on a Sidebar Gadget and cannot get my JPEGs to show up (PNGs work). When I try to open the file by itself in IE8 it doesn't work. Firefox, of course, can open it fine. JPEG Details: Dimensions: 1080X900 180 dpi Bit depth 24 Color representation: uncalibrated I've found some things talking about the images being compr...

Uninstallation of Vista gadget.

I have developed a test vista gadget. Zipped it and renamed it to ".gadget". Its a valid installer for the gadget & it works well. Is there any standard way to un-install the same gadget? What I am looking for is programmatic way to un-install the gadget. ...

How to identify, fix, closure memory leak in Windows Sidebar gadget?

i've written a gadget for Windows Sidebar. This essentially means that it is a miniature web-page, that runs for months on end. After a few weeks the memory usage (working set) of the sidebar.exe process that houses 3rd party gadgets runs into the hundreds of megabytes. Without a way to identify the source of memory leaks, i simply as...

Gadget development

Hi! 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 somebody can help me, I'll to stay grateful! Thanks Erik ...

How to set g:text style to bold font in a Windows Gadget?

I'm developing a Vista/Win7 Desktop Gadget that uses a translucent g:background (doc) area with g:text (doc) on top. I'm adding the text via addTextObject (doc), and this all works as expected. However, I can't figure out how to set that text to bold style. There doesn't seem to be a way to do this directly via the exposed properties th...

Checking the value of System.Gadget.Flyout.file

I've been working on a Windows SideBar Gadget wherein I have multiple flyout pages. When I go to display one, I want to check if it is already active or not, so I thought I could just check the value of System.Gadget.Flyout.file. However, when I press the button control that causes this flyout to pop out, the background of the gadget dis...

UDP request from a Windows Gadget

How can I make a UDP request from a Windows Gadget? This gadget is very, very similar to what I want to make, but I'd like to make a gadget that gets game information from TF2 servers by making a UDP request. I took a look at the code for the afrementioned gadget and I really couldn't make heads or tails of it - I was trained in Java, an...

How can Windows Sidebar Gadget communicate with my desktop app?

Hi, 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 app? An idea that i had was to have a built-in web server inside the app, and the gadget ...

converting TForm win32 app to Win7 gadget (delphi)

What is the process of converting win32 application (a small popup window actually) to win7 gadget? Do I need to convert my exe to activex component, can I still use TForm ? it would be nice to have support for both Win7 + Vista. ...

installing gadget to user desktop

Is is possible to install gadget to user's desktop somehow? I believe its needed to copy files to folder: C:\Users\curusername\AppData\Local\Microsoft\Windows Sidebar\Gadgets\test.gadget but how to register/activate my test.gadget? Is it enough to shell execute test.gadget? ...

Windows Sidebar Gadget Reload

Hi All, 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 sho...

Javascript code Substring

Hi, I'm trying to create a gadget for win 7, that retrieves the RSS feed from a site. So far so good, everything works fine, just that I want to add something extra. The gadget so far extracts the link from the feed and stores it in a variable named 'articlelink', the link is usually something like "h*t*t*p://site.ro/film/2009/brxfcno-/...

Windows 7 gadget flyout window question

I created a gadget that displays the feed from a website and displays it in the main window. If I click on one of the news I get the flyout window and it gives me more information. I also have a search option in the main body, that does the search on the site but it opens in the browser window. My question is how can I make the search ...

Windows 7 Gadgets - Windows 7 Logo Program Certification

One of the requirements for the "Windows 7 Logo Program" is that the application must be a standalone application. Does a Windows 7 gadget qualify as a standalone application? To my knowledge, a gadget runs under the Sidebar.exe process (also in Windows 7). Though the Sidebar is not visible in Windows 7 it runs in the background when a ...

Windows 7 Gadgets - Programming language for development

Which is the preferred development language for Windows 7 gadgets? I know that a gadget uses Xml, Html, CSS and Script(Java/VB) but I need some advanced features such as: Writing/Reading a file Getting list of running processes Sending keys to an active application For the above tasks, I will need to use the Windows API or, if possi...

Good WPF or silverlight windows gadget examples

Does anyone have a good example of a WPF or silverlight windows gadget? ...

Windows 7 sidebar gadgets

Do you need to write Windows Sidebar Gadgets in C#, or should I be able to write them in another language, for example Delphi? Thanks ...

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 that I can use the RunGadget method. Here's what I got so far from reading information abou...

Error when calling a .net dll from Com Visible dll using javascript

I am developing a windows 7 gadget.I am creating an activex object and loading the assembly.I am following the methodlogy mentioned here at codeproject (GadgetInterop). One of the tasks of the gadget is to interface with Facebook. This is how I am referencing: Javascript creates a GadgetBuilder object. From here I load the my library. s...

Windows Gadget Font Error

I've written a Sidebar gadget in Windows 7, and added a g:textObject, and later on change the value through variable.value. But when run in Windows Vista, the text seems to compress itself strangely. Is there anything wrong with this code? var clock = document.getElementById("background").addTextObject("Time", "Nyala", 18, "white", 11...