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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

trouble with syntax with fill down in Excel 3
trouble with syntax with fill down 1
Right Function 2
Area Code Mask 4
Help, probably easy 1
What are these please? 2
convert text file to excel ? 14
An Address Mess! 1

Back
Top