Can someone convert this code(VB6 To VB.NET)?

Joined
Jun 23, 2006
Messages
14
Programming Experience
1-3
Hi,
I have already found code for what some of you may have thought impossible - masking characters typed in an inputbox by replacing them with "*" The problem is it's in VB6, and in VB.NET I get errors I don't understand such as "As Any satement is not supported" and I don't understand the code enough to make changes. The URL is http://www.freevbcode.com/ShowCode.Asp?ID=1214. All I want is a working interpretation of that for VB.NET 2005(including the bit of code showing how to use it from a form). If possible, would someone mind explaining, either in a comment or the reply to this post, very briefly, what it does. E.G. "It masks the char by doing this, which is determined by this property." You don't need to both convert it and give an explanation, but if you can offer either, PLEASE post it.
Thanks in advance.
 
Did you know you can create this in no time by adding a new Dialog form with a Label and a TextBox with PassWordChar set?
 
Back
Top