Answer Questions
paulixml Gadget post info to new web form
I've created a gadget which is a simple HTML form with 2 text boxes and a button. When you click the button it should open a new IE window and send the information to the target URL as a post. The problem is when installed as a sidebar, although the IE window is opening with the correct page, the information in the 2 textboxes does not seem to be transferred. I have tested the simple HTML form by opening it in IE and all functionlity works fine, but not when I install it as a sidebar. Is there something obvious that I am missing Any help would be appreciated. Thank you Hi Bruce, First off, I really appreciate you responding to my message. Thank you for the help. I'm not sure if I understa ...Show All
K_L Extending Classes in HDi - not working in Emulator
We're seeing some weird behavior on the Toshiba Emulator. Object oriented javascript runs well in HDi - you can have multiple extensions of a class and they act as expected. However when this script was run in the Emulator all extended classes act like the very last class loaded. So for example if a Food class is extended to veggie, fruit and grain; in they Emulator they all act like the grain class (assuming it was the last one loaded). Am I missing something in the ECMA spec that prohibits object oriented javascript Peter, were you able to repro this behavior on the/your emulator Hey Will, Here is what the spec says ECMAScript supports prototype-based inheritance. Every constructor has an associated prototype, a ...Show All
Sniper167 Flash movies
Hi all, is it possible to embedd a Flash movie in a Sidebar gadged Does anyone know if there are any workarounds to get flash to work without crashing sidebar If not do you forsee sidebar and Flash ever playing nicely together regardless of who is to blame There are so many cool apps built in Flash that would scale to sidebar, just thinking of flashlite/phone apps for one. Thanks I've just downloaded and confirmed this version of flash player is working as it should when in use with sidebar. Thank you Jonathan and Bruce for letting me know! Let the games begin! As Jonathan mentions, I believe the latest version of Flash fixes those DEP issues, and should work fine with the sidebar. ...Show All
Yinon Help With DOM Creation From Script
I am having trouble with the code below. It emulates fine on the PC, but the Toshiba player is having problems with the createElement line. It is leading to a HDDVD_E_INVALIDCALL error on the player. Bookmark = null; results = new Object(); results["bookmark"] = XMLParser.parseString("<bookmarks></bookmarks>"); Bookmark = results["bookmark"].createElement("BOOKMARK_FILLER"); Bookmark.setAttribute("title","INIT_FILLER"); Bookmark.setAttribute("time","00:00:00:00"); results["bookmark"].documentElement.appendChild(Bookmark); Have you been able to try this on any other software players, like on the Qosmio I will see if we can find an answer from Toshiba... no promises though. Have you upda ...Show All
Vaish Can't set Focus
Hello Guys, I am new to iHD and just started to write some iHD code. Now I arrived at the first problem: <div id="main"> <div id="some_other_div_already_with_buttons" style:display="auto"> <!-- here are already some buttons --> </div> <div id="surrounding_div" style:display="none"> <button id="button" /> </div> </div> Now I want to set the button to visible and set the focus on it: document.getElementById("surrounding_div").style.display="auto"; document.getElementById("button").state.focused="true"; document.getElementById("button").state.unsetProperty(" ...Show All
Benj78 attachElementBindingSync
Can anybody explain what is this binding(Web.Bindings) all about and when to use "attachElementBindingSync" method Thanks The best way to learn about bindings is to read the SDK and API reference . In a nutshell, a binding is a self-contained component that does its own initialization and cleanup and can expose events and methods for others to call. A binding can be as simple or as complex as you like. A simple example would be the binding that gives a button the live.com look-and-feel (blue gradient background). A more complex example would be a binding that acts as a UI control, such as a filmstrip control (seen in a few Microsoft gadgets). Another example would be your gadget's main clas ...Show All
shekhar saran How to add HDMI support in video miniport driver?
I have some experience on VGA compatible video miniport driver development. Now the interface between the display card and monitor changes to HDMI from VGA interface. I don't know how to modify the video miniport driver to support HDMI interface. As I know in the VGA compatible video miniport driver, I need to implement SVGA functions. Now for HDMI, what should I do Hi Vicky, Since this forum is mostly about Media Foundation (the new multimedia platform for Windows Vista), and it sounds like your question has to do with driver development, I might recommend trying one of the newsgroups: http://www.microsoft.com/communities/newsgroups/default.mspx . Many apologies for not pointing you to a specific newgroup; I don't know which on ...Show All
Evan Hennis Clarification::Multiple Timing Sections::Regarding "use" attribute
In a markup having multiple <timing> sections , can a cue in timing_section_1 refer to a "def" in timing_section_2 and vice versa using "use" attribute Thanks I don't recall any restrictions on this. A strict reading of 7.7.2.9.10 seems to disallow cross timing block references: "The defs within a timing element are not timed, but simply act as a common resource for other descendent elements of the timing element ." (emphasis mine) ...Show All
NemanjaTheLost Sidebar gadgets outside the sidebar?
Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr Now I can't see it but that is definitely what I was looking for. Thanks, chr Don't use files whatever you do - as you say, it's far too slow. Use the registry. Write to your own key under HKEY_CURRENT_USER, it uses next to no CPU time. var oShell = new ActiveXObject("WScript. ...Show All
Ratheesh&#42;MCP&#42; attachElementBindingSync
Can anybody explain what is this binding(Web.Bindings) all about and when to use "attachElementBindingSync" method Thanks Thanks for a very understandable and informative post, ToddOS. There is one thing that I wonder: this is the way to create a binding to an DOM object which is loadingContainer in your example. What I'd like to build is the common object to process some functions not relate to DOM object (kinda my own library to reuse later). Is this still applicable way If I try to replace loadContainer in Web.Bindings.attachElementBindingSync by null . Will it still work or need another approach Thanks, Bao Nguyen Raros wrote: Thanks ToddOs for your reply... ...Show All
memodude Can I create byte stream from network source?
I want to create IMFByteStream instance using source resolver. When I use files on disk as the source URL, all is fine. But when I use network source ("mms://streaming_server/file.wmv") as source URL, the resolver's CreateObjectFromURL method fails with error code MF_E_UNSUPPORTED_SCHEME. I tried using "http:", instead of "mms:", but that fails too. Is "mms:" or "http:" scheme not registered with MF by default ~ UK All right, I'll give this a try and see what happens. yes, I have. That fails too. What is more confusing is that if I want to create a Media Source for the same URL using source resolver, that succeeds. So it is clear that MF has t ...Show All
GaryMcC Missing WMCreateWriter in wmvcore.lib
wmvcore.lib shipped with DirectShow (included in the latest PSDK) doesn't list many functions exported by wmvcore.dll (e.g. WMCreateWriter). Does anybody know the reason for this and where I can obtain wmvcore.lib that matches wmvcore.dll I just happen to know some of the convoluted history of the DShow SDK. :-) I'm not sure about the Format SDK issue you're seeing, but I'll see if I can track down an answer. ---------------------------------------------------------------------------- Mike Wasson, DirectShow SDK Documentation This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. (c) 2006 Microsoft Corporation. All rights re ...Show All
KonRi How to implement various shape value in <area> ?
I am trying to implement area element; shape value is circle. <area accessKey="U+0031" id="p1.png" coords="(100, 100, 7)" shape="circle" state:enabled="true" style:backgroundImage="url('P1.PNG')" state:focused="false" state:actioned="true" state:pointer="true" state:value="false" style:border="2px solid #000000"/> But this is not working for any shape value except for default. Please suggest the reason for the same. Thanks Peter. The coords parameter is space-delimited: coords="100 100 7" Also the id should not have a period in it id="p1" Many of t ...Show All
flash.tato Problem with onClick in simple gadget
I'm trying to do the same thing Daniel Moth did in his great video but can't get the onclick to work. I get the onmouseover to work, but onclick just acts as if it's not there. here is the javascript and html causing me the grief. any ideas Peter Kellner http://peterkellner.net ASP.NET, MVP <html xmlns="http://www.w3.org/1999/xhtml"> <script type="text/javascript"> function setupgadget() { //machName.innerHTML = System.Environment.machineName; //<span id="gadgetcontent"><span id="machName">Not running in Sidebar!</span> } function toggleFlyout() { //System.Gadget.Flyout.show = true; //Sytem.Shell.execute("notepad"); //System.Sound.beep(); } function ...Show All
Bystrik Permissions in appdata\local\microsoft\windows sidebar
my gadget calls a bat file which in turn calls an exe. i get permission denied and the bat will not run when my gadget it located in 'C:\Users\%username%\AppData\Local\Microsoft\Windows Sidebar\Gadgets'. It however works perfectly when my gadget is placed in 'program files\windows sidebar\gadgets' directory. My account has full permissions to the folder in appdata and i can run the bat file manually, but the gadget will not allow it to run. I assume this is by design, but is there any way to bypass this Or a way to change the default path my gadget installs to (program files, instead of appdata) Thanks nadasurf I have not received anything can you send it to tom<<<<<AT>&g ...Show All
