The (Unofficial) ITWorx Technical Architecture Blog

Archive for the ‘Vista’ Category

ITWorx Prayer Times Hot Fixes

Posted by archworx on February 25, 2008

Hi all,

There have been some complaints and questions about the prayer times gadget and I’m here to tell you that we are working on a new release Insha’a Allah that will include many bug fixes and new features.

But in the mean time I would like to tell you about some hacks that you can do

Remember : after any change please close the gadget and open it again for the changes to take affect

  • To fix the Athan sound

Open the folder %userprofile%/AppData/Local/MicrosoftWindows Sidebar/Gadgets/ITWorxPrayerTimes.gadget/sound and you will find Athan123.wav, just replace this file with any wave file you like but it will still be loud so try to put a wave file with low volume. (Don’t worry the volume will be fixed)

  • To fix the cities

Open the folder %userprofile%/AppData/Local/Microsoft/Windows Sidebar/Gadgets/ITWorxPrayerTimes.gadget and you will find data.xml, this is where we store all the cities, all you need is a text editor and you will be able to add any city you like

To add a city:

here is the format

<Country id=”” name=”” city=”” latitude=”” longitude=”” gmt=”” daylight=”” method=””/>

id: insert the next id in the list (not important what number you put)

name: insert the country name

latitude: your new cities latitude in the formate D M [N/S]

D is degrees, M is minutes and [N/S] means north or south

eg. Egypt, Cairo is “30 8 N”; 30 Degrees 8 minutes North; please remember to leave the spaces between them

longitude: your new cities longitude in the formate D M [E/W]

D is degrees, M is minutes and [E/W] means east or west

eg. Egypt, Cairo is “31 24 E”; 31 Degrees 24 minutes East; also please remember to leave the spaces between them

gmt: is simply you timezone, eg “0”, “2”,”-3″ or “-7”

daylight: is if daylight is enabled or not, eg “Y” or “N”

method: this is asr calculation method you use and its a number from 0-4

“0” means Egyptian General Authority of Survey

“1” means Islamic Society of North America

“2” means Umm Al-Qura University

“3” means University Of Islamic Sciences, Karachi

“4” means Muslim World League

I hope that this can help until the new version is released

Thank you


Posted in PrayerTimes, Vista, YShahin | 13 Comments »

ITWorx releases MS Office 2007 Prayer Times plugin

Posted by archworx on October 23, 2007

For all those who have been asking for the download for the Office 2007 add-in, good news, you can finally download it here:

Posted in mkaram, PrayerTimes, Vista | 27 Comments »

How to create a Vista Sidebar Gadget.

Posted by archworx on November 5, 2006

I was asked to create a quick POC (proof of concept) for a MS Windows Vista sidebar gadget. I did the usual search and discovered a few posts.

An interesting post was by a guy called Daniel Moth. It had lots of useful information, but unfortunately it just didn’t work for me. There seems to be something missing in the xml file accompanying the gadget, as well as some rubbish text in the file, so your gadget won’t work but you won’t get an error.

I found a more uptodate sample on MSDN. This was also on Daniel Moth’s blog, so many thanks to him.

Now here is my version of the hello world sidebar gadget.

Step 1:

Create the following HTML file:

 <title>Hello, World!</title>
  body {
 <span id=”gadgetContent” style=”font-family: Tahoma; font-size: 10pt;”>Hello, World!</span>

Call it HelloWorld.html

Step 2:

Create the following XML file:

<?xml version=”1.0″ encoding=”utf-8″ ?>
    <name>Hello World!</name>
    <author name=”Your Name”>
        <info url=”” />
    <description>My first gadget</description>
        <host name=”sidebar”>
            <base type=”HTML” apiVersion=”1.0.0″ src=”HelloWorld.html” mce_src=”HelloWorld.html” />
            <platform minPlatformVersion=”0.3″ />

Call this file Gadget.xml

Step 3:

Create a folder called Helloworld.Gadget

Step 4:

1.Simply copy”%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets” and paste in Windows explorer address bar.
2. When you get to that folder Copy and Paste the “HelloWorld.Gadget” folder there.

Step 5:

Add the gadget to your Sidebar and your done !

That’s how easy it was to create a sidebar gadget. Obviously, you want your gadget to do more than just display “HelloWorld”. You have infinite possibilities. Anything that con be done with DHTML or .NET can be done on a sidebar, you just have to make sure you have the right permissions.

How do I create a gadget with .NET?

If you check out the MSDN link you should find it there, and if I get something done soon, I’ll surely post it.

Also check out the Gadget team blog.

Anyway, that’s it for now, Happy developing!

Posted in MSamy, Programming, Vista | 356 Comments »

MS faces some VS 2005 compatiblity issues with vista

Posted by archworx on October 10, 2006

As you will read in the blog posting below, MS is facing some compatibility issues between VS 2005 and Windows Vista, apparently, they have already release SP1 beta which is supposed to fix the problem. But from the post below, I’d weigh my options well before I develop an application for Windows Vista  on VS 2005, at least increase the risk factor in the project plan.

Check it out

Posted in MSamy, News, Vista, VS 2005 | 1 Comment »

Microsoft releases final test version of Vista

Posted by archworx on October 9, 2006

Just in from reuters, MS has finally release Windows Vista RC2.

This will be the final interim release from MS before they ship the fully released version.

This is all according to the following reuters posting:

Posted in MSamy, News, Vista | Leave a Comment »