Recipe 2.3. Sharing Snippets


Problem

You've created a number of terrific code snippets, and you would like to share them with others.

Solution

The .snippet files used to store your code snippets are simple disk-based XML files. To share snippets with others, make copies of the files, and distribute them as needed.

Discussion

The code snippet technology included in Visual Studio is pretty basic. It simply presents a list of code snippet files found in directories you specify. As long as snippet files appear in directories referenced by Visual Studio, those snippets are available for use.

On your system, you can probably find all the Microsoft-supplied snippets in the C:\Program Files\Microsoft Visual Studio 8\VB\Snippets\1033 folder.

See Also

Recipes 2.1, 2.2, and 2.4 provide additional information on code snippets.




Visual Basic 2005 Cookbook(c) Solutions for VB 2005 Programmers
Visual Basic 2005 Cookbook: Solutions for VB 2005 Programmers (Cookbooks (OReilly))
ISBN: 0596101775
EAN: 2147483647
Year: 2006
Pages: 400

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net