vb .net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a controlchars for the hyphen character? If so, what is it? I am
coding an app where I want the phone number format to be 111-111-11111, using
the keypress event. Any advice would be helpful.

Thanks,
Dave
 
Dave,

You can use in VBNet forever ASCW("_") and its equivalent CHRW(123)

I did not search for the exact code that you can find with that ASC or in a
table.
This is for (all formats of) extended ASCI.

I hope this helps,

Cor
 
Back
Top