Gadgets
Recent update: 2008-3-21

Developing in a directory

230 byte By tkroll at 2008-3-7
Hello, I read that you can develop a gadget from a xxx.gadget directory instead of rezipping on every change. How does this work? I can't get the directory recognized as anything but a directory. Thanks, Ty

No "Add Stuff" Link?

225 byte By HitchhikerD at 2008-3-7
<div>Hey,</div> <div>Following the SDK guidelines I went to the live.com page to try and add the sample gadget, but I can't find the "Add Stuff" link anywhere.</div> <div> </div> <div>What am I missing?</div>

Search for a web address, edit it and show the result in Flyout automatically

575 byte By DiasVFX at 2008-3-6
Hi guysI'm studying gadgets development and would like to make some tests with an idea that popup in my mind. Let's suppose that when I hit "enter" on my gadget it does...:- load a webpage (in background)- edit html code (for ex.: delete first 30 lines of code)- show the result in ...

About the access data across the domainUsing Web.Network.CreateRequest API?

977 byte By pluto_sun at 2008-3-6
Hi All, In my gadget developing process, I have to consume web service from a different domain for gadget.start.com or live.com. so I met the issue, when my gadget published in third-party, and user want to use it, he has to change IE security level and set 'access data across domain' ...

Code Sign Error

374 byte By Tomfromcener.co.uk at 2008-3-5
Hi when i do a code sign the publisher is not displaying ...

Submission - what's the second file? Rejection reason?

677 byte By Hans_Schmucker at 2008-3-5
Two things about gadget submission.1. When you submit a gadget you get two fields for files. The first is for a thumbnail, but the second one requires a ZIP file and it doesn't say what the ZIP is supposed to contain (at least in FF). So wht should it be?2. I just submitted a WebGadget and it ...

WMP problem loading file embedded in gadget

638 byte By miltonhowe at 2008-3-3
I am trying to embed an mp3 file into a gadget and then play it using a windows media player.it seems to be not loading the file. when i context-click on the media player i get:WindowsMedia Player cannot play the file because the specified protocol is notsupported. If you typed a URL in the ...

[Q:] Event handler for onchange event (old and new value) - how to?

562 byte By EliBrodsky at 2008-3-3
Hi there,I want to write a JavaScript event handler that handles the 'onchange' event of a drop-down list (<select>). This even handler should take different actions based on the old value and the new value of the select. Is that possible? What I'm looking for is something like ...

Looking for a App

115 byte By Tomfromcener.co.uk at 2008-3-1
Hi Guys / Girls I looking for a app that supports creating cab files and supports sub folders :) any ideas

embedding and updating content

647 byte By swn78 at 2008-3-1
Hello, 2 questions:1. What is the downside of embedding a web page as a gadget? In my case Im trying to convert what is originally a web page into a gadget. Is there any reason why I shouldn't just embed a modified web page?2. Im trying to write a simple gadget that contains links, when ...

WMP

638 byte By miltonhowe at 2008-2-28
I am trying to embed an mp3 file into a gadget and then play it using a windows media player.it seems to be not loading the file. when i context-click on the media player i get:WindowsMedia Player cannot play the file because the specified protocol is notsupported. If you typed a URL in the ...

Where's the "Add to Space" button

746 byte By nguyentanbao at 2008-2-28
Hi,I have uploaded my first web gadget, called A, onto the library. Everything worked fine.There's a bug in A. Then I edit A, upload a new zip file. A change to "pending approval". This morning, I logged in my gallery and I see 2 versions of A.The old A: with a bug in it, there are 2 ...

Shared memory reading by gadget

251 byte By target at 2008-2-27
Hi All, Is it possible to access to shared memory by gadget? Do you know any implementation/sample gadget/projects that uses shared memory (storing some data by process for example, and reading and displaying this info by the gadget). Thanks

embedding and updating content

