CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 11/17/2009 7:13:26 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 2 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"Eliza James" <
NewsGroup User
Storing a piece of code in the toolbox29 days ago

0

Plese guide me how do I  use the toolbox to store code snippets.

I want to add code snippet to toolbox, something like how we are adding custom control(.dll) to VS tool box. I am using vs 2005.

Thanks.

"Steelymar" <>
NewsGroup User
Re: Storing a piece of code in the toolbox29 days ago

0

"Eliza James" <
NewsGroup User
Re: Storing a piece of code in the toolbox29 days ago

0

In a VS 2005, we can drag code snippet from aspx.cs page to VS toolbox.When ever we want to use the same in our project we can drag and drop to our aspx.cs page.

How do I pack this toolbox settings(toolbox has this code snippet), so that it will be available to other programmers of VS 2005.

Is there any way to add this code snippet to toolbox of VS 2005, something like how we are adding custom control(.dll) to VS 2005 toolbox?

Thanks,

Eliza

"Thomas Sun – M
NewsGroup User
Re: Storing a piece of code in the toolbox26 days ago

0

Hi,

To add code snippet into toolbox of Visual Studio 2005 and above edition, you can simple drag and drop the code block selected into General Tab of Toolbox.

To use code snippet in toolbox, you just need to double click it and the code will be inserted into where cursor is.

For more information, you can refer to http://www.codegain.com/index.php?option=com_content&view=article&id=190:how-to-place-your-reusable-code-into-toolbox-in-visual-studio&catid=160:how-to&Itemid=156

 


I look forward to receiving your test results.

 


Thomas Sun
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question.
"amitchandnz" <
NewsGroup User
Re: Storing a piece of code in the toolbox24 days ago

0

Just a note that it might pay to create a tab to store your custom snippets so that you can group them together.  Just right click with your mouse on the toolbox and select "Add Tab" and give this new tab a name.  Now just drag and drop the snippets from either the code behind file or design file that you want to reuse into the new tab that you have created.  These snippets will now be saved in the toolbox for next time.

"Eliza James" <
NewsGroup User
Re: Storing a piece of code in the toolbox23 days ago

0

Thanks. Its correct.

But my requirement is I dont want to drag and drop code snippet  to toolbox.Is there any customised way to add code snippet to toolbox, something like how different users are using the custom control by making use of custom control dll?

 

6 Items, 1 Pages 1 |< << Go >> >|




   
  Privacy | Contact Us
All Times Are GMT