Article Options
Premium Sponsor
Premium Sponsor

 »  Home  »  .NET Newbie  »  Using the “Code Snippet Editor for Visual Basic 2005”
 »  Home  »  Visual Studio 2005  »  Using the “Code Snippet Editor for Visual Basic 2005”
Using the “Code Snippet Editor for Visual Basic 2005”
by Dave Barr | Published  05/24/2006 | .NET Newbie Visual Studio 2005 | Rating:
Dave Barr
Not much to tell, so for now view some of my custom logo designs, and a photograph of mine that made it to the local newspaper. 

View all articles by Dave Barr...
Getting Started

This is a short and very basic tutorial about using the very powerful, yet easy-to-use FREE "Code Snippet Editor for Visual Basic 2005" download that is available at msdn.microsoft.com.  By completing this tutorial you will learn the basic steps involved in creating custom snippets, and using them from within Visual Studio's Code Window.   Any programmer, whether newbie or seasoned pro, will find this tool extremely beneficial. 

Let's begin by opening the Snippet Editor.

 

 

This is the editor's opening screen. Move your attention to the top left of the screen and right click on the "Visual Basic" folder.

 

 

 

 

Press "Add Path..." and the "Browse For Folder" Dialog will open.

 

 

Navigate to the following path (changing [User Name] as needed):

C:\Documents and Settings\[User Name]\My Documents\Visual Studio 2005\Code Snippets\Visual Basic\My Code Snippets

This path should have been automatically created by Visual Studio during installation.  If it was not, you must manually create it through Windows Explorer. The Snippet Editor does not allow creation of a root path with the "Browse For Folder" Dialog.

 

 

Comments    Submit Comment

Comment #1  (Posted by an unknown user on 05/25/2006)
Rating
Very informative and straight forward. Articles like this are always appreciated!!!

-Do
 
Comment #2  (Posted by an unknown user on 05/29/2006)
Rating
This is a Great Job of explaining in detail and showing in graphics just what you should do. This is truly a great way to teach. Thank You.
 
Comment #3  (Posted by sp!ke on 07/16/2006)
Rating
Great article. You got me all juiced up for using it, and then I found out that for some reason this utility only edits code snippets for VB, not C#!
 
Comment #4  (Posted by sp!ke on 07/16/2006)
Rating
Please disregard my previous comment - there is an Options button that allows you to choose which languages to display snippets for, and C# is one of them.
 
Comment #5  (Posted by an unknown user on 09/01/2006)
Rating
DAVE PASSED AWAY ON JULY 31, 2006
 
Comment #6  (Posted by an unknown user on 11/21/2006)
Rating
This was the clearest tutorial I've ever read. Everything was as written in tutorial and the snippet ran as described. This man should have written the bible on VB. Other authors should read this article to keep in their heads what their tutorials should contain. There was nothing left out of this tutorial and there ALWAYS is.
 
Comment #7  (Posted by an unknown user on 12/20/2006)
Rating
Another incredible article by Dave, we will all miss him if it really is true that he has passed on. My condolences to the family and good energies your way.
 
Comment #8  (Posted by an unknown user on 03/01/2007)
Rating
Godspeed Dave!

You're informative articles and dedication to helping the development community will be sorely missed.

This article in particular has helped me greatly.
 
Comment #9  (Posted by an unknown user on 07/16/2007)
Rating
Easy to follow and very usefull
 
Comment #10  (Posted by an unknown user on 07/19/2007)
Rating
very good, I am developer, and much so have use snippet
 
Comment #11  (Posted by an unknown user on 12/31/2007)
Rating
What a fruitful article as being a newbie. Life is nothing without appreciation, as this article remain alive for someone roles is an instrument to his 2nd coming journey.
 
Comment #12  (Posted by an unknown user on 09/02/2008)
Rating
I followed the step by step examples using the Visual Studio 2008 Snippet Editor and found it very easy to use. I just needed to right click to add replacements as the new editor does not use tabs. I would love to see more technical authors write in this manner. It makes it so much easier to understand and I am confident that I can apply this knowledge to the work that I do immediately.

Thanks.
csergent
 
Comment #13  (Posted by busrider on 01/04/2009)
Rating
eFront-???????? ??????? ??????? ? ???????????? ??????? www.e-front.com.ua
 
Comment #14  (Posted by busrider on 01/04/2009)
Rating
eFront-???????? ??????? ??????? ? ???????????? ??????? www.e-front.com.ua
 
Sponsored Links