Saturday, June 30, 2007

Harry potter

All the harry potter lovers.. u all know the 7th book of harry potter series is going to be released on July 21 this year. I searched for rumors and facts about this book, and found some site really interesting. if you have no work and your time is not passing then u can stop by these sites and read the comments and posts.
Cheers

Friday, June 22, 2007

Happy Birthday...

Hu u u u.....
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

Opening the current editing file's parent folder in explorer from Visual Studio

Run Visual Studio.
Go to "Tools | External Tools | Add" and use the following settings for the new tool.

Title:       Show in &Explorer
Command: c:\windows\explorer.exe
Arguments: /select,$(ItemPath)


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
http://msdn2.microsoft.com/en-us/library/9814d200(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/80cb6ks3(VS.80).aspx

Tuesday, June 12, 2007

Russian CAPTCHA



nothing left to say about this captcha

Playing NFS Carbon Again

Everyday before i come back from office, i play NFS Carbon. I just love this game. thats why playing again. 50% complete now. and this time i dont want to finish it very early. :)

Sunday, June 10, 2007

List of site for downloading e-books

Hi all, how r u? After a long break i will write here regularly again. Below here is some links where you can download free books. check these out. i am sure it would be beneficial for you. take care. If you know some other sites where books can be downloaded please leave a comment and the link of the site. ciao. :)

ftp://194.44.214.3/pub/e-books/ [6/12/07]
http://www.esnips.com // this site is actually is a file sharing site, quite useful. lots of books also here

Wednesday, June 06, 2007

Visual Studio Tips.. 80 Character Guideline

Enabling Guidelines in Visual Studio

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

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\Text Editor]

[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

Guides

Set Guides to the following

RGB(x,y,z) n1,...,n13

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,

RGB(128,0,0) 80,100

This will place a Red guideline at column numbers 80 and 100.
And now launch VS and open any text file.

Disabling Guidelines
Just delete the Guides keys you created above. Restart VS, and no more guidelines.

Easier Way:
You can download following registry file and run which will do the same thing.
vs2003_guideline.reg
vs2005_guideline.reg
vs2008_guideline.reg
vcs2008ExpressEdition_guideline.reg

If you find this post useful, you might also like [this] and [this] post by me as well.

Thanks

Programming Windows - Part II

Some resources i found quite useful. Its basically for win32/ATL/WTL programmers.
read:
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 Links:

If i find any more tutorials or books i will post it here.

A few more movies

Watched 'Hitcher' a few days ago. Not that kind of movie to waste your time watching it. A total waste of time. I also watched 'Wizards of Oz' some days back. awesome movie. if you like the classic movies you can watch it. Anyone of you watched 'The Graduate'? its an awesome movie. Dustin Hoffman is one of the main character here. he is so good...