I spent some time with the MaskedTextBox control which is new to VB.NET 2005 and thought I would share some code and links. I will post a code example shortly (See Below), but for now here are some links to information.
A few notes:
To require a digit be entered use 0, use # for optional digit entry. I don’t think this was available in the VB 6 version of the control.
You will need to check the MaskCompleted property to insure the mask is filled out as required by the mask.
Here is the code:
MaskedTextBox Example (zip file – 16 kb) VB.NET 2005