Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The VeryTime,Stay informed and read the latest news today from The VeryTime, the definitive source.

How to Use a DLL in VB.NET

12
    • 1). Click the Windows "Start" button and select "All Programs." Click "Microsoft .NET" in the program groups, then click "Visual Studio" to start the development software.

    • 2). Click the "File" menu item and select "Open." Double-click the VB.NET project file to load it in the development software.

    • 3). Click the project name in the "Solution Explorer" panel. Click the "References" tab, then click the "Add" button to add a DLL file reference to the project. A window opens where you can select the DLL file.

    • 4). Double-click the DLL file name to which you want to link. The DLL reference window closes, and the DLL file is shown in the "References" section of the project file list.

    • 5). Call a function from the DLL. Now that the DLL is included in the project references, you can call the DLL's functions. The following code shows you how to call a DLL function:

      Call DLLfunction()

      Replace "DLLfunction" with the function name in the DLL file that you want to use.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.