Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CALL function ... (6.0)

    What is wrong when i call the function in sub LDAP_VALIDATE

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: CALL function ... (6.0)

    The line

    Dim Username, Domain, Password As String

    declares only Password as a String. The data type for UserName and Domain is not specified explicitly, so they are declared as Variant. To declare all three as String, you must change the line to

    Dim Username As String, Domain As String, Password As String

Posting Permissions

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