473,387 Members | 1,721 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,387 software developers and data experts.

Code Snippets

Frinavale
9,735 Expert Mod 8TB
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 the "<Visual Studio Folder>\Code Snippets\Visual Basic\My Snippets" folder.

I've used the Code Snippets Manager and ensured that it included this folder so that I can access the snippets.

Everything works well when I have 1 <CodeSnippet> tag within the <CodeSnippets> tag....

When I add more than one <CodeSnippet> tag to the file (each with their own title, and their own code example) I'm experiencing something strange....

When I use the code snippet only the first code snippet in the file shows up. When I insert this snippet the code in the other <CodeSnippet> tags also appears.

Do you have to have a separate XML .snippet file for each code snippet you want to make available?

When I read the code schema documentation it seems to me that I can put all of my snippets into one XML file.

What am I not getting here?

Thanks,

-Frinny
Jul 28 '09 #1
2 1803
Plater
7,872 Expert 4TB
They all have the correct start and end tag format?
(I had to go look these things up, never heard of them before)
Jul 29 '09 #2
Frinavale
9,735 Expert Mod 8TB
Yuppers : )
Jul 29 '09 #3

Sign in to post your reply or Sign up for a free account.

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...
8
by: asmirnov1234567890 | last post by:
Hi I'd like to place this code to C++ code snippets site. Does anyone know about where is could be? Andrei Smirnov ======================================= // // example of how to strip...
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...
5
by: Thomas | last post by:
hello, what is the best way to store code snippets? Is there a good plugin available or another good app? thomas
3
by: kai | last post by:
Hi, Base on MSDN help, in VS2005 IDE, select "Tools -> Code Snippets Manager", but I cannot find "Code Snippets Manager" under "Tools" menu. Also I noticed when I insert snippets in C#, it has...
10
by: Jak | last post by:
Hi, all, I am wondering if there are any addons for VB.NET 2005 to complete the codes automatically after I entered two or three characters, just like Delphi does. Thanks, Jack Zhong
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...
1
by: StreamLogic | last post by:
All, I have posted this question in various groups, so I apologize for any overlap. I'd like to hear how other developers/architects keep track of old scripts, code snippets, relevant URLs,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.