Answer Questions
Joshua Nobes Is it possible to display a web page in a gadget?
Hi All, Would you know if it is possible to show a web page in a gadget. We used to use active desktop to show our help desk calls which are in a sharepoint list - just a link to the list. Now that active desktop is gone in vista i was thinking about maybe trying to write a gadget which we could have on our desktop. Any information would be great! Thanks! Yes that should be possible. You could use a XMLHttpResponse Object to get the data you need from the website. Just create a large Gadget and load the sharepoint page in an IFrame. eg. gadget.html: <html> <body style="margin:0px; width:500px; height:500px;"> <ifram ...Show All
Ashok Ojha Protected Content (PMP) and tee node
Is it possible to play a protected media file in a topology using the tee node. I modified the ProtectedPlayback sample and I get MF_E_TOPO_UNSUPPORTED error after setting the topology. Thanks! Can I just co-create an IMFTransform or do I have to build my own IMFTransform and register it If so, anything else special about this dummy MFT What category does it have to be (MFT_CATEGORY_AUDIO_DECODER, MFT_CATEGORY_AUDIO_EFFECT) or does it even matter If I understand correctly, that dummy MFT will be discarded from the topology since it does not accept MFMediaType_Protected Marc I inadvertently omitted a detail here, and also I thought of a possibly easie ...Show All
Chris Honcoop Can't get xml back from Amazon Web Service?
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 below function GetFeed() { var r = Web.Network.createRequest( Web.Network.Type.XML, m_feedUrl, {proxy:"generic", numItems:m_numItems}, OnFeedReceived); r.execute(); } Is the m_feedUrl just too long maybe http://webservices.amazon.com/onca/xml Service=AWSECommerceService&Version=2006-06-07&AWSAccessKeyId=1CE7SK4ZPTNDQZCWBP82&Operation=ListLookup&ListType=WishList&ListId=241KH7V8OZ7EQ&Sort=DateAdded&ResponseGroup=ListItems Any help would be greatly appreciated! ok, it appears it must be a namespace thing, becuase if I change it to //* it shows ...Show All
e_LA Disabling all Selectable Elements
I want to disable all buttons at once from script. What is the best way to do this Can I pass an xpath expression like so: document[class('foo')] What is the best method for disabling Setting state:enabled to false Peter can you point me to a good online jscript reference that would for example detail the method evaluateXPath LevelX wrote: If you mean only the navigational buttons, then you could set focus to an empty button which goes nowhere. But you'd still be able to select all buttons by mouse on software players (and iHDSim). I haven't tried it myself but maybe this works: <cue select="class('someclass')" begin="whenever" dur="2f" fill="hold"> <set state:enabled="false" /& ...Show All
Jeff_LIU 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 Jonathan, can you tell me how can I call another application (such a command line app or a web app on the internet) but without opening any windows 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 translate it See ...Show All
peedee Playing sounds from markup
How would one go about playing sounds in markup Specifically, I want to trigger audio from a focused state without passing an event to script. I understand that I can create a wav object, but how is the object sent to Player.audio.effect in markup Thanks! Please start another thread and post your code that isn't working... This will simplify things quite a bit, thanks. what i have to write on the playlist And in the manifest i put it like if it was an image Sorry if the answer is too obvious... thanks! You can find answer in the thread: "Correct Time Code" at the end by Jeff Williams. It looks like a ...Show All
Fiander Getting Absolute Positioning from Photoshop into my Markup.
I receieved alot of art elements today and I am trying to find a good way to position all of the items in the Photoshop .psd in my markup. Is there a way to have photoshop tell me the absolute position of items in a .psd relative to the whole document How is everyone translating from .psd to markup accurately Up untill now I have just been eyeballing it but I would like a good formula to go forward with. Thanx all! Or just make a template and tell the designers to work within the lines :) Spent most of the day developing a system for this...it works very well and will improve my authoring speed. Basically you use Imageready to define "Slices" You make up,over,down states for them and then you expo ...Show All
osamaT What are “content elements” and “block element” described in spec?
Hi, all I want know what are “content elements” and “block element” which are used in spec 7.6 Which element defined in Table 7.5.3-1 are they I encounter lots of problem when I try to render style markup. Can you give me a help Thank u! Is your second example <p> inside a <div> <p> cannot exist by itself in the <body> tag, and requires a <div> to enclose it. Things I always check when I'm having rendering problems: Did I specify a <timing> block (As I mentioned above) Did I specify a font Without a specified font, no text will render. Did I make sure the font (and all other resources) is specified in the playlist and ...Show All
Michael Wu More complex samples from Microsoft, any ETA?
Hi Microsoft, I (and I'm sure everybody in this forum) am waiting for the more complex (and close to real iHD apps) samples from you. Do you have any ETA Thanks, -k OK, they are on the web at http://www.microsoft.com/downloads/details.aspx FamilyId=E19C869B-EF37-4E5E-91ED-32D059E3775B&displaylang=en Sorry for the long delays... One known issue is that the "Rotating Menu" sample won't work on the Toshiba player, unless you get an AACS disc made (ie, burnt discs don't work), although it will work on the emulator and the Xbox 360. Hopefully this issue will be addressed soon. In the mean time, you can work-around the problem by changing the script that sets backgroundImage to c ...Show All
nzmike Can someone please test this gadget...
Hi guys, I've changed my gadget to make the corners transparant, but it was rejected by gallery, i dont know why. It works on my system, i dont have anywhere else to try it... (It was accepted, then i decided to change the corners, then the updated version was rejected.) Thanks very much for any help. http://www.online-stopwatch.com/vista-sidebar-stopwatch-gadget/OnlineStopwatchU.gadget Thanks for the reply mate. Is this before you even install it Or does it install then have a problem in the sidebar Would someone please try this download: http://www.online-stopwatch.com/vista-sidebar-stopwatch-gadget/OnlineStopwatchU.gadget (it seems to download as a ...Show All
Penicillin MF_E_CANNOT_CREATE_SINK
I got an error when running the sample program MF_BasicPlayback. In this code statement: hr = pEvent->GetStatus(&hrStatus); I got hrStatus == MF_E_CANNOT_CREATE_SINK . In Mferror.h, I see the comment: // MessageId: MF_E_CANNOT_CREATE_SINK // MessageText: // Activate failed to create mediasink. Call OutputNode::GetUINT32(MF_TOPONODE_MAJORTYPE) for more information. %0 It looks like that there's something wrong with the renderer. Does anyone one how to solve this problem Thanks. P.S. My VGA card is NVidia GeForce 6200, and the driver version is 7.15.10.9739 ( Date 2006/11/27 ). Finally, this issue is gone after I use GeFore 7300 VGA card. But I'm still wondering if there's ...Show All
red60man 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. Have you tried "rtsp://" The MF Source Resolver should be picking up http://, mms://, and rtsp://. What if you try: IMF ...Show All
Jamie Julius window onBlur event firing while window is still focused
Is it by design that window.onBlur fires if an element within the window gains focus after the window has focus A System.Gadget.attachEvent method would be a good idea, if that's the case. Andy Most of the system wide events fire that way. onmouseout is another that suffers the same problem. ...Show All
Pi314159 How to get the current playback position ?
Hi all, Is anyone know how to get the current playback position Regards, lka In Media Foundation, the current playback position is available from the clock at IMFMediaSession::GetClock(). This clock gives you presentation time. For single-topology playback (like playing a single media file, no sequences or any other IMFMediaSession::SetTopology calls), presentation time is usually going to be the time that an application would want to display in its UI as "current position". To get this right in general (when more than one topology is being played), you need to be aware of the fact that when MF moves from playing topology1 to topology2, the presentation time keeps moving up cont ...Show All
Sammy Adems Question about chapter change event
I appended following code to standard "Chapters" project (in main.js): Diagnostics.listeners.add("file"); Diagnostics.trace.autoFlush = true; addEventListener("chapter", ChapterChangeEvent, false); function ChapterChangeEvent(evt) { Diagnostics.trace.writeLine("Old Chapter:" + evt.oldValue, "", 1); Diagnostics.trace.writeLine("New Chapter:" + evt.newValue, "", 1); Diagnostics.trace.writeLine("---", "", 1); } After I ran demo project and clicked only by "Chapter 2", "Chapter 3" buttons. In result I see following log file: Old Chapter:0 New Chapter:0 --- Old Chapter:0 New Chapter:1 --- Old Chapter:1 New Chapter:0 -- ...Show All
