Answer Questions
Radioedit420 ActiveX problem
We have created an ActiveX program in Visual Basic (6) for one of our gadgets, but while the activex control is running, it's not possible to interact with the gadget. Unfortunately, the ActiveX control runs for around 5 seconds, so I can't see this being such a good idea as an end-user gadget *grin* Is there a way to make the ActiveX control run asynchronously Does anyone know how to do it in VB6 Thanks in advance for the help. Andy So long as you have all the reg entries, it should work. I use it in Media Player and another with no problems. What's the problem Is it failing in both HKCU and HKLM Is it not possible to kick off a timer and do what you are doing That way, the activex gets ...Show All
krsarge call a WebService or .Net App to send e-mails
Can I call a WebService or a .Net Application to send e-mails from within the Gadget Or maybe submit some data to a web site without opening Internet Explorer The other question has already been posted by another user by haven't been answered.. can I drop files to the Gadget and get its info You can't with the standard Gadget API. If you don't want windows poping up, either write your own, or download a freeware SMTP ActiveX COM. If you want to call a web service you can use the MS Ajax library nut in that case you'll have to modify your web service in order to generate a proxy I've blog some info on this here : http://blog.khamlon.info/ p=28 in french, but id really needed I could transl ...Show All
Simonth full file encyption
What's the design consideration of Media Foundation in the case of full file encyption, where the media source cannot get stream description or split stream without the decryptor (to decrypt at least part of a file) The assumption in Media Foundation is that the Media Source should be able to describe the presentation, and this description should be accessible even to non-protection-savvy code. (Note that as a corollary, Media Sources that have muxed streams are expected to demux them, and in particular that might mean doing a little demuxing even before Start() if doing so is going to be necessary to describe the streams -- i.e. mediatypes, etc) Tell me a little more about what you're doing... format, protection system, ...Show All
OmegaMan Help in extraction of VC1 elementary streams from WMV sequences
Is there any tool that we could use to extract VC1 elementary streams from WMV sequences. Thanks, Srini Now this may be possible regards to Stegre's filter. Check this tread: How to demux VC1 elementary stream from WMV file Unfortunately no. Sorry :-( ...Show All
CHEN YU-TIEN Help test the screensaver gadget
Before releasing this to the masses, I was wondering if a few of you could go ahead and install my gadget and see if it works. It works on my machine but may not on someone else's if things don't register correctly. The gadget is a simple screensaver gadget that embeds a screensaver that you choose into its window (see http://blogs.msdn.com/photos/markhsch/picture1718045.aspx for a screenshot of it using the Ribbons screensaver). If you install it and it displays a white window with a red x, remove the gadget and re-add it to the sidebar to see if it goes. If you do test, please post on this thread with your results (either positive or negative). Thanks and here's the link: http://www.schmidt6.com/blogfiles/ScreenSaverGadget. ...Show All
Michael1956 Tee node and custom media source
I used the WavSource MediaSource example and I used it in topology using a tee node. When I do that, an errors occurs after starting the session (0x8000FFFF). If I dont use a tee node everything works fine. I tried setting the MF_TOPONODE_PRIMARYOUTPUT and MF_TOPONODE_DISCARDABLE but that did not change anything. Marc I dont think it is a configuration error. I used that same topology using the SourceResolver with an MP3 file without any problems. I also can use the Custom WavSource Media Source WITHOUT Tee Node without any problems. Then, using the tee node in the topology, I only change the Media Source to use the custom WavSource Media Source from the example. IMFByteStream* pByteStream = ...Show All
MB-86 Confusion about style:display
I've set up a screensaver by creating a single style for the images: <style id="PHOTO" style:position="absolute" style:display="none" style:x="0px" style:y="0px" style:width="1920px" style:height="1080px" /> And inserting them into the markup: <div id="PHOTO01" style="PHOTO" style:backgroundImage="url('photo01.jpg')" /> <div id="PHOTO02" style="PHOTO" style:backgroundImage="url('photo02.jpg')" /> <div id="PHOTO03" style="PHOTO" style:backgroundImage="url('photo03.jpg')" /> <div id="PHOTO04" style="PHOTO" style:backgroundImage="url ...Show All
Tridex How do I hide scrollbars in Firefox?
How can I hide the scrollbars of gadgets in Firefox I've tried adding overflow:hidden to the css, but it doesn't do a thing. I hope this gets resolved soon, because it looks horrible. wwwDean wrote: Hi Todd. Sorry, I don't understand your explanation. Netvibes and Google both allow third party modules that display in iFrames that look great in in FireFox without scrollbars. how are they able to do this and Live.com cannot That seems like new behavior for the Google/ig, as they didn't used to segregate first-party from third-party content. How do they do it I don't know. My information was from what the Live.com people ...Show All
EwenTweedie Removing a gadget from live.spaces
While testing gadgets on live spaces I noticed that after removing a gadget it still appears in the list gadgets on the customizepage. I also noticed that when I re-install a gadget, the content of the xml is not updated. On live.com I can completely remove a gadget from My stuff. Untill now I couldn't find out a way to do so on live spaces. Is there a way to do so, or else is there going to be a way to do so I'll also post this question under Windows Live Spaces. You're right. When you remove a gadget in Windows Live Spaces, it will remain in the Customize Modules dialog, and if you add it again (via the API or the dialog), your gadget will maintain the title and settings it had before. There is no way to delete all data ass ...Show All
kennm iHDSim crash referencing unloaded element
This is both a question and a comment/bug report. Steps to reproduce the bug (iHDSim released 8/29): Load iHD application. In script, after markup is loaded, store a reference to an element on the current page (I used getElementById()). Use the <link> tag in a <cue> to cause a new markup page to replace the current page. Attempt to reference a property of the element stored in (1). The reference attempt is surrounded by try...catch(). iHDSim crashes with a memory reference error. Questions: What is the correct behavior I'm guessing an exception should be thrown. Is there a way to check whether an element exists before trying to reference it's property to trigger an exception It seems that something is getting deleted/garbage ...Show All
jasinb Apply CSS file to xml/rss link?
Hi I'm still struggling with my first gadget production and need some help for the last problem (at least for this gadget). I'm developing Wikipedia gadget: searchbox and flyout that display the result. Well, it's works, almost... My Flyout opens xml link like this: http://www.blinkbits.com/en_wikifeeds_rss/Derek_Jeter It's doesn't looks so good since it has no stylesheet, so I have to provide someone. Question is, how can I apply css file to the content I don't have (it's just a link) There are my main.html and flyout.html files: main.html <html> <head> <style type="text/css"> ----------- some style --------- </style> <script language="javascript"> System.Gadge ...Show All
Jae 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
leclerc9 Need some code samples (Fast Forward, Rew and other)
Please, I need samples of JavaScript code (some strings) and some comments for following operations: Fast Forward Rew Go To Next Chapter Go To Previous Chapter P.S. I tried to use Player.playlist.fastForward(4); and seen JS error (iHDScript API fastForward: HDDVD_E_ARGUMENT) on this string. Why is "4" incorrect argument I think that 4 is: (normal speed) * 4. I mistaken For Player.playlist.stepForward(); I see following error: iHDScript API stepForward: HDDVD_E_NOTSUPPORTED P.P.S. Sorry, I known that my question is RTFM but I don't have specefication. :( 1) As per spec, speed::=[0-9]+("."[0-9]+) Sorry, I wanted to ask: Why the "Rew" spee ...Show All
KnobCreek MFT as DSP plug-in and debug build
Hi I'm developing an MFT and test it inside WMP as a DSP plug-in. It seems that it only works when I use release build. When I try it with debug build I get a notification that the file cannot be played and media player does not support its type. Is it a known issue or maybe I need to do something differently. Thanks Haim I don't know of any issues that would prevent debug MFT bits from working as a WMP DSP plugin. The error you're getting indicates that something might be going wrong during media type negotiation. I might recommend paying attention to the SetInputType / SetOutputType calls and make sure that what's happening is what you expect. ...Show All
cplusplus1 Force user to the Settings UI window
I have a gadget that requires some user settings before it can function. I'd like to check the settings and if they are blank, say something like "Click here to change settings". Then when the user clicked the link, I would like to open the settings window just as if the user clicked the little wrench icon. Right now all I can do is tell them to click the little wrench thingie and hope that they know that that means. Unless I'm overlooking something in the Sidebar Gadget Object Model , I don't see a function for this. Does one exist It would be nice to have a System.Gadget.Settings.show() function to launch the settings UI. Donavon I'd put a request in for v2 to Bruce. This issue was raised during the ...Show All
