Sunday, July 01, 2007
Saturday, June 30, 2007
Friday, June 22, 2007
Happy Birthday to me...
hi all, today is my silver jubilee. But what i am doing now.. Can you guess? I am still in the office an doing some debugging stuffs.. :(. Funny co-incidence. Last year also on this day i was here. And gave interview for job at Google, India. And this year, I am working in Google. Woooh...
I just want to say (in google words ) I'm Feeling Lucky.
Take care everyone.
Again happy birthday to me.... :)
Monday, June 18, 2007
Go to "Tools | External Tools | Add" and use the following settings for the new tool.
Title: Show in &Explorer
done.. you can now open the folder containing the currently editing file in explorer. You can assign keyboard shortcut for this command if you want to.
For further questions read this
Tuesday, June 12, 2007
Sunday, June 10, 2007
Friday, June 08, 2007
Wednesday, June 06, 2007
Lots of people wants to limit the number of character in one line of their code to be maximum of 80/100. This is done basically for readability. Believe me, code looks really readable if you follow the character limit for one line. Here is the way to have character guidelines in microsoft visual studio editor.
First, shut down Visual Studio if already started.Open Registry editor (start>run>regedit.exe). Browse to
[here 7.1 is used for visual studio 2003, look for 8.0 if you use vs 2005, or 9.0 for vs 2008]. Create a string value called
Set Guides to the following
Where x,y,z are the RGB values and n is the column number. You can have at most 13 guidelines. For example set the Guides value data to,
This will place a Red guideline at column numbers 80 and 100.
And now launch VS and open any text file.
Just delete the Guides keys you created above. Restart VS, and no more guidelines.
You can download following registry file and run which will do the same thing.
If you find this post useful, you might also like [this] and [this] post by me as well.
Programming Windows by Charles Petzold [download ebook]2625KB
Inside ATL [download ebook]1633KB
ATL Internals [download ebook]4174KB
Win 32 API tutorial:: http://www.relisoft.com/win32/index.htm
- WTL Homepage
- Code Project WTL Articles, in particular these are excellent:
- WTL for MFC Programmers, Part I - ATL GUI Classes
- WTL for MFC Programmers, Part II - WTL GUI Base Classes
- WTL for MFC Programmers, Part III - Toolbars and Status Bars
- WTL for MFC Programmers, Part IV - Dialogs and Controls
- WTL for MFC Programmers, Part V - Advanced Dialog UI Classes
- WTL for MFC Programmers, Part VI - Hosting ActiveX Controls
- WTL for MFC Programmers, Part VII - Splitter Windows
- WTL for MFC Programmers, Part VIII - Property Sheets and Wizards
- WTL for MFC Programmers, Part IX - GDI Classes, Common Dialogs, and Utility Classes
- WTL for MFC Programmers, Part X - Implementing a Drag and Drop Source
- WTL 3.1 Quick Reference (99% applicable to WTL 7.1)
- A page with links to various WTL resources and websites
- A great introduction to COM programming with ATL
If i find any more tutorials or books i will post it here.
Tuesday, May 22, 2007
Sunday, May 20, 2007
Few days from now i started using two softwares and really amazed using those. One is Source Insight and the other is Visual Assist X. These two softwares will boost your productivity 10x times. And they are so helpful, particularly if you have to jump in the middle of a ongoing project. You will understand the codeflow, context, symbols very clearly within a very short time. Normally what we do is start debugging the code, find out ways to resolve some bugs. But they will reduce the time for debugging. You just play with them and explore the magic.
I also found some productivity tips which helped me a lot. I will append them later on this post. take care. bye.
Tuesday, May 15, 2007
[Suggested by joy rahman]
 Gmail Insert HTML Signature
This script enables you to enter mail signature in HTML Format in GMAIL.
 Gmail Filter Assistant v0.16
Add an embedded filter management module in message display page, which makes adding a filter much easier.
 Gmail Signature Float
Moves your signature in Gmail to the top of the message rather than the bottom when replying or forwarding an old message.
check out for more at http://userscripts.org/scripts/search?q= gmail
Have fun :)
Navigate in your Registry to
and create a key called "Command Prompt" without the quotes.
Set the default string to whatever text you want to appear in the right-click menu.
Create a new key within your newly created command prompt named "command," and set the default string to
Cmd.exe /k pushd %L
You may need to add %SystemRoot%/ before the Cmd.exe if the executable can't be found.
The changes should take place immediately. Right click a folder and your new menu item should appear.
For more details goto this link
Saturday, May 12, 2007
I have started learning windows programming. Haven't gone through a lot. Just in the beginner position. I bought the book "Programming windows, 5th Ed" By Charles Petzold. This is quite good. Although the book says knowledge in C is ok to start windows programming but i doubt that. Anyone who wants to start windows programming, prolific knowledge in C and OOP is must. Here i am only talking about native code (win32) not the managed code. After completing petzold i have planned for learning ATL and WTL. A lot tutorials can be found over net on those topics but for WTL - i found tutorials on Codeproject is the best. Books on ATL or WTL seems rare. I couldn't manage any.
Looking for more tutorials on win32, ATL & WTL. If i find any i will post those here. And if you have any links to share with me please leave a message.