Ok Well it doesn't seem to work Here is whats in my DLL:
Authentication.Class
Then I simply open my main project Add Reference to it then open my form and try to use the DLL. It sees the DLL but I am not sure how to use it. I have attached a screenshot to show you what my form does when I try to use it. Its prob just me being stupid. If I used it like I normally do:Code:Public Class Authentication Public AuthenticationType As Integer Public Username As String Public Password As String Public Level As String Public DatabasePath As String Public Authenticated As Boolean Public Sub Authenticate() ' MY WORKING CODE GOES HERE End Sub End Class
And I would normally just put that in the form where the varible is in a ModuleCode:MyVarible = ThisValue
when I do that here it just says its not declared.
My mate is a profressional programmer and he said there was a little bit of code that needs to go at the top of the dll in order for vb.net to be able to use varibles in it.





Reply With Quote