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()

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.

Re: Using custom DLL in vb.net application 80 80

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.:)

Re: Using custom DLL in vb.net application 80 80

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.