ADO DOT NET Posted December 30, 2006 Posted December 30, 2006 hi one of my problems in vb 6 was that how should i set the passwordchar property of text box to look like the windows xp, but it's different in xp and 2000 and me. so to whcih font and character and size should i set it to be ok always? thanks Quote
Leaders snarfblam Posted December 30, 2006 Leaders Posted December 30, 2006 What an amazing coincidence. I just stumbled on this PasswordBox Control yesterday, which addresses, among a couple others, this issue. Quote [sIGPIC]e[/sIGPIC]
OMID SOFT Posted January 1, 2007 Posted January 1, 2007 Did you ever take a look at the "UseSystemPasswordChar" property of TextBox? You won't need to change the font or anything... Quote Don't ask what your country can do for you, ask what you can do for your country...
Leaders snarfblam Posted January 1, 2007 Leaders Posted January 1, 2007 Holy wow. Never noticed this new property. It wasn't there in 2003 and I haven't used a passworded TextBox since. The link I posted addresses the issue in .Net 1.x. OMID SOFT's recommendation will work on newer versions. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.