Adding your own Custom Control to a Windows forms Context Menu

March 6, 2009

Ever wanted to show your own custom control, inside the windows forms context menu? has a nice article with how-to video.


I have a new site

February 13, 2009



I am finally back with a new website of my own. The new name is

I was not able to update my blog as soon as I launched my new site as I was busy with the my work in office.

I have added Send To Notepad and Favorites Menu for Visual Studio under My Development section of my site.

Let me know what you feel about the new site 😉 is taken away

December 30, 2008

Hi all, due to some reasons, I could not renew my domain. Unfortunately it is already taken by someone who is currently showing advertisements. The site’s current registrar is ALLEARTHDOMAINS.COM LLC.

I will be updating you all when I have a new domain.

Sorry for all who were interested to download my popular Send To Notepad and Favorites Menu for Visual Studio 2005/2008 and could not download because of this issue.

Below, I am posting new download links (uploaded in SkyDrive) for these tools of mine.

Download Favorites Menu for Visual Studio

Download Send To Notepad

Screenshot of Favorites Menu for Visual Studio 2005/2008:



Screenshot of Send To Notepad:



Share this post :

Orientation aware control for Mobile

December 27, 2008

I have been involved in developing mobile web applications for almost a year and half now. In this period I developed few applications where the requirement was to change the orientation of the layout (horizontal to vertical and vice-versa) automatically based on device width. Some times (in case of new age phones like iPhone, Storm) this may be also depending on the how the device is being currently viewed.

In such scenario’s we used to break lot of our head to make the page work and yet support different orientations supported by the phone. In achieving this we used to end up having either two layouts or change the controls location based on the current orientation of the phone/device. This is really a time consuming job and very boring job for a person like me.

Today, I found a user control called Orientation Aware Control, which automatically does this job for us. Although this is not free control, it supports classic phones to the Windows Mobile 6.0/6.1.

From OAC website:

The Orientation Aware Control allows designing and coding a single control or form with multiple layouts or skins that are automatically applied at run-time (and design-time) according to the available form factor, resolution and orientation. Its outstanding Visual Studio forms and user control designer integration and zero-code adaptive UI behavior make the Orientation Aware Control a must-have companion for any mobile shop targeting multiple devices, bringing back the productivity you need to focus on growing your business.

ObjectListView control

December 18, 2008

I am developing an Visual Studio package from long time to improve the time spent in reviewing code in my organization. It is in final stages of development now. In this package I have a requirement to show a tabular data for which I was using .NET list view control till 2-3 days back.

As many may know, the .NET list view control does not have built in features like column-wise sorting, alternate row colors, showing graphics etc. Though you can achieve all this in .NET list view control, it involves a extra coding from your side. Hence I was in search of perfect list view control from few days.

Finally I found a free control in The control is called as ObjectListView.

I am using this from past 2-3 days, and I am loving it. There are huge number of customizations available inside this control and I still need to explore them.  Also this control comes in different forms like, TreeListView, VirtualObjectListView etc.

Below are few screenshots of the control.


Yahoo Zimbra Desktop

December 12, 2008

Today I downloaded Yahoo Zimbra Desktop application to manage my different email accounts. Although I use outlook/POPPeeper for most of my emailing activities, I must say that Zimbra app is impressive.  Try it out by downloading it from here.


Gmail themes

November 20, 2008

Check out new themes tab in Settings of your gmail account. There are plenty of themes to suite your mood. Check out my desk theme 🙂


Singleton Pattern vs. Static Class

November 13, 2008

The singleton pattern ensures a class has only one instance, and provide a global point of access to it.

There is a nice article about choosing between Singleton pattern and the static class here with examples.

DebuggerStepThrough attribute

November 6, 2008

Pedram Rezaei has written how we can let .NET debugger know, not to step in to certain elements of your program with the help of DebuggerStepThroughAttribute.

Read it here

AnkhSVN update

September 10, 2008

AnkhSVN as mentioned before is a visual studio integrated sub version tool. It has released the new version v2.0, and is fully compatible with bot Visual Studio 2005 and Visual Studio 2008 version.

There are no issues as of now with the addin and it integrates smoothly with both editions of Visual Studio.