What I did for this exact circumstance was to use four textboxes separated by labels (with text of "-") in between.

I see many programs that do it this way. If you limit each textbox to accept only four characters, it makes it easier for the user too.

p.s. Make sure you set the tabstops correctly.