Answer Questions
Tobey79 Dynamic chage of media type in using tee-node and 2 sink doesn't work.
Hi. In my topology there are EVR and cosutom sink to get costom event from MFT connected with tee-node. When my MFT return MF_E_TRANSFORM_STREAM_CHANGE with MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE in pOutputSample[0].dwSatus. Pipeline stopes and get E_FAIL from session event. If I remove tee node and cosutom sink topology works just fine. Am I missing something Thanks. kasumi. I believe you're hitting a known issue that we have fixed since RC1 (5600). I'm pretty sure this will all be working in the final release version of Vista, so hang tight. Given what the bug was, I'm not thinking of a good workaround in the meantime, unfortunately. I dont know if this is similar but I am ...Show All
joeydj Audio-software Development with DirectX 10
I wish to develop an audio software (like winamp, jet-audio etc) using Direct X 10. Dear experts, what do you suggest about this Should or should not I go with this Please tell in detail regarding your suggestion. Thanks Well, which API you'll want to use probably depends on what exactly your application is going to do. For instance, if you're looking to write an application that does playback of audio files, you could consider using Media Foundation for this. I'll say that this forum is primarily about Media Foundation, which is the new multimedia platform for Windows Vista. So if your application is going to need to run on earlier OSes, you'll probably need to use a legacy platform (like DirectShow), in which case your ...Show All
DaleES any examples of a gadget call a web service that returns json?
I'm hoping to find an example of a sidebar gadget that will call a web service with some parameters and return a json object. I'm hoping it calls it on a timer and is done in javascript. Thanks, Peter Kellner http://peterkellner.net ASP.NET, MVP I haven't done any JSON and very little javascript. Next week I am doing a presentation at a community event on writing your own gadgets (go figure). Anyhow, I'm need to write this from scratch and was hoping to find a demo of consuming a JSON datasource. My understanding is that JSON makes it easy with Javascript. I'll google around and see what I can find with JSON. Peter Kellner http://peterkellner.net ASP.NET, MVP Accessing data from a web service in a gadget with a JSON service ...Show All
mark.b Silently running an external program from a gadget
Is there any way to run a program silently from a gadget and collect its output The only way I know of for running a porgram is System.Shell.execute, but this flashes the cmd window quickly (this is a CLI exe) and I don't see a way to get the output of the program. I am currently accomplishing the same thing by using Wscript and objShell.Run, sending the output to a text file, and then reading the text file. Just wondering if there is a better way. Does jscript allow you to launch a program silently no it's a command line exe. i didn't write it and I don't know what it was written in. it's called qstat and it lets you enter a game server name and returns the number of current players, map name, se ...Show All
nojetlag Virtual PC 2007 stops Wireless Gadgets?
I've been using Virtual PC 2007 final version on my computer, and since I've installed it, all wireless gadgets seem to have stop working... they just show "disconnected" even if I'm fully connected to a wireless network!! Is anybody experiencing this behavior to Best regards, Pedro Lamas ...Show All
Jacco Mintjes Installing new Sidebar Gadget for default (all user) Vista installs
Hi, Just wondering if anyone knows how to get a Sidebar Gadget to appear on a new Vista installation as default for all users Is it a case of adding the myGadget.gadget to the sidebar directory (along with all the other gadgets) and making a change to the default registry If so, what needs to be done Many thanks in advance! See my comments in this thread. ...Show All
R Suresh 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
Zeev Halevi Group Policy behavior: Turn Off User Installed Windows Sidebar Gadgets
Hi, I've been looking at the group policy settings in Windows Vista for the Windows Sidebar. According to information I've found the policy "Turn Off User Installed Windows Sidebar gadgets" should behave like this: Turn Off User Installed Windows Sidebar Gadgets This policy provides administrators with the ability to block all gadgets not placed into the Shared Gadgets or Gadgets folders (in the Sidebar’s Program Files folder), both of which can only be modified by a user in the administrator group. Gadgets in the user’s directory will not display in the Gadget Gallery dialog or otherwise be allowed to run. If I copy gadgets to either c:\program files\windows sidebar\gadgets or c:\program files\windows sidebar\shared ...Show All
PCSQL66 Maintaining State - script vs markup
I've got a new guy I'm training on HDi and he's asking the same questions I did when I first start coding in HDi. And I realize I never get definitive answers on the best way to maintain state. For example, it seems like you should be able to maintain the state of several buttons and menu operations in markup using state:value(). But I have never been able to get this work and the only solutions I've seen in markup (in production HDDVDs and samples) involve using dummy elements to hold a "value" for the state of the menu. Even Peter's example use this design pattern (see blog), and he prefaces his example with the same perception that my team does: this seems hokey/messy. Note this conversation between the two of us: ---------- ...Show All
bkejser Drag & drop
It is possible to make a drag and drop functions to move something, an element, across the screen When you press on [cursor] on the remote the direction buttons acts as a mouse. Also I've tried connecting a mouse and enabled from script it but it didn't respond. Just one more thing: if you implement, think also about that a standalone players have no mouse. So if this shall be more than just a nice optional feature, implement some special handling for players without mouse controller because doing that drap&drop with the up/down/left/right button for controlling the mouse might be a bit annoying ;) Do you talk about drag&drop from an other application into your player If yes, the answe ...Show All
voxanBoxer Sonic Emulator not Rendering HDi
Has anyone had success getting HDi content to display in the Sonic Emulator Well hopefully we'll get the Toshiba emulator in the next several days. I finally got the Sonic Simulator to display my menu tray that raises and lowers. I can also change focus on the menu buttons, however I cannot select (using the enter key) any buttons without throwing a runtime error. Per Sonic's last training session (early Aug), they dubbed the "Gold Standard" to be what works on the Toshiba emulator. To me this means that they promote their tracing tool to be more important that what the emulator shows/doesn't show. I personally stopped using the emulator to test HDi. The next practical step is use small size videos and DVD-R's (or D ...Show All
AshishGupta File open Dialogue box
Hi all, I’m looking to add the standard windows dialogue box for opening / saving files to my gadget. I know that this can be done in xp using either the "UserAccounts.CommonDialogue" ActiveX Control or the "SAFRCFileDlg.fileopen" Control, but neither of these work on vista. Any help as to what is the new activeX control, how to find what activeX controls are installed on vista or any api's (tried msdn library) would be gratefully received. Dave Thanks soo much for that, I've been trying so hard looking for an activeX control to do it, the answer was staring me in the face. Brilliant, thanks again Can you not use the Sideba ...Show All
dydoria Integration with 3rd-party tracking
Has anyone integrated tracking into a Sidebar gadget Trying to figure out how to use JS code to handle gadget usage tracking. I understand how to track user clicks with div show/hide, but wondering how to pass JS parameters to collect metrics. We are using Omniture for our tracking. Any help is greatly appreciated! Gadget has 2 tabs and various images/text linking to web site pages. Desire to track tab clicks, and user clicking on web links. I agree with TKroll that you don't necessarily want to increase the latency in the responsiveness of your gadget. Adding and XMLHttpRequest everytime sometime clicks a tab would get a little onerous. Maybe one suggestion is to catp ...Show All
TiberiusOne HD-DVD DONE!
32 Hours and Im ready to burn!!! Thanx a million Jeff you were the primer! Do I just burn my 2 folders to a DVD-9 as Data or is there a trick to get the Toshiba HD-XA1 to play that way I ran through Sonic's support for burning from within HD Standard Content and it went fine with DL but would not play in my Toshiba Hd-XA1. Thanx again...I have to go to DL disc, so looks like I will be installing Nero on my rig...Cant wait to see final output!!! I haven't fully tested this, but you should be able to use Nero to make a DVD-ROM with UDF 2.50 and place the ADV_OBJ and HVDVD_TS folders in it. In theory, it might work. I hope to have time tomorrow to try it out. "The file TITLEPAV001.E ...Show All
Mark Shvarts Feeding Windows Media Player with PHP
I'm trying to develop a playlist in Windows Media Player where the audio is fed through PHP for security reasons. It works fine in Winamp and iTunes, but Windows Media can't play the file. We're trying this header with PHP: header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-type: application/force-download"); header('Content-Transfer-Encoding: Binary' ); // added header("Content-Disposition: attachment; filename=\"".basename($FILE)."\";" ); readfile ( $URL ); And so far we get it where i ...Show All
