Dll problem

I have a small problem. I'm trying to load a dll dynamicaly and call functions in the dll. My mail application is suppose to look in a folder for dll's and then load them and then call a function in them. I don't know the name of the dll before looking the specific folder, but I have the interface of the dll.
The dll could look like this:

Public Class BoernetalsListe
Public Function GetCaption() As String
Dim sName As String

sName = "Brnetals liste"
Return sName
End Function

Public Function GenerateReport() 'as report??

End Function

End Class

How do I load it and caal the GetCaption function??

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!