Outline ·
[ Standard ] ·
Linear+
write DLL file by vb.net language, need help
|
TSwilliam
|
Feb 17 2006, 10:29 PM, updated 20y ago
|
Getting Started

|
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
|
Feb 18 2006, 02:43 AM
|
no limit
|
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
|
Feb 18 2006, 10:48 AM
|
........
|
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
|
Feb 18 2006, 10:52 PM
|
Getting Started

|
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
|
Feb 18 2006, 10:54 PM
|
Getting Started

|
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
|
Feb 20 2006, 12:19 AM
|
no limit
|
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
|
Feb 20 2006, 01:19 PM
|
Getting Started

|
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
|
Feb 20 2006, 01:21 PM
|
Getting Started

|
QUOTE(william @ Feb 20 2006, 01:19 PM) any knowledge about this problem, please share together.
|
|
|
|
|