473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to design a password textbox?

An example program gave me a demo how to design a keypad (button
matrix) and append entered key to a string, but show "*" (star) signs
in a text box.
The Programmer-designed screen keypad works. My question is: How to
design that if user key in from keyboard, instead from the
programmer-designed screen keypad? I tried key_up, key_press, ...
events. All of these, anybody will see the characters user typed in. It

doesn't look like the popular method when we want to login a computer.

Nov 21 '05 #1
1 1421
Hi,

You will need to set the PasswordChar property of the text box to the
character you want to appear i.e. '*', then whenever a value is
entered into the text box either from a user typing or its .Text
property being set the text box will only display '*' characters.

Regards

James Thresher

On 15 Jun 2005 20:31:14 -0700, "Samuel" <yi*********@hotmail.com>
wrote:
An example program gave me a demo how to design a keypad (button
matrix) and append entered key to a string, but show "*" (star) signs
in a text box.
The Programmer-designed screen keypad works. My question is: How to
design that if user key in from keyboard, instead from the
programmer-designed screen keypad? I tried key_up, key_press, ...
events. All of these, anybody will see the characters user typed in. It

doesn't look like the popular method when we want to login a computer.


Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: tom | last post by:
Hello, I have an asp.net web application where I want people to register themselves. This takes them through a few pages with prev/next functionality. In one of the pages they provide a...
4
by: MA | last post by:
Hi all! I have a problem here. I have a web page for user administration. On this page I have a textbox for password. This textbox are in TextMode password. But when I get data, via a data...
2
by: Kerri | last post by:
Hi, I have an asp textbox that allows users to enter their password. I have another page that allows a user to edit their user account. On this page I set the text to be the password in...
4
by: Jonathan Dienst | last post by:
I have a simple data access and administration page for user details on my site, including a login password -- but I cannot get the textbox to work properly if the TextMode is set to "Password". ...
2
by: Amil Hanish | last post by:
I have a form with 5 TextBox controls. One of them is a password TextBox. When the form is submitted, one of the other fields might have an invalid format; on the repost showing the error in the...
6
by: Andre Ranieri | last post by:
I'm trying to create a login page for customers to log into our corporate website, our presidents naturally wants the user and password fields to populate from a cookie so the customer doesn't have...
17
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but...
1
by: jqheller | last post by:
Folks I am losing my mind trying to work with the TemplatedWizardStep. I have created a multistep user registration form that collects plenty of user information including a password. At the end...
6
by: SenthilVel | last post by:
hi all, i am running a ASP.Net 2.0 application. in one of the pages i have a text box which is set as PASSWORD mode. when the page is submitted or transfered , am not able to get the contents of...
5
by: Jeff | last post by:
hi asp.net 2.0 #1 How do I in the OnSendingMail method get the user email address so I knows where to send the email? #2 What is the code I need to use in the bodyfile for specifying...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.