Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WinXp style Password Characters

Status
Not open for further replies.

jmc014

Technical User
Nov 24, 2007
80
ES
Hi there,

I'm having a bit of a hard time creating the XP style password characters instead of the standard "***". I've seen the related FAQ and have adjusted the textbox font to Windings 10, the problem that I'm having is that I dont know how I can set the lower case "l" to the textbox. Does anyone know how this is done?

Thanks,
 
I dont know how I can set the lower case "l" to the textbox

Not sure what you are talking about here; have you looked at the UCase() LCase() functions?

Ever notice how fast Windows runs? Me neither.
 
genomon, the problem the OP is encoutering is that to produce the XP style password characters, the value in the textbox needs to be lower case l (as the actual value wouldn't make the correct symbol).

This would be dead easy in VB6 using l as the textbox's Password Char but is a little bit more difficult in Access, I'm still trying to think of a useful solution.

HarleyQuinn
---------------------------------
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little. - Joe Martin

Get the most out of Tek-Tips, read FAQ222-2244 before posting.

 
Here is a start - code will change whatever is typed in to whatever you want (you'll have to look up the ascii value you want):
Code:
Private Sub txtTextBox_KeyPress(KeyAscii As Integer)

    KeyAscii = the ascii c0de you want to display

End Sub

You'll probably want to add some code to store what was actually typed in before you change it.

Ever notice how fast Windows runs? Me neither.
 
Thanks guys,

I'm not sure if it's actually worth while spending too much time on this since it's not critical and only "Nice to have".

I'll have a quick play around to see if something can be done.

Thanks for your help.

Pd. You said: Ever notice how fast Windows runs? Me neither.

Lucky you, at least your windows runs!!! Just wait until Windows 7 comes out...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top