windows-desktop-gadgets

JPEG Shows in Firefox but Not IE8

▼魔方 西西 提交于 2019-12-04 22:53:07
I'm working on a Sidebar Gadget and cannot get my JPEGs to show up (PNGs work). When I try to open the file by itself in IE8 it doesn't work. Firefox, of course, can open it fine. JPEG Details: Dimensions: 1080X900 180 dpi Bit depth 24 Color representation: uncalibrated I've found some things talking about the images being compressed incorrectly (?) but I haven't been able to get it working... Any clues? Why are you dealing with the image at 180 dpi and not the 72dpi screen resolution? At screen resolution the image will be roughly double that size. Still, the size is manageable for any

Silverlight 2 Sidebar Gadget

。_饼干妹妹 提交于 2019-12-04 19:40:42
问题 How do you display a Silverlight 2.0 application in a Vista Sidebar gadget? Whenever I load a gadget with the standard Silverlight 2 object tag, I get the no-silverlight default content instead of the app. So, what's the trick to allowing it to run? This is how I am currently trying to pull it off: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Unicode" /> <title>Silverlight Test</title> <style type="text/css"> body { margin: 0; width: 130px; } </style> </head>

Javascript XMLHttpRequest: Ignore invalid SSL Certificate

随声附和 提交于 2019-12-04 10:28:02
问题 so I have been having trouble with grabbing information from a device that is interfaced with via https due to the fact that it has an invalid security certificate. I know the device is to be trusted and I don't have access to the server-side so I can't change it. I was wondering if there was any way to set up an XMLHttpRequest object in Javascript to just ignore an invalid SSL certificate and just grab the information anyway. As it is now it seems to just reject the certificate and stop.

Windows Gadgets & Jquery

南笙酒味 提交于 2019-12-04 03:06:22
I am creating a Vista Gadget and I haven't been able to get JQuery to work. I have tried a few very simple calls like this: $(function() { $('a').click(function() { $('#box').html("test"); }); }); I know you can use JavaScript so it doesn't make much sense to me why you wouldn't be able to use a library. Does anyone know if any examples? redsquare Here is a widget for vista done with jquery. Might help you. Above link is dead - here is another https://code.google.com/archive/p/timetablegadget/source/default/source 来源: https://stackoverflow.com/questions/385220/windows-gadgets-jquery

Silverlight 2 Sidebar Gadget

自古美人都是妖i 提交于 2019-12-03 13:52:30
How do you display a Silverlight 2.0 application in a Vista Sidebar gadget? Whenever I load a gadget with the standard Silverlight 2 object tag, I get the no-silverlight default content instead of the app. So, what's the trick to allowing it to run? This is how I am currently trying to pull it off: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Unicode" /> <title>Silverlight Test</title> <style type="text/css"> body { margin: 0; width: 130px; } </style> </head> <body> <object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%"

Javascript XMLHttpRequest: Ignore invalid SSL Certificate

心不动则不痛 提交于 2019-12-03 05:51:38
so I have been having trouble with grabbing information from a device that is interfaced with via https due to the fact that it has an invalid security certificate. I know the device is to be trusted and I don't have access to the server-side so I can't change it. I was wondering if there was any way to set up an XMLHttpRequest object in Javascript to just ignore an invalid SSL certificate and just grab the information anyway. As it is now it seems to just reject the certificate and stop. Thanks. Well I had found this solution before but it didn't work, this was because I was still using

Good WPF or silverlight windows gadget examples

旧时模样 提交于 2019-12-03 05:19:43
问题 Does anyone have a good example of a WPF or silverlight windows gadget? 回答1: norlando02, Hello, I've come across a few sidebar gadget demos and tutorials online. I'll list them here for your review. Hopefully some of them catch your eye, and help you in your endeavorers. WPF: http://www.codeproject.com/KB/WPF/3d-gadget-WPF.aspx http://www.codeproject.com/KB/WPF/WPFGadget.aspx Part 1: http://blogs.msdn.com/karstenj/default.aspx Part 2: http://blogs.msdn.com/karstenj/archive/2006/10/09/activex

Good WPF or silverlight windows gadget examples

一笑奈何 提交于 2019-12-02 18:37:07
Does anyone have a good example of a WPF or silverlight windows gadget? Scott norlando02, Hello, I've come across a few sidebar gadget demos and tutorials online. I'll list them here for your review. Hopefully some of them catch your eye, and help you in your endeavorers. WPF: http://www.codeproject.com/KB/WPF/3d-gadget-WPF.aspx http://www.codeproject.com/KB/WPF/WPFGadget.aspx Part 1: http://blogs.msdn.com/karstenj/default.aspx Part 2: http://blogs.msdn.com/karstenj/archive/2006/10/09/activex-wpf-gadget.aspx This one was removed from the source site, but it still has some nice (cached)

C#: Referencing a windows shell interface

↘锁芯ラ 提交于 2019-12-01 14:40:15
I'm pretty new to C#, I'm trying to complete a little side project I've been working on that uses a small amount of C# code to assist the development of a Windows Desktop Gadget. Basically, I'm trying to implement the IDesktopGadget interface so that I can use the RunGadget method. Here's what I got so far from reading information about similar interfaces: [ComImport] [Guid("C1646BC4-F298-4F91-A204-EB2DD1709D1A")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] interface IDesktopGadget { uint RunGadget([MarshalAs(UnmanagedType.LPWStr)] string gadgetPath); } Unfortunately, I get an error

converting TForm win32 app to Win7 gadget (delphi)

拜拜、爱过 提交于 2019-11-30 11:11:34
问题 What is the process of converting win32 application (a small popup window actually) to win7 gadget? Do I need to convert my exe to activex component, can I still use TForm ? it would be nice to have support for both Win7 + Vista. 回答1: The Windows Vista/7 gadgets are essentially mini-HTML applications. The user interface is composed of pages containing regular HTML, CSS ,images and potentially ActiveX controls . So the only way to use your win32 application into a gadget is convert the