Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 write DLL file by vb.net language, need help

views
     
TSwilliam
post Feb 17 2006, 10:29 PM, updated 20y ago

Getting Started
**
Junior Member
184 posts

Joined: Jan 2003
Dear folks,

i want to write my own DLL file (library file) by vb.net language. But i don't know where to build it. Can somebody here give me some guidance and reference. Really appreaciate.

Infinity
post Feb 18 2006, 02:43 AM

no limit
Group Icon
Elite
3,001 posts

Joined: Jan 2003
From: KL, M'sia



1) Launch VS2005
new-> project -> choose VB -> Windows -> Class Library

or

2) or if u r using the Framework SDK. Write your code and save it as *.vb and use the below command. You might need to set your path

CODE

vbc.exe /t:library /r:System.dll /r:System.Web.dll yourprog.vb

anthony_yio
post Feb 18 2006, 10:48 AM

........
Group Icon
Elite
1,828 posts

Joined: Jan 2003


QUOTE(william @ Feb 17 2006, 10:29 PM)
Dear folks,

      i want to write my own DLL file (library file)  by vb.net language. But i don't know where to build it. Can somebody here give me some guidance and reference. Really appreaciate.
*
By the way, the DLL that you built will only be in .NET assemblies format.

Native C++ program or Delphi can not easily call it unless they are also a .NET program. (Not easy mean not as convenient as it gets. )
TSwilliam
post Feb 18 2006, 10:52 PM

Getting Started
**
Junior Member
184 posts

Joined: Jan 2003
QUOTE(Infinity @ Feb 18 2006, 02:43 AM)
1) Launch VS2005
new-> project -> choose VB -> Windows -> Class Library

or

2) or if u r using the Framework SDK. Write your code and save it as *.vb and use the below command. You might need to set your path

CODE

vbc.exe /t:library /r:System.dll /r:System.Web.dll yourprog.vb

*
Do you have any online reference or maybe example? Anyway, thanks your information.Trying now.
TSwilliam
post Feb 18 2006, 10:54 PM

Getting Started
**
Junior Member
184 posts

Joined: Jan 2003
QUOTE(anthony_yio @ Feb 18 2006, 10:48 AM)
By the way, the DLL that you built will only be in .NET assemblies format.

Native C++ program or Delphi can not easily call it unless they are also a .NET program. (Not easy mean not as convenient as it gets. )
*
I'm not get your meant what is only be in .NET assemblies format? CAn you explain futher. Thank you.
Infinity
post Feb 20 2006, 12:19 AM

no limit
Group Icon
Elite
3,001 posts

Joined: Jan 2003
From: KL, M'sia



QUOTE(william @ Feb 18 2006, 10:54 PM)
I'm not get your meant what is only be in .NET assemblies format? CAn you explain futher. Thank you.
*
i think he means that you will need .net framework in order for that DLL to be used.

i copy that example from book. u can always try google around... shouldn't be too hard to find try 'vbc.exe /t:library'
TSwilliam
post Feb 20 2006, 01:19 PM

Getting Started
**
Junior Member
184 posts

Joined: Jan 2003
QUOTE(Infinity @ Feb 20 2006, 12:19 AM)
i think he means that you will need .net framework in order for that DLL to be used.

i copy that example from book. u can always try google around... shouldn't be too hard to find try 'vbc.exe /t:library'
*
ok..thanks..trying..
TSwilliam
post Feb 20 2006, 01:21 PM

Getting Started
**
Junior Member
184 posts

Joined: Jan 2003
QUOTE(william @ Feb 20 2006, 01:19 PM)
ok..thanks..trying..
*
any knowledge about this problem, please share together.

biggrin.gif

 

Change to:
| Lo-Fi Version
0.0153sec    1.42    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 05:12 AM