Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

hiding passcodes in text boxes

Posted on 2003-02-26
4
Medium Priority
?
130 Views
Last Modified: 2010-05-01
hi there,

i am quite new to VB and have managed to create a code that will ask for user passcode in order to log in to the application. the problem now is how do i make it possible that the code eg "123456", is shown as "******" in the text box for security purposes?

thanks in advance

aagb
0
Comment
Question by:aagb
  • 2
4 Comments
 
LVL 2

Expert Comment

by:Jacamar
ID: 8027766
Text1.PasswordChar = "*"
0
 
LVL 2

Accepted Solution

by:
Jacamar earned 200 total points
ID: 8027770
You can either code this in the form load, just put in a

*

in the textbox properties
0
 

Expert Comment

by:wezzley
ID: 8027775
Hi,

the textbox has a property called "passwordchar". just fill in a * or any other character you want and the textbox will show that instead of the character you really typed.
cheers
0
 

Author Comment

by:aagb
ID: 8027928
am very grateful! it works like magic!!!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question