Well this is my 1000th post here at DaniWeb and I thought "What better way to celebrate than by posting my first ever code snippet?"
This problem occurred in an application that I am working on. I have a password field in my form that was specified as Multiline, and it correctly worked on my PC, but my friend's PC was showing it as text. It turns out that Windows XP expects password fields to be single line only, but Vista (and I assume Windows 7) doesn't care if it is a single or multi line text box. In the code snippet you see three text boxes being added to a form. On XP, only the first field will correctly display a * character in place of the text, whereas in Vista all three will.
I guess a password field would be unusual to accept multiline text, but I overlooked this property when attempting to solve the issue. I hope this sheds some light for someone out there...