Results 1 to 3 of 3

Thread: Password feeild..

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2006

    Exclamation Password feeild..

    Hi im new on programming can annyone inform me on how can i make a Login page..

    to create a user feild.. and the feild were is entered password.. 2 be seem like this ******

    please do help me..

    i wnat to make just a login page were users must enter thair usernames and thair passwords for opening te file..?

    can annyone help me ion this buy sending a link fo anny tutorial.. or just guide me how to do it..

    thnx for reading..

  2. #2
    Frenzied Member
    Join Date
    Sep 2005

    Re: Password feeild..

    VB Code:
    1. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    2.         TextBox1.PasswordChar = "*"
    3.     End Sub

    that should be wat ur looking for.

  3. #3
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Sydney, Australia

    Re: Password feeild..

    If you're using VB 2005 I'd suggest leaving the PasswordChar property blank and setting the UseSystemPasswordChar property to True. Then you characters will appear as black dots, which is much better than asterisks if you ask me. If you want something other than the system default then you would set the PasswordChar, but do it in the design window.

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