Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create DLL in VB.NET

Tags:

vb.net-to-c#

I am using VB.NET 2008, and I want to make a DLL that will be used in a C# project.

like image 817
Manish kosta Avatar asked May 11 '10 04:05

Manish kosta


People also ask

How do I create a DLL file?

To create a DLL project in Visual Studio 2019On the menu bar, choose File > New > Project to open the Create a New Project dialog box. At the top of the dialog, set Language to C++, set Platform to Windows, and set Project type to Library.

What is DLL in VB net?

A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Each program can use the functionality that is contained in this DLL to implement an Open dialog box.


1 Answers

When you build your class library in Visual Studio, it will generate the DLL for you and place it in the bin directory.

YourProject/bin/Debug/YourProject.dll
YourProject/bin/Release/YourProject.dll

It will be placed in the folder that represents your build-mode (Debug / Release), which you can normally switch in your toolbar.

like image 113
Fenton Avatar answered Dec 18 '22 22:12

Fenton