I've written a Gadget to watch NASA TV in the Sidebar, and have noticed two potential bugs.
1. When the Gadget is docked, Sidebar occasionally gets killed by DEP 2. If you zip it up into "NASATV.gadget" and double-click on it to initially install it, Sidebar crashes. If you reload Sidebar, it seems to work fine and has added the gadget.
Code as follows:
gadget.xml:
<?xml version="1.0" encoding="utf-8" ?> <gadget> <name>NASA TV</name> <namespace>www.nasa.gov</namespace> <version>1.0.0.0</version> <author name="J.Abbott"> <info url="http://www.nasa.gov/multimedia/nasatv" text="www.nasa.gov" /> <logo src="logo.png" /> </author> <copyright>2006</copyright> <description>Watch NASA TV</description> <icons> <icon height="63" width="51" src="icon.png" /> </icons> <hosts> <host name="sidebar"> <base type="html" apiVersion="1.0.0" src="gadget.html" /> <permissions>full</permissions> <platform minPlatformVersion ="0.3"/> </host> </hosts> </gadget>
gadget.html:
<html> <head> <title>NASA TV</title> <style> body { margin: 1px 1px 1px 1px; } </style> <script src="gadget.js" language="javascript" type="text/javascript"></script> </head> <body onload="StartUpGadget();"> <EMBED TYPE="application/x-mplayer2" SRC="http://www.nasa.gov/55644main_NASATV_Windows.asx" WIDTH=100% HEIGHT=100% AUTOSTART="1" SHOWCONTROLS="0"> </body> </html>
gadget.js:
System.Gadget.onDock = Docked; System.Gadget.onUndock = Undocked;
function Docked() { document.body.style.width = "130px"; document.body.style.height = "97px";
}
function Undocked() { document.body.style.width = "512px"; document.body.style.height = "384px";
}
function StartUpGadget() { if (System.Gadget.docked) { Docked(); } else { Undocked(); } }

Sidebar crashes when adding a Gadget that uses WMP
#1 - I'll try your gadget and see if I can track down this DEP issue - sounds like a bug, either in sidebar or in the WMP ActiveX control.
#2 - Do you by any chance have the sidebar gadget pane open while you're trying to install? There's a known bug that can cause a crash in that scenario.
-Bruce
"Jon Abbott" wrote in message
I've written a Gadget to watch NASA TV in the Sidebar, and have noticed two potential bugs.
1. When the Gadget is docked, Sidebar occasionally gets killed by DEP 2. If you zip it up into "NASATV.gadget" and double-click on it to initially install it, Sidebar crashes. If you reload Sidebar, it seems to work fine and has added the gadget.
Code as follows:
gadget.xml:
?xml version="1.0" encoding="utf-8" ? gadget name>NASA TV</name namespace>www.nasa.gov</namespace version>1.0.0.0</version author name="J.Abbott" info url="http://www.nasa.gov/multimedia/nasatv" text="www.nasa.gov" / logo src="logo.png" / /author copyright>2006</copyright description>Watch NASA TV</description icons icon height="63" width="51" src="icon.png" / /icons hosts host name="sidebar" base type="html" apiVersion="1.0.0" src="gadget.html" / permissions>full</permissions platform minPlatformVersion ="0.3"/ /host /hosts /gadget
gadget.html:
html head title>NASA TV</title style body { margin: 1px 1px 1px 1px; } /style script src="gadget.js" language="javascript" type="text/javascript"></script /head body onload="StartUpGadget();" EMBED TYPE="application/x-mplayer2" SRC="http://www.nasa.gov/55644main_NASATV_Windows.asx" WIDTH=100% HEIGHT=100% AUTOSTART="1" SHOWCONTROLS="0" /body /html
gadget.js:
System.Gadget.onDock = Docked; System.Gadget.onUndock = Undocked;
function Docked() { document.body.style.width = "130px"; document.body.style.height = "97px";
}
function Undocked() { document.body.style.width = "512px"; document.body.style.height = "384px";
}
function StartUpGadget() { if (System.Gadget.docked) { Docked(); } else { Undocked(); } }
"Bruce Williams [MSFT]" wrote:
#1 - I'll try your gadget and see if I can track down this DEP issue - sounds like a bug, either in sidebar or in the WMP ActiveX control.
#2 - Do you by any chance have the sidebar gadget pane open while you're trying to install? There's a known bug that can cause a crash in that scenario.
-Bruce
Yes, Sidebar was open when adding - that explains that one.
Some odd stuff going on with the Sidebar. Did another Gadget to put a ShockWave version of Space Invaders in the Sidebar, which crashes it immediately every time it loads. It works fine in a browser window though.
Should Shockwave work on the Sidebar? I can eMail it to you, if you want to debug.
#2 - Do you by any chance have the sidebar gadget pane open while you're trying to install? There's a known bug that can cause a crash in that scenario.
-Bruce
"Jon Abbott" wrote in message I've written a Gadget to watch NASA TV in the Sidebar, and have noticed two potential bugs.
1. When the Gadget is docked, Sidebar occasionally gets killed by DEP 2. If you zip it up into "NASATV.gadget" and double-click on it to initially install it, Sidebar crashes. If you reload Sidebar, it seems to work fine and has added the gadget.
#2 has been fixed by KB919893. Adding the Gadget no longer crashes SideBar.
Jon
I know that Flash has a bug that can cause DEP crashes; that might be your ShockWave issue too.
I don't know of any similar DEP issue with the WMP ActiveX control, but I haven't had a chance to try your gadget yet to track that problem down.
-Bruce
"Jon Abbott" wrote in message
"Bruce Williams [MSFT]" wrote: #1 - I'll try your gadget and see if I can track down this DEP issue - sounds like a bug, either in sidebar or in the WMP ActiveX control.
#2 - Do you by any chance have the sidebar gadget pane open while you're trying to install? There's a known bug that can cause a crash in that scenario.
-Bruce
Yes, Sidebar was open when adding - that explains that one.
Some odd stuff going on with the Sidebar. Did another Gadget to put a ShockWave version of Space Invaders in the Sidebar, which crashes it immediately every time it loads. It works fine in a browser window though.
Should Shockwave work on the Sidebar? I can eMail it to you, if you want to debug.
Windows Vista
User login
Related topics
- Stop error in installation
- ssid unavailuble
- SQL Server should be in firewall exception list
- Vista Install from download site
- CPU peaks in 5384
- A8R32-MVP Deluxe and SLI
- ACPI.SYS
- Vista Beta 2 in Splitted WinZip Files?
- Can't Boot XP After Vista Install
- Has anyone successfully installed vista on a SIS chipset SAT
- 5308 install hangs
- Creative Sblive! Game Port
- Error As The Setup Is Completing
- Error Code 80070241...Hardware Issues???
- Not rec'n mail
- help 64bit not showing
- vista beta2 start up
- Adapters and Bindings in Vista beta 2
- Download Problems - Not Overlaoded Server related
- BT DRIVES:- OFFICIAL RESPONSE FROM BT
- no control panel
- Attention to Pc-Cillin ... !!!
- update error code 800f0816
- No Messages Displayed?
- Windows Vista Installation - Recommended Specs, but slow mot
- Build 5456
- Looking for a vista tester
- Build 5308 and NVID 7800 GTX (Laptop)
- File feedback
- Disable hibernation
- IE 7 Beta 2 on Vista
- Intel 945GM chipset vista drivers
- Music & Sound Skipping
- HCL?
- USB Security
- Network messages
- 2 Machines/2 Failures
- Windows Vista Launch Date