647 byte By swn78 at 2008-2-27
Hello, 2 questions:1. What is the downside of embedding a web page as a gadget? In my case Im trying to convert what is originally a web page into a gadget. Is there any reason why I shouldn't just embed a modified web page?2. Im trying to write a simple gadget that contains links, when ...

First gadget nearly complete

1016 byte By IanPaskin at 2008-2-26
Hi, Ive been writting this gadget and getting towards finishing version 1, however while im tidying the last few bits up i thought i would post it here and get some feedback from you guys. It shows xbox 360 gamer tag info from mygamertag.net you need to add your gamertag in the setting page. ...

to MS Web Gadget API team..

790 byte By humbroll at 2008-2-26
hi. i develop my app by ur MS Web Gadget i want to some.. below.i want setting my XHR's header. in general JavaScript code.. var xmlHttp = new XMLHttpRequest(); xmlHttp.setRequestHeader("hearname","value") i can setting XMLHttpRequest object's request header. but i dont ...

How can I access a local database (.mdb) in gadgets?

19 byte By AllenHsu at 2008-2-25
can i use vbscript?

center the gadget in the modules in the spaces live com

983 byte By albidochon at 2008-2-25
hi everybody,I have a little problem whith the center tag.I want my gadget to be centered in the module, and I use the CSS file to do this. As that did not function, i tried to use a global div whith a .style.align='center'; as well in the CSS file than in the js file.......still don't work, ...

addImageObject image shifts when you change its size

3154 byte By JonathanAbbott at 2008-2-24
In the following example, the image shifts down and right - as if it's being scaled from the bottom right corner. I used an image 1024x768 pixels in size.gadget.html element:<g:background id="bodyBackground" src="blank.png" style="width:100%; height:100%;" />code to add the ...

Where's the "Add to Space" button

746 byte By nguyentanbao at 2008-2-24
Hi,I have uploaded my first web gadget, called A, onto the library. Everything worked fine.There's a bug in A. Then I edit A, upload a new zip file. A change to "pending approval". This morning, I logged in my gallery and I see 2 versions of A.The old A: with a bug in it, there are 2 ...

Gadget close/settings/move icons are incorrectly placed after Sidebar is reloaded

511 byte By JonathanAbbott at 2008-2-23
Just a minor observation, but one for the MS fix list:The three (or two if you have no settings) icons that appear when you hover over a Gadget are incorrectly placed for detached Gadgets after Sidebar is reloaded. They're shifted left 6 pixels.To reproduce this:1. Add the Calendar Gadget2. ...

Flash SetVariable

362 byte By Follower46 at 2008-2-23
Howdy.I've been working on a gadget that allows the users to interact with a flash player by clicking on urls in the gadget.I'm having problems, though, when I try to use the "setVariable" command in javascript. Also, it seems that flash cannot access any javascript commands ...

addImageObject rotation causes corruption if Margin isn't 0

1031 byte By JonathanAbbott at 2008-2-22
In the following example, the aliased surround around the image is not placed correctly. Sidebar doesn't take account of the body Margin's.blank.png is a 100% transparent imagetest.png is a solid white image 300x400<BODY style="position:absolute; width:500px; height:500px;" > ...

About updating and submissions

789 byte By Drs.P. at 2008-2-22
I think this is a message for the aproval team.The 1st when I submit a webgadget for spaces (ok live.com too) both add buttons where availble http://gallery.live.com/liveItemDetail.aspx?li=e140b8bc-72e8-4902-8adf-3036e327cfd2&l=1 after we''ve updated only the live.com add button is ...

Cannot add a gadget to sidebar

433 byte By noni78 at 2008-2-22
Hello,I have the dutch version of windows ultimate vista. When i try to put a gadget from http://gallery.microsoft.com i can not add it to the sidebar. Ive download it install it but it's not visible in windows sidebar/gadget map and it will not appear on the sidebar.What i'm doing wrong. The ...

Dynamic content from my personal site.

