Your best choice is probably a Masked Edit Control.