I'm having a hard time trying to figure out how to use my DLL in my application, i just started off with a very basic DLL so i can figure out how to get it working before i use a DLL in my applications, in my DLL i have this:

Public Function MakeError(ByVal X As String)
        MsgBox("An error has occured: " & X, MsgBoxStyle.Exclamation)
End Function

Ive looked on google and can only find stuff saying add a reference to it and then use:

Dim ds As New DoStuff()
ds.DoSomething()

Ive tried to get it working but no matter what i do i cant get the MakeError function available in my application, iv even tried adding the DLL as an item to my project, if you could help with me getting the dll being used in my project id be very greatful thanks.

you mark this thread solved. so how it can be..
share it to other so everyone know how to solve too..
Ok.all for the best
Happy Coding.:)

I usually do but tbh i really cant remember how, il add it when i remember it.

This question has already been answered. Start a new discussion instead.