Hethu's Techno Babble

Friday, November 23, 2007

Mounting ISO disk images on a Virtual CD drive

There is no built-in way in Windows XP to mount CD images (ISO, UDF, etc.). But a little known tool from Microsoft does this for you and it's free.

It's not the greatest CD mounting tool and does not have a sleek looking UI, but does its job pretty well.

Windows XP Virtual CD-ROM Control Panel

It's an amazingly small download (59K) and is free from bloat. Download the Windows XP Virtual CD Control Panel from Microsoft. The Readme file tells you what you need to do.

Thursday, September 13, 2007

How to add a shortcut to SendTo menu

One of the first things I do on a fresh Windows install is to add Notepad to the SendTo context menu. As a developer, it is sometimes convenient to open a code file, XML file or a config file quickly in Notepad for quick edits without opening it up on Visual Studio or launching its associated program.

So how do you add Notepad (or any other shortcut, for that matter) to the SendTo context menu?

SendTo context menu

In Windows XP, by default, the SendTo shortcuts are saved in C:\Documents and Settings\[UserID]\SendTo folder. But this folder is hidden by default, so it was a pain to access this folder if you have Do not show hidden files and folders option set in Explorer Folder Options.

In Windows Vista accessing this folder is a much bigger pain. Now this SendTo folder is located at C:\Users\[UserID]\AppData\Roaming\Microsoft\Windows\SendTo\

But wait, you don't need to use Explorer to navigate to this folder. There's a much easier way in both XP and Vista!

In XP's Run menu or in Vista's Search menu (hey, I luuv this Vista search!), just type   shell:sendto and hit enter to open the SendTo folder.

Accessing SendTo folder from Windows Vista


Simple. How simpler can it get?

Wednesday, September 27, 2006

How to repair your broken Windows

No, this post is not about repairing your house windows.

Just the other day I found that some of the Windows command line utilities fails with an error "The NTVDM CPU has encountered an illegal operation".

The NTVDM CPU has encountered an illegal operation

Something has gone wrong and some Windows files have got corrupted. Not all command line tools generates this error, only some of them. So how do I fix this? Reinstall Windows? That seemed like a bit too extreme under the circumstances.

As it turns out, there is a built-in tool to check for corrupted system files and to automatically restore them from the original Windows CD. The tool is called, quite appropriately, "System File Checker" (SFC).

System File Checker

SFC runs the “Windows File Protection” and restores incorrect versions of protected system files with correct Microsoft versions.

You can run it from a command prompt as
       SFC /SCANNOW

Make sure to have your original Windows CD around if any corrupted files needs to be restored.

Friday, June 16, 2006

Windows Genuine Advantage Notification

Windows Update and Automatic Updates would install an update called Windows Genuine Advantage (WGA) Notification in Windows XP based systems.

After this WGA update, the next time you try to login to Windows, and if you happen to be running a non-genuine version of Windows you'd be greeted with this screen:


WGA Notification at logon


A notification Area balloon will remind you every so often to get a Genuine Copy of Windows, like this:



WGA notification balloon


It doesn't stop there. You'll also see a banner locked onto the desktop until you decide to get a genuine copy.



WGA desktop banner


This sure is a good way to irritate and even embarrass users who have installed pirated Windows XP on their computers.

From the first time users get this notification, they have 14 days to comply. After 14 days they will not be able to download software upgrades such as IE7 and Windows Defender. Critical security updates will still be available like it is now.

Microsoft hopes that by notifying users that they are not eligible for all Windows upgrades, it will drive more users to purchase a legal copy of Windows, and also report the counterfeit dealers that sold them their copy. In some cases Microsoft will give a free license to users who are victims of a high quality counterfeiting.

More on this on Microsoft Website.

Monday, May 29, 2006

The future of Windows UIs

The latest range of upcoming Microsoft products have given up the conventional "standard" window elements like the menu bar and the toolbar. These are replaced with application specific UI items giving a whole new meaning to menus and toolbars.

Back in our computer studies courses, we were told to make the UIs look consistent, intuitive and "learn-once-and-apply-it-anywhere", and most of the apps today conform to these guidelines. But these theories no longer hold true for the upcoming Microsoft apps.

Have a look at Windows Media Player 11:

Windows Media Player 11
Windows Media Player 11

What you have is a border-less UI with a fancy skin you have to figure out. What used to be the blue “Title Bar” of a window is nowhere to be seen, and what looks like a skinned version of it now also shows the song play duration and length!

The 'standard' menus and toolbars are gone. This is replaced with what looks like a tab-pane which has buttons that light up and sub menus of their own when you click the small arrow beneath them.

Windows Media Player 11
Windows Media Player 11 with context menu

You still can access the main menu by right-clicking on the title bar, and even turn on the menu you used to have which is now called the “Classic Menu. But once you do, it totally ruins the skinned look.

Now have a look at Windows Live Messenger 8:

Windows Live Messenger   Windows Live Messenger - chat window
Windows Live Messenger 8

No menus and toolbars here either. If you try to access the main menu by right clicking on the title bar, it won’t work here. You got to click the new icon in the title bar (right before the minimize icon) for this. It takes 3 seconds to figure this out, but now you have two Microsoft apps that behave differently and look different.


And now the Microsoft Internet Explorer 7:

Microsoft Internet Explorer 7
Internet Explorer 7

