MaskedTextBox and PromptChar

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello,

I am trying to utilize a MaskedTextBox control on my form. I would
like the user to enter numbers only (i.e. 65000), I set the Mask
property as 999999 and the PromptChar as space (it won't take a
blank). However in my output the masked characters are replaced by
spaces. How can I change this promptchar to a blank/empty value so
that there are no spaces? Is there a more suitable control to use?

Thanks
Mike
.