Results 1 to 2 of 2

Thread: An easy password question?.........

  1. #1

    Thread Starter
    Lively Member brjames's Avatar
    Join Date
    Jan 2000
    Location
    Tenby, Wales, UK
    Posts
    121

    Post

    I'm creating a password function for the windows application i've just written but I can't remember how to get the user input to turn to stars as the user types in the password. At the moment i've set the colour of the text being typed into the text box to the background colour. But, i've got it to change to stars before and can't remember how.

    My code is below.


    Thanks!Private Sub cmdEnter_Click()
    If txtPassword.Text = "VictoriA" Then
    MsgBox ("Password Accepted!")
    Load MainMenu
    MainMenu.Show
    Unload StartSplash
    End

    Do While txtPassword.Text <> "VictoriA"
    Loop
    End If
    End Sub


  2. #2
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Post

    Hi Br. James,

    For your textbox, Put a value of "*" for the Password Character Property.

    All the best.

    ------------------
    OneSource
    The truth may be out there, but it's in here too!
    .

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