windows-desktop-gadgets

Can't install Windows 7 gadget

痴心易碎 提交于 2020-01-04 10:59:05
问题 I'm developing a very simple gadget for Windows 7. I have created an index.html file and a gadget.xml file, compressed them as a zip, changed the extension to gadget. When I double click on the .gadget file I get a window telling me if I'm sure I want to install the gadget as it comes from an untrusted publisher. I click 'Install', and everything seems to be fine. However, the gadget is not installed. I've looked at the Event Viewer and found nothing, it just silently fails. Anyone knows what

Can't install Windows 7 gadget

夙愿已清 提交于 2020-01-04 10:59:01
问题 I'm developing a very simple gadget for Windows 7. I have created an index.html file and a gadget.xml file, compressed them as a zip, changed the extension to gadget. When I double click on the .gadget file I get a window telling me if I'm sure I want to install the gadget as it comes from an untrusted publisher. I click 'Install', and everything seems to be fine. However, the gadget is not installed. I've looked at the Event Viewer and found nothing, it just silently fails. Anyone knows what

Windows Gadget for Sharepoint 2007 List using SOAP, Javascript, C#, Webservices, jQuery

自古美人都是妖i 提交于 2019-12-24 19:32:06
问题 I am trying to develop a Gadget for Sharepoint 2007, which will authenticate a user and then fetch him a sharepoint list from a specific URL, For the last 4 days I have been working on it and came across different ways of making it, but because solutions are either half done, dont work or too confusing to get help from or convert into what I want. Because Windows Gadget uses Scripting + HTML so I have following options to carry on work with to make this gadget, Create a Visual studio project

Windows 7 Gadget not releasing ActiveX object

江枫思渺然 提交于 2019-12-22 05:08:20
问题 I'm working on a Windows 7 gadget that needs to pull data from an excel document. The problem is, is that the Excel process won't unload after I've retrieved the data I need. Here's the code I use in my initialization function: var Excel = new ActiveXObject("Excel.Application"); Excel.Visible = false; Excel.DisplayAlerts = false; var workbooks = Excel.Workbooks; var workbook = workbooks.Open("\\\\SERVER\\Documents\\Sample.xlsx", 0, true); var activesheet = workbook.ActiveSheet; var cell =

C#: Referencing a windows shell interface

南楼画角 提交于 2019-12-19 11:51:53
问题 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

Pin WPF window on the desktop in Windows 7

半世苍凉 提交于 2019-12-14 03:03:43
问题 I want to pin a WPF window on the desktop (it should be a desktop gadget). I know you can do this by setting the parent handle of the WPF window to the handle of the "progman" window. But this does not prevent the hiding of the WPF window when "Windows + D" is pressed. There must be another way do to this. The new desktop gadgets in Windows 7 are not hidden when "Windows + D" is pressed. How did the MS developers achieve this? 回答1: I think your best bet would be to create a Gadget and host

Getting Data from a SOAP envelope

你。 提交于 2019-12-12 05:37:51
问题 I am trying to populate a gadget with a sharepoint list, but I couldn't find any way or tutorial on google to help me with this, however I find this tutorial that is getting the XML feedbacks of a news website, and displaying them in a list. Tutorial for Making a Gadget that gets XML feedbacks off a news Site Now Instead of getting XML feedback from that News Website, I want this tutorial to display items of XML document I will get throught this piece of code, $(document).ready(function() {

Accessing parent DOM/function from within an Iframe embedded in Windows 7 gadget

[亡魂溺海] 提交于 2019-12-11 06:36:43
问题 I have the following issue, Im creating a windows 7 gadget, which uses Iframe to load content.I have full control on the contents of the Iframe, what I want to do is, call a function in the parent (windows 7 gadget html document), from within this Iframe, or even trigger a flyout from within the Iframe, when there is hover on a link or something. Any help is greatly appreciated. Thanks 回答1: Although Windows Desktop Gadgets were initially said to be excluded from the restrictions of the Same

JPEG Shows in Firefox but Not IE8

自闭症网瘾萝莉.ら 提交于 2019-12-10 00:55:18
问题 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? 回答1: Why are you dealing with the image at 180 dpi and not the 72dpi screen resolution?

Windows Gadgets & Jquery

雨燕双飞 提交于 2019-12-05 19:54:28
问题 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? 回答1: 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