How to create dll in window based application in

In this post, we will discuss how we can create a dll in windows based application in vb.Net. Also, you can check out my previous posts on:
Follow below steps:
-> First open the Visual Studio.
-> Then go to File menu
-> create a new project
-> select class library
-> select visual basic
-> Then give the name of the solution as myDll
-> Then give the location like D:\myDll1
-> Then press ok.
Below is the Example:
Public Class class1
Public Str As String
Public Function Display() As String
Return “AspDotnetHelp”
End Function
Public Function Add (By Val an As integer, By Val b As integer) As integer
Return a+b
End Function
End Sub
End Class
Then go to build option.
Select build myDll.(It creates some DLL files in a location like D:\myDll1\myDll\myDll\bin\Debug\myDll.dll).
free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site