Article Options
Premium Sponsor
Premium Sponsor

 »  Home  »  .NET Newbie  »  Using the “Code Snippet Editor for Visual Basic 2005”  »  Snippets Folder
 »  Home  »  Visual Studio 2005  »  Using the “Code Snippet Editor for Visual Basic 2005”  »  Snippets Folder
Using the “Code Snippet Editor for Visual Basic 2005”
by Dave Barr | Published  05/24/2006 | .NET Newbie Visual Studio 2005 | Rating:
Snippets Folder

You should now find a new root-folder listed under the Visual Basic Title with the name, "My Code Snippets". [Personally, I keep all my sub-folders under that one root-folder because I find it easier to search for my custom snippets that way. It is also much easier to create sub-folders than root-folders.]

 

 

Now we will create a sub-folder. Right click on the "My Code Snippets" folder and choose "Add New Folder".

 

 

You will be prompted to enter a name for the new folder. Type: VbCity Samples and press OK.

 

 

You should now find a new sub-folder Listed under "My Code Snippets" with the name, "VbCity Samples".

 

We are now ready to start creating a new custom snippet. Right click on the "VbCity Samples" folder and choose: Add New Snippet.

 

 

The Add New Snippet Prompt will ask you to name the new snippet, type: My YesNo Msg Snippet and press OK.

 

 

A new blank snippet has been created in the VbCity Samples folder. Double-click on the new snippet.

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.
 
Sponsored Links