Geeks With Blogs
Daren Kovacevic blog

1. Close Visual Studio if already open
2. Open regedit
3. Go to [HKEY_CURRENT_USER]\Software\Microsoft\VisualStudio\8.0\Text Editor
4. Create a new string value and call it 'Guides'
5. Set the guides by specifying an RGB color and the location of the lines. for example:

Guides = RGB(224,224,224) 4, 8, 12, 16, 20

The above will give you lightly colored grey lines. You can change this to whatever you prefer by adjusting the RGB values contained in the brackets.

6. Open VS2005 and you will see the lines.

Posted on Thursday, January 25, 2007 2:23 PM .NET | Back to top


Comments on this post: Guidelines in Visual Studio 2005 (an oldie but a goodie)

# re: Guidelines in Visual Studio 2005 (an oldie but a goodie)
Requesting Gravatar...
I applied the data listed above and it had no effect. Did I miss some steps? does the string "guides" have a special significance to VS2005? how does it recognize what it is to do?
Left by Robert Dieter on Feb 13, 2007 7:22 AM

# re: Guidelines in Visual Studio 2005 (an oldie but a goodie)
Requesting Gravatar...
P.S.
After some experimentation I discovered that THe RGB settings that you had suggested were so faint on my monitor that I could not see them. I made some adjustments and there they were. Very Nice. I still don't understand how VS2005 recognizes the word "Guides" is this some sort of reserved word?
Left by Robert Dieter on Feb 13, 2007 9:01 AM

# re: Guidelines in Visual Studio 2005 (an oldie but a goodie)
Requesting Gravatar...
Yes. My understanding is that Visual will read the registry settings when it loads, and if it sees a "Guides" keyword it will active the guidelines
Left by Daren Kovacevic on Feb 13, 2007 9:19 AM

# re: Guidelines in Visual Studio 2005 (an oldie but a goodie)
Requesting Gravatar...
Some computers may need you to have the string in all caps ("GUIDES") when you enter the key. This may be why it won't show for some people.
Left by Randall Knapp on Mar 21, 2007 10:49 AM

Your comment:
 (will show your gravatar)


Copyright © Daren Kovacevic | Powered by: GeeksWithBlogs.net