Results 1 to 3 of 3

Thread: Advanced password protection

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    6

    Advanced password protection

    Hey,

    How could I make an advanced password protections like

    Code:
    PasswordTxt.Text.Contains("Advanced") And
    PasswordTxt.Text.Contains ("Password") And
    PasswordTxt.Text.Contains ("Protection") And
    UsernameTxt.Text = ("unknown666") Then
           End if
    End Sub
    When I enter this it doesn't work, any solution?

    Kind regards,

    unknown666

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Advanced password protection

    What do you mean exactly? Is this what you're after?
    VB.NET Code:
    1. If PasswordTxt.Text.Contains("Advanced") AndAlso PasswordTxt.Text.Contains("Password") AndAlso PasswordTxt.Text.Contains("Protection") AndAlso UsernameTxt.Text = "unknown666" Then
    2.     'Do something
    3. End If
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    6

    Re: Advanced password protection

    Thanks alot!

    Rep+

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