473,378 Members | 1,395 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,378 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 1801
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,...
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...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.