318 byte By cwallace at 2008-2-22
Are there any good tutorials on doing this?I want a small icon of my site on the side bar that when clicked opens in a window that lists recent activity on message boards and other dynamic content from my sites DB...Amature here so bare with my ignorance..:)Thanks in ...

Flash movies

78 byte By SpaceD at 2008-2-21
Hi all, is it possible to embedd a Flash movie in a Sidebar gadged?

Can't get xml back from Amazon Web Service?

1147 byte By incendy at 2008-2-21
I can put the feed url in the browser and all is well, but I can't seem to get a response using the code belowfunction GetFeed() { var r = Web.Network.createRequest( Web.Network.Type.XML, m_feedUrl, {proxy:"generic", numItems:m_numItems}, OnFeedReceived); r.execute(); }Is the ...

Detecting Gadget visibility / screen saver & power saving state

404 byte By MikaT?htinen at 2008-2-20
Is there anyway to detect if a gadget is visible or covered by other applications or if the screen saver / display power saver is on?I'm creating kind of a slide show gadget which will download images from an external server and it's wasting of server bandwidth to keep downloading the images ...

Rendering problems of the gadgets (mainly the height)

482 byte By danielebonini at 2008-2-20
About the ccs problems, the problems rendering the height of the gadgets in Live Spaces. Maybe is not just that the problem... I have noticed that if I right click the gadget and I refresh the start.com service which starts the gadget, the gadget is rendered always in the right way. This ...

Possiable to have text with no background or transparent background

83 byte By TobyBroom at 2008-2-19
I'd like to have text just floating with no background at all how would I do that.

Non Editable Text in Spin control(textbox)

306 byte By dmouser at 2008-2-19
I am using Spin Control (Javascript) in classic ASP Web application. Suppose i want to add Spin Control for seconds , I would like to display units in the spin box eg. 12 seconds where seconds is not editable but 12 is editable. I want to display 12 seconds in textbox. What could be the ...

MSN Weather Gadget

2665 byte By LorneReap at 2008-2-18
I have been able to get my gadget running through pointing it to the weather channel, with a secondary search in msn weather.But I can not get it to work properly if I point the script to msn weather, it seems that get an error that states that the page is private or in another location.This ...

OnChangeEvent.fire does not really fire event. (MS CRM server)

1263 byte By agnonikov at 2008-2-18
I have very strange problem with MS CRM. Some client-side code are not working at client computers.Finally I traced it down to DHTML behaviour problem.In MS CRM we have IMG.lu.htc behaviour, which implements some kind of lookupcontrol. To fill it I can eighter use a popup dialog (window) with ...

Gadget creep

356 byte By JonathanAbbott at 2008-2-17
Just an observation, but... Has anyone else noticed that Gadgets move of their own accord when Sidebar loads?For instance, if Sidebar is closed by DEP, Gadgets randomly creep to the left when it restarts.Then there's the order on the Sidebar itself. If you shutdown/restart or exit and reload ...

problems with the css file

713 byte By albidochon at 2008-2-17
hi, everybodyFirst, i want to thank everybody here, because i 've build my first gadget all in java because of the help and the posts here...Not so easy.....I still get a problem because of the CSS file, it looks like the js file don't care of this file, although i declare the className and ...

Changing <gtext>.value doesn't update <gtext>.width

353 byte By JonathanAbbott at 2008-2-16
Add a gtext element:bodyText = bodyBackground.addTextObject("This is some text", "Arial", 20, "Black", 0, 0);Then change the text to something shorter:bodyText.value = "Text";And you end up with "Text" streched to fit the original width of "This is some text"! Surely, it should recalculate ...

How to Display and/or Host Licrosoft Gadgets for your Website

14810 byte By rjstinyc at 2008-2-16
I suggest that you download this instruction file in either Word or PDF as the images are not appearing via MSDN forum.Or dig into the code and d/l from the respective servers.Gadgets.pdfGadgets.doc The simplest way to display any Microsoft Live.com gadget is to wrap it in an iframe on your ...

