New
#41
Is it alright to upload .exe's here though? I just had it in a zip file.
EDIT: I added it in. Please give feedback so I can update it if need be. It was written in VB.net.
Is it alright to upload .exe's here though? I just had it in a zip file.
EDIT: I added it in. Please give feedback so I can update it if need be. It was written in VB.net.
You might want to explain a little more what it does so people know.
This gadget just corrects the Config file. It updates it if need be, and creates it if it is missing. It's been tested on roughly 10 machines at this point. I have my email within it as well if anything goes wrong. I have it run as Admin in case the directory needs to be created. If it does not work, please let me know, as I want to be able to fix this. I work for a large Healthcare Software company, and have a good habit of wanting to fix anything that breaks.
Hi stryker... i've read the content of the config.xml you put in this fix and is exactly the same of the original one, so this fix what it does is some kind of file restore/create? I've also created a fix but let me explain you how it works, the fix i made updates the file date atribute of the config.xml. That's why maybe you read in another threads that some people suggest opening config.xml in notebad and save it without changes and worked but it needs to be made at least every 2 days i think. This maybe is an issue from the source page foreca who provides the info, this is the fix i'm using at this time https://www.sevenforums.com/gadgets/3...adget-fix.html
Yes, it recreates the config file, but the gadgets start working usually within 1 minute. There's usually no reason to restart it. Plus there's nothing to do but click a button, so it's user friendly.
I can add it for it to create it's own scheduled task, along with restarting the sidebar.exe after a certain time to make sure all of the gadgets refresh.
I mainly just made it so that it was easy to use and worked.
That's cool :)
My c# application refresh Config.xml
This program set Config.xml actual datetime and exit.
I add this app Task Scheduler and run startup :)
.NET 2.0 requirement (updated)
c# source code:
Code:using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Threading; namespace WeatherGadgetUpdate { class Program { static void Main(string[] args) { string localapp = Environment.GetEnvironmentVariable("LocalAppData"); string configfile = @"\Microsoft\Windows Live\Services\Cache\Config.xml"; File.SetLastWriteTime(localapp + configfile, DateTime.Now); } } }
Last edited by Gabee8; 24 Mar 2015 at 16:14.
I found the simplest solution above all solutions mentioned here. Thanks to AndersWillhelmsson
This morning I simply changed the Date on the config.xml, to 2017, and then set the Attribute READ ONLY on the file, and it's still working ...
A way to change date on a file, is to change the date in your computer, then RE-save the file, and then set the date back again to correct date.
And to set Attribute just rightclick the file, chose Properties, and Click Read-Only, click OK.
Thanks to jmdl1983, your fix worked!
gldndragn, I've tried to install the msn weather gadget and when I double-click it, all I get is a list of files and folders in the zip. No exe file. ?