Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Nikhil Gaur
(70)
Shameer
(34)
Nadheera V
(30)
Last 7 Days
Nikhil Gaur
(621)
Anil Kumar ...
(582)
Abhisek Panda
(445)
more...
Resources
»
Code Snippets
»
Visual Studio
»
How to add a windows control library template to Visual C# Express
Posted Date: 15 Oct 2008
Resource Type:
Code Snippets
Category:
Visual Studio
Author:
Payal Jain
Member Level:
Gold
Rating:
Points
: 5
Visual C# Express 2005 does not come with a project template for creating custom controls (.dll files). You can create your own template by following these steps:
1. Open Visual C# Express 2005.
2. Create New windows Application with the name: MyLibrary
3. From the Project menu select Add User Control. Click on Add
4. Close any forms windows.
5. In Solution Explorer, Delete forms related files (the corresponding .cs files should be deleted by this step)
6. From the Project menu select MyLibrary Properties.
7. In the Application tab set the Output Type to Class Library.
8. In the file Program.cs replace
Application.Run(Form1)
with
Application.Run()
9. Build the Solution. There should be no errors and the bin/Release folder should have a MyLibrary.dll file
10. From the File menu select Export Template.
11. Select Project Template then Next .
12. Under Template Options change the name of the template to Windows Control Library and the Description to Create windows Control .dll. Click on Finish.
12. Close C# Express 2005.
The next time you open Visual C# Express, you will find your newly created template ready to use.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
How to add a windows control library template to Visual C# Express
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
how to use a connection the web.config
Previous Resource:
Adding a Timer control in Visual Basic
Return to Discussion Resource Index
Post New Resource
Category:
Visual Studio
Post resources and
earn money
!
Related Resources
how to use a connection the web.config
How to deploy dot net application to pc having 2 versions of framework
How to use SQL Compact Edition Insert Statement
Create PDF document using C#
Adding a Combobox to ListBox in XAML
Left Pad
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use