onSettingsClosing, onFocus and other events...

1324 byte By Chrisull at 2008-2-15
I have a problem (with one solution), where the following happens...Ok desired chain on events:Gadget displays some text based on XMLSettings window openedSettings changedSettings window closedGadget displays some different text based on different XMLWhat's happening:Gadget displays some text ...

SetPreference does not always work?

649 byte By incendy at 2008-2-15
I never had this problem before, but in my latest gadget it seems that setpreference does not always work! Has anyone else had this happen? Or know why! Thank you in advanceMy code is straight forward so I don't know what I could be doing that would make it only work most of the timefunction ...

location.reload(true) kills the System object?

978 byte By jdunning at 2008-2-15
I stuck a reload button in my gadget so I could easily refresh it to see the effects of changing something in the code. The onclick handler for the button is onclick="window.location.reload(true)". This does in fact reload the HTML and JS. But it seems to also kill the System object ...

How to Display and/or Host Microsoft Gadgets for your Website

14810 byte By rjstinyc at 2008-2-15
I suggest that you download this instruction file in either Word or PDF as the images are not appearing via MSDN forum.Or dig into the code and d/l from the respective servers.Gadgets.pdfGadgets.doc The simplest way to display any Microsoft Live.com gadget is to wrap it in an iframe on your ...

System.Gadget.Flyout.file gives unspecified error

886 byte By LuisMiguelAbreu at 2008-2-15
Hello guys.the following code is giving a javascript error which says "unspecified error":System.Gadget.Flyout.file = "channel.htm";System.Gagdet.Flyout.show = true;Any clues on why this is happening? btw, the file property is the only one that is missing. thanks a ...

Popup modal frame from web gadget

517 byte By nguyentanbao at 2008-2-15
Hi,I've tried to build a web gadget for Spaces. I'd like to implement a behaviour like when I click Customize while editing my spaces: it will popup, let's say a MODAL FRAME. And this frame can render a new URL inside it like another windows of the browser. And this should be cross-browser ...

Lots of ways to corrupt an image with g:background!

2315 byte By JonathanAbbott at 2008-2-15
For the following examples, use any solid image, with no transparency and can be any image format.Using the following g:background, will rotate the image, but corrupt the right and bottom areas. The outline of the image is there, but the image itself is transparent within it. <g:background ...

attachElementBindingSync

135 byte By Raros at 2008-2-15
Can anybody explain what is this binding(Web.Bindings) all about and when to use "attachElementBindingSync" method? Thanks

HTML form in gadget submits to new window. How can I stop this?

1077 byte By radad23 at 2008-2-15
Hi all, I'm new to sidebar gadgets as well as Windows Vista. I'm a web developer, coming from Windows 2000 Pro, where I had a small php-based form that kept track of my hours. In Windows 2000 I was able to add it to my desktop fairly easily with "Active Desktop". It is proving to be somewhat ...

The gadget.xml file should only refer to .js files that are in the package. It shouldn't re

786 byte By peking2toronto at 2008-2-15
Hi,My submission was not approved due to the reason in the subject, however I didn't refer any remote .js files. I just refer an remote .xml file which I learned from the <<Windows Live Gadget Developer's Guide>>, Consuming XML as a Source part. So I wonder this reference is not ...

Maximum size of settings window?

461 byte By Chrisull at 2008-2-14
Is there a limit to how large the settings dialog can be displayed as ? Anything in the CSS that's bigger than about 400 by 300 currently doesn't get displayed, it just gets cropped to that. Well the content of the dialog is displayed still but it goes off the limits of the dialog... Is this ...

The gadget.xml file should only refer to .js files that are in the package. It shouldn't refer

786 byte By peking2toronto at 2008-2-14
Hi,My submission was not approved due to the reason in the subject, however I didn't refer any remote .js files. I just refer an remote .xml file which I learned from the <<Windows Live Gadget Developer's Guide>>, Consuming XML as a Source part. So I wonder this reference is not ...