Click here to Skip to main content
15,915,867 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all


I want to create DLL file please tell me how to create
Posted
Comments
RDBurmon 8-Jun-12 8:28am    
Thanks Everyone who replied to this thread , So OP , I think you have got enough response and you should be able to mark it as your answer and close the thread.

Using Visual Studio, Create a class library project and build it.
 
Share this answer
 
v2
Comments
codeBegin 8-Jun-12 5:09am    
To the point :) +5
Sandeep Mewara 8-Jun-12 5:14am    
Thanks.
create a class library project choose the languag whatever you want (C#,vb...)write whatever logic you want then build that library by right clicking the solution you can get the dlls of that project in bin folder of your project.

their are two option to build the project in release mode/ debug mode. it will always better to chose release mode when you are going to deploy

or

see these links
http://www.c-sharpcorner.com/uploadfile/mahesh/dll12222005064058am/dll.aspx[^]
 
Share this answer
 
Comments
codeBegin 8-Jun-12 5:10am    
Good answer & link too.. A 5!
P N Bhaskar 8-Jun-12 5:26am    
thank you naveen
vangapally Naveen Kumar 8-Jun-12 5:33am    
Thanks CodeBegin.........
vangapally Naveen Kumar 8-Jun-12 5:34am    
Welcome Bhaskar
DLLs is a great way to reuse code.

Rather than re-implementing these routines in every program you create, you write them once and reference them from applications that need the functionality:
Creating and Using a Dynamic Link Library [^]
How to: Create and Use C# DLLs (C# Programming Guide)[^]

Building DLLs[^]
How to create DLLs[^]
 
Share this answer
 
Comments
Sandeep Mewara 8-Jun-12 5:14am    
Good links. 5!
codeBegin 8-Jun-12 5:16am    
thanks Sandeep
Right click on ur project add new item select class and write the code in that.then build ur project next right click on your project select Add Refference then select Browse Tab go to your project location then select bin folder then select debug folder in that .dll file extension will be there select that one and click on ok 'dll file is added to your project
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900