No menu, and umm… the toolbar is not a toolbar but a bunch of buttons scattered all over the place. And how do you get the menu? Right click on the title bar? Won't work. Is there a tiny icon before the minimize button? Not there. Ok, right-click on the empty tab space. Ah, there you have it - the option to enable the 'Classic Menu'.

Now you have three Microsoft apps that behave differently and look different.


Have a look at Windows Defender:

Windows Defender (formally Microsoft Anti-spyware) now runs behind the screens to protect against spyware. It's free!

Windows Defender

Windows Defender - tools
Windows Defender

There is simply no main menu in Windows Defender and everything is controlled by the couple of buttons in the tool bar. The "Tools" button is no longer the Tools menu, but a button that changes the UI to show the "tools" available.

How is that? Now you have four Microsoft apps that behave differently and look completely different.


Now the upcoming Microsoft Office 2007:

Microsoft Office Word 2007
Word 2007

Great... a whole new UI. What looks like a toolbar/menu bar/tab pane combination, with buttons of all sizes and icons of all sizes, some with text and some without, is the ultimate UI change to follow. This whole new combined UI thing clearly deserves a new name...and the new name given is – Ribbon!

The Ribbon will come in all the Office applications, dynamically changing the buttons and tabs to show what is relevant to do your current task.

Microsoft Office Excel 2007
Excel 2007 in a black theme

Microsoft Office Outlook 2007 - Send Mail
Office 2007 - New mail

What used to be the Tile Bar now has a big office icon on the left, called the "Office Button", which acts something like the old File menu. As you can see, most common buttons like the save and undo are stashed right on the "Title bar" – or what is left of it.

Microsoft Office Excel 2007 - Office Button
Office Button in Office 2007 applications

To conclude, now you have at least five Microsoft apps that behave differently and look completely different.

Where are we heading? When Windows Vista time comes, most Windows applications would be having their own UI implementations and behavior -- and that is going to be the end of consistent UIs. Stay tuned.

PS: Quick Tip: To quickly show the standard menu bar in all of these apps, you can simply hold down the Alt key!

Thursday, February 09, 2006

IE7 Preview

I've been using IE7 Preview for the past week and it's been great! Some of the first things you'll notice is the sleek new UI, integrated search providers, tabbed browsing (yes, everybody asked for it), a cool new Quick Tabs preview pane, a new Favorites Center, RSS feeds, bi-cubic zooming, a new print preview and of course the Phishing Filter!


IE7 Quick Tabs


IE7 Favorites Center

One of the first things I found strange is that text on IE7 was sort of
blurred than before. It turns out that this is because IE7 enables ClearType by default. This is a bad default, since most of us are not using LCD monitors, but you can quickly turn this off by going to Tools->Options->Advanced and clearing the 'Use ClearType' from the Multimedia section.

Another surprise you'll see is that if you go to google.com or yahoo.com for the first time, the sites will be providing a dialog to add them as an OpenSearch search provider for IE7.

Surprisingly Google is  the default search provider in IE7 out of the box when I installed it. (?) Even then, this is what I got when I first visited Google.

I do get a lot of spam, and my Outlook 2003 spam filter does a decent job of catching 99% of them. But occasionally one or two of them slip into my inbox and today I got one of those famous Citibank phishing emails in my inbox. I don't click on links in such emails, but wanting to try out the new phishing filter in IE7, I went ahead.


Phishing Filter in Action (click to enlarge)

Cool!... IE7 correctly identified the site as a phishing site. Thumbs up! If you want to try this out, click this phishing link!

Finally, the Feeds feature gives you easy access to view and add your favorite RSS feeds. See how it shows my blog feed.

Friday, November 04, 2005

Battle for the platforms

Recently Bill Gates has announced that Microsoft is planning on Internet versions of Windows and Office. I'm not sure what exacly this means or how they're going to pull this off, but it's quite surprising that Microsoft having their core products relying on the desktop for Windows and Office now moving on to platform independent web versions.

Yes, it's still vaporware, but a beta site is already up for Windows Live! and it's non other than live.com !

Windows Live

So what is Windows Live? Well, seems like it's a platform that brings together all your desktop application functionality to a browser. Starting off with Windows Live Mail, Windows Live Messenger, Windows Live Safety, Windows Live Favorites and Windows Live - what not. You can try these betas now.

Windows Live Mail is the next generation of Hotmail which was earlier announced with the codename Hotmail Kahuna. It promises the interface of the desktop version of Office Outlook 2003, with multi-select drag drop and right click context menus all with AJAX (Asynchronous JavaScript and XML) technologies. Watch out GMail!

Windows Live Mail (Hotmail Kahuna)
Windows Live Mail (Hotmail Kahuna)


While Microsoft is moving onto the web arena, the web frontier Google is moving onto the desktop space. Google released Google Desktop 2 recently, which is a combination of Google Desktop Search and the Google Sidebar all in one. So you get to see your GMail, your News etc all in one place plus the desktop search built on top of it.

As I have blogged earlier in March, Microsoft introduced their online (RSS) news reader at start.com with cool drag and drop and AJAX tricks. Google recently joined the game with their own Google Reader. Check that out. It's still beta like every other Google thing, but still very impressive. Btw. when is GMail coming out of Beta? It's been in beta stage since...... forever. :-/