Results 1 to 7 of 7

Thread: [2008] Help with DLLS

Threaded View

  1. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2006
    Location
    UK / East Sussex
    Posts
    1,054

    Re: [2008] Help with DLLS

    Ok Well it doesn't seem to work Here is whats in my DLL:

    Authentication.Class

    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
    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:
    MyVarible = ThisValue
    And I would normally just put that in the form where the varible is in a Module

    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.
    Attached Images Attached Images  
    M.Carpenter

    Server Admin for Wurm Online
    Wurm Online - A very unique and original MMO from Code Club AB
    https://www.youtube.com/watch?v=YQlYar2uHWAWurm Trailor


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width