Answer Questions
Rick1138 Posting forms to websites.
hi, I'm making a booking gadget and need to post a form to an external website is this possible I am having the same issue and a query parameter approach will not work as the POST data is sensitive (being sent over HTTPS). If anyone has any ideas or even an explanation as to why this doesn't behave in a gadget the way it would in an IE environment that would be much appreciated. I am sure someone on the MSFT would have some input or knowledge as to it's behaviour. Thanks. Ryan Yepp, it's for real .. but I still consider it a hack. A standard POST should work. Anyway, my login gadget works, using https and post, so I'm happy for now. *bump* C ...Show All
AshiTenshi HDi for authored HD-DVD
Assuming that it makes an Advanced Content disc and not a Standard Content disc (ie, there is an ADV_OBJ folder with a playlist already in it) then yes, you can add your own stuff to the disc. Just create your HDi menus and add the appropriate information to the playlist file (VPLST000.XPL) Note that you just won't be able to multiplex the menus into the EVOB (eg, have a FirstPlayTitle that pre-loads the menu) so make sure all your resources have multiplexed="false" in the playlist. On the other hand, if it is just creating a Standard Content disc, then you can't do anything with it. There is no way to switch from Standard to Advanced even if you are using Scenarist (that feature was removed from the spec because it was e ...Show All
SweptSquash Error in using "CoCreateInstance" API. Error No.0x80040154
Hi, I am using IMM interfaces, but "CoCreateInstance" API is giving me error "class not registered" Error No. is: 0x80040154. I heve written code as below. CoInitializeEx(NULL, COINIT_MULTITHREADED); IMMDeviceEnumerator* pEnumerator = NULL; HRESULT hr = CoCreateInstance( __uuidof (MMDeviceEnumerator), NULL, CLSCTX_ALL, __uuidof (IMMDeviceEnumerator), ( void **)&pEnumerator); In above code HRESULT hr is return as "class not registered". Can any one help me please Hi, I have got solution of above problem. I have installed Windows Vista SDK on Windows ...Show All
kangalert Using Settings to Choose Color of Gadget
I have a simple gadget where I have 4 different color .png bachground colors. The default is red and I want a user to be able to enter settings and choose the background color. I think I'm close, but if someone could give some pointers, I would really appreciate it. You see the bold else If I add and remove that by hand, I can change the color and then change the color back after I remove it. Any thoughts looking at the code I am a beginner, so any help is once again very moch appreciated. <html xmlns=" http://www.w3.org/1999/xhtml "> <head> <title>Settings</title> <script type='text/javascript' src="js\Settings.js"></script> <script> System.Gadget.onSettingsClosin ...Show All
jerjer XPath Declaration Returning 0 Elements
I'm trying to end when any button in the div (id 'TRY') is actioned. BUt my syntax must be wrong because 0 elements are returned. end="//div[@id='TRY']//button[state:actioned()]" <div id="TRY" style="BUTTON_TRAY"> <div> <button id="BTN_TRY_LF_ARW" style="BUTTON_LF_ARROW" /> </div> <div id="SCN_SLDR" style="SCENE_SLIDER"> <button id="BTN_POS_01" style="BUTTON_SCENE_POSITION1" /> <button id="BTN_POS_02" style="BUTTON_SCENE_POSITION2" /> <button id="BTN_POS_03" style="BUTTON_SCENE_POSITION3" /> <button id="BTN_POS_04" style="BUTTON_SCENE_POSITION4" /> <button id="BTN_POS_05" style="BUTTON_SCENE_POSITION5" /> <button id="BTN_POS_06" style="BUTTON_SCENE_PO ...Show All
Squiddy No sound with Windows Vista
I have a Dell Inspiron E1705. I just downloaded Vista Beta and love it. Except for hot having any sound. My speaker volume is up and not muted. All updates are complete. I did a driver update and it gave an up to date message. Any suggestions Thank you for your time, BD http://www.realtek.com.tw/downloads/downloadsView.aspx Langid=1&PNid=23&PFid=23&Level=4&Conn=3&DownTypeID=3&GetDown=false#AC If you are using a Realtek AC'97 sound device, then go to the link above and download the Vista driver. The download takes about 2 minutes . Before you download, unistall all drivers and devices related to the Realtek AC'97. After download, extract all and then open 6213_Vista_APO. Scroll dow ...Show All
traderhen HDDVDValidator and Javascript
I remember a procedure for installing the correct version of javascript (262 possibly 327) to work propperly with HDDVDValidator.exe. I have searched the forum on this topic, but it is not available. Does anyone know where a tutorial for installing javascript to work with HDDVDValidator.exe might be thanks The jscript.dll is no longer provided with the Microsoft HD DVD Interactive Jumpstart. I have problems with running IE 7 on my Windows XP 32 bit system, and I would rather not upgrade to IE 7. Is there another way to get the ECMA 327 Compact Profile jscript.dll so that the MS Validation tools can run correctly thank you in advance is this what you're looking for... http://forums.microsoft.com/MSDN/ShowP ...Show All
JHarjung 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 Could you post your HTML so I can try it locally From experiences with my other Gadgets, yo ...Show All
user11 using webservices in a gadget
Hi, Has anyone have an example of using a web service in a gadget Thanks in advance, rudgr Yeah, you would write them using System.Gadget.Settings.write(); Just remember that these settings are cleared if the Gadget is removed from the desktop/sidebar. If you want to create persistent settings across all instances of your gadget you could read from/write to the registry. Andy Hi Andy, In relation to your post: Suppose I want to store a username & password (that are needed as parameters in the webservice), what would be a secure way to save these so the user doesn't have to enter them each time Are the gadget settings meant for this System.Gadget.Settings.write("variableName", ...Show All
Thomas S. Andersen Cannot Create Directshow Player
Everytime i attempt to stream videos on websites i get an errors mgs saying. "Cannot Create Directshow Player. When i Frist bought this computer i didnt have a problem but now..this happens.. Any help would be greatfull Since this forum is for Media Foundation (the new multimedia platform for Windows Vista), you'll probably have better luck posting this question elsewhere. You might want to try this newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.player&lang=en&cr=US i had the same problem while i was accessing a certain website to streaming video.I roll back the windows media player. Every thin ...Show All
Basiclife brin gadget to front
hi every body plz any one know a function to bring a gadget to front thanks Compile this with AutoIt: AutoItSetOption("TrayIconHide", 1) Send("# ") There's no such function. Windows-Space brings the sidebar to the front, so you could in theory insert that in the keyboard buffer with some code. Something like AutoIt may work. any one have a code to do this. thanks ...Show All
Gidon Sela Developing in a directory
Hello, I read that you can develop a gadget from a xxx.gadget directory instead of rezipping on every change. How does this work I can't get the directory recognized as anything but a directory. Thanks, Ty Perfect. That is what I was looking. Point also taken on the risk of that directory. Thanks, Ty I find it a bit scary to develop directly in the "C:\Users\<username>\AppData\Local\Microsoft\Windows Sidebar\Gadgets\" folder. An inadvertent right-click on the gadget in the gallery and selecting Uninstall will wipe out all of your source code. I develop in the "Documents\Visual Studio 2005\WebSites\<ProjectName>" folder and have a m ...Show All
Anarchy programming question
1)Code not working strbldTextboxDiv.append( "<input type='text' name='middledigits' maxLength=3 style='width:35px;height:15px'> " ); strbldTextboxDiv.append( "<input type='text' name='lastdigits' maxLength=4 style='width:45px;height:15px'> " ); strbldTextboxDiv.append( "<input type='button' src='http://localhost/gadgets/fiosavailability/searchbtn.gif'style='width:50px;height:20px' align='absmiddle' onclick='searchinfo()'>" ); //its giving error "Object expected" secondDIV.appendChild(strbldTextboxDiv); function searchinfo() { var sinput=document.getElementsByName("middledigits"); alert(sin.value); } 2) Code not working ...Show All
yahu_Hugh Exiting the settings dialog box
How can I exit (either cancel or confirm) the settings dialog box from the settings javascript You can't unfortunately, it's down to the user clicking the button. ...Show All
renyx mouseover event when using addImageObject
Is there any way to set a mouseover event for a g:image, if it is added using backgroundId.addImageObject Unfortunately not, <g:background> doesn't support events. <g:image> does support events, but it will only be of use if you don't have a transparent background. Sorry, I have proposed this solution previously, there's even some source code on here somewhere. You need to ensure that the region below the clickable area is partially opaque though, ~90% or less off the top of my head. If it's completely transparent the mouse events don't fire. Well I have made a workaround by using a completely transparent .png that overlays ...Show All
