Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

What is DLL and What are its Uses (Part 1)

Author: DevASP

A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. The main advanatage in using DLL is several can use the same DLL during their execution.

Use of DLL (Dynamic Link Library)

 

Here are the key points that will guide you in understanding DLL. 

  • When we want to hide our code from the user then we make DLL (Dynamic Link Library) and add these in other application now no body can open this. 
  • When we want to use same code in different applications (REUSABILITY) then we make DLL of that code and add that code in other applications. 
  • When you want to use Functions of C# in Vb.net then you will make DLL of C# and add this library in VB.net and can easily use its functions. 

Examples:

           

     There are many Examples of DLLs in .net. You are familiar with different DLLs like

 

System.Data

System.Drawing

System.Globalization

 

Now here System is a DLL and further are its classes. We can make classes in a class and make functions in class like

 

System.Data.SqlClient

 

SqlClient is a class in Data Class.

 

System.Data.SqlClient.SqlConnection

 

Now in this sqlconnection is a function of class sqlclient. We all know that we can just use these functions but can’t see there code. So this is a very useful concept.

Article Comments
Answer is good

Posted on 11/13/2009 9:15:04 AM by abhishek

its very good article. i've one query ... how can we add invisible Controls to toolbox?

Posted on 2/10/2010 3:04:55 AM by Chandrakant

hey gud one.....a proper definition with proper use..!!

Posted on 3/1/2010 12:28:27 PM by alka

This answer is very satisfied.

Posted on 3/4/2010 8:13:44 PM by Bapi

Really gud one...

Posted on 3/23/2010 6:18:06 AM by shalini

really good one....

Posted on 4/2/2010 2:02:01 PM by siva

This is Important Exm.

Posted on 4/19/2010 5:39:35 AM by mitra

Good aproach ......

Posted on 4/20/2010 2:05:10 AM by Ravi kumar G.V

Clear definition.thank u

Posted on 4/28/2010 2:08:08 AM by Rosiek

very satisfied answer

Posted on 5/8/2010 12:06:08 PM by amita

hi i am pardeep and i want to learn C#.net basics plz reffer me which website is best for me please send me url

Posted on 5/26/2010 6:46:09 AM by Chotian

Hi i m rajesh, and right now i m feeling very glad to got the satisfaction answer of DLL, thanx for writting glorious content about DLL, and in last i want to say something, plz add a best content about JIT. thanx.

Posted on 5/26/2010 2:22:50 PM by Rajesh Kumar

nice answer

Posted on 5/29/2010 6:32:05 AM by Amaan Khan

good ,very good

Posted on 6/7/2010 2:07:38 AM by shiv karke

Really nice

Posted on 6/10/2010 7:24:13 AM by gurudatta

its very good and i need the relation between dll and a class

Posted on 6/15/2010 1:00:41 AM by vamsi

good understanding by this article. nice description.

Posted on 6/29/2010 3:23:18 AM by adarsh

Very Nice

Posted on 6/30/2010 2:42:29 AM by Manju

how to access the .dll files of some application in my own coding for eg. for java how can i use the .dll files....
plz reply

Posted on 7/5/2010 12:22:48 PM by pranesh

its awesome view but plz reply someone for my question asked previously

Posted on 7/5/2010 12:24:52 PM by pranesh

nice example:)

Posted on 7/14/2010 5:14:41 AM by ishu

nice answer dude excelent

Posted on 7/16/2010 11:33:35 PM by mak

Its really good, thx a lot....

Posted on 8/23/2010 1:29:39 AM by santosh

So simple and clear ans.
Thanks...

Posted on 8/27/2010 11:00:09 AM by Kapil

Shobha
I understand now what is dll. so how to create dll please tell me.very nice explain thanks.

Posted on 9/15/2010 3:18:29 AM by shobha

Ya, really good one, simple and clear

Thanks..........

Posted on 9/16/2010 1:48:16 AM by Santosh

good and simple

Posted on 9/23/2010 5:39:47 AM by Pandian

he,,,,,,,,,,,,,,realy good .

Posted on 9/26/2010 4:21:42 AM by Alok Kumar Rai

hey......its nice and simple but tell me how to create own dll file

Posted on 11/11/2010 11:47:17 PM by Mudassar

really good

Posted on 11/12/2010 1:21:20 AM by ali abbas

very good thing in the answer is its simplicity.. it is defined in very simple language.. anybody can understand easily... thanks

Posted on 11/28/2010 2:32:53 AM by Preeti Gupta

Ya I got it. It's Very useful i want to learn ASP.net basics plz reffer me which website is best for me please send me url

Posted on 11/28/2010 7:15:30 AM by Yasar

   
Add Article Comment:
Name :
Email Address :
   
Comments :
 
   
<< How to Get Host Name and IP Address in VB.Net

Disclaimer - Privacy
© 2002-2017 DevASP.net