[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 172
  • Last Modified:

Format text box as phone number

I need to format the text in a textbox as a phone number.
0
NevSoFly
Asked:
NevSoFly
1 Solution
 
jpaulinoCommented:
Use MaskedTextBox and the select the phone format in mask properties
0
 
Bob LearnedCommented:
Dim phone As Long = 9999999999;
Dim s As String = phone.ToString("###-###-####")

Bob
0
 
NevSoFlyAuthor Commented:
thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now