473,324 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Creating Snippets

I know you can do this in VB.NET 2005 but I can't see where.....

How do you create a code snippet so you can reuse it in the right click
menu of the code designer?

Thanks in advance.

Aug 9 '06 #1
4 926
Find an application called Snippy
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

<ke*********@cimcs.co.ukwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>I know you can do this in VB.NET 2005 but I can't see where.....

How do you create a code snippet so you can reuse it in the right click
menu of the code designer?

Thanks in advance.

Aug 9 '06 #2
Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
VS2005 at the UK Visual Studio launch in 2005.

Kevin

clintonG wrote:
Find an application called Snippy
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

<ke*********@cimcs.co.ukwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
I know you can do this in VB.NET 2005 but I can't see where.....

How do you create a code snippet so you can reuse it in the right click
menu of the code designer?

Thanks in advance.
Aug 9 '06 #3
Yes, you can certainly create your own. Here are a few references:

http://msdn2.microsoft.com/en-us/library/ms165392.aspx
http://msdn.microsoft.com/vstudio/do.../codesnippets/
http://msdn2.microsoft.com/en-us/library/9ybhaktf.aspx
http://msdn.microsoft.com/library/de...desnippets.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

<ke*********@cimcs.co.ukwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
VS2005 at the UK Visual Studio launch in 2005.

Kevin

clintonG wrote:
>Find an application called Snippy
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

<ke*********@cimcs.co.ukwrote in message
news:11**********************@i42g2000cwa.googleg roups.com...
>I know you can do this in VB.NET 2005 but I can't see where.....

How do you create a code snippet so you can reuse it in the right click
menu of the code designer?

Thanks in advance.

Aug 9 '06 #4
Kevin,

Thanks, I knew it was possible.....

Kevin Spencer wrote:
Yes, you can certainly create your own. Here are a few references:

http://msdn2.microsoft.com/en-us/library/ms165392.aspx
http://msdn.microsoft.com/vstudio/do.../codesnippets/
http://msdn2.microsoft.com/en-us/library/9ybhaktf.aspx
http://msdn.microsoft.com/library/de...desnippets.asp

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Accept the Unexpected.

<ke*********@cimcs.co.ukwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
Thanks, I'll check it out but I'm sure I saw this demo'd as inbuilt in
VS2005 at the UK Visual Studio launch in 2005.

Kevin

clintonG wrote:
Find an application called Snippy
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

<ke*********@cimcs.co.ukwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
I know you can do this in VB.NET 2005 but I can't see where.....

How do you create a code snippet so you can reuse it in the right click
menu of the code designer?

Thanks in advance.
Aug 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Aurélien Géron | last post by:
Hi, Does anyone know where I can find a lot of Python code snippets? I searched the Python wiki and Internet but could not find more than five or ten code snippets at a time. I'm looking...
1
by: Vannela | last post by:
In my unmanaged there is code i n this way Class1 c1= new Class1(); // Class1 is one object and creating a instance of it\ Class1 c2= new Class2();// Class2 is another object a...
2
by: - Steve - | last post by:
I'm working on my asp.net site and I'm wondering what the best way to reuse little snippets of code is? Right now I have a Class in it's own cs file that I call Snippets. Then when I want to...
2
by: Steve Franks | last post by:
I'm using VS.NET 2005 beta 2 and am excited about the idea of using code snippets. This is a nice time saver. For example I need to read all text from a file, and see that with a simple command...
0
by: Ofer B. | last post by:
Hi Do any one know where visual studio save it's data about the code snippets directories? I added some directories with snippets and than remove them with the "Code Snippets Manager". now,...
0
by: robert | last post by:
I installed the C# snippets that were recently made available by Microsoft. Since then when I right-click and choose either Insert Snippet or Surround With... or press ctrl space, choose a snippet...
0
by: Robert Zurer | last post by:
Hello I have posted this here once before to no avail so I thought I might try again I love the snippets feature and use it constantly. However when I recently downloaded and ran the C#...
2
by: Soddy | last post by:
Hello! Say, in VB.NET, is there a 'point & click' feature for creating subs/functions/etc like in VB 6.0? If not, is there a 3rd party one that can be used? If so, how do I go about installing...
13
by: frk.won | last post by:
I am interested in learning how to use the VS 2005 code snippets. However, I wish to know what are the best ways to source control the code snippets? Are there any source safe/subversion...
2
Frinavale
by: Frinavale | last post by:
I'm attempting to supplement the help for my code by providing other developers with code snippets that demonstrate how to use my classes/method. I've created a .snippet file and have placed it in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.