Click here to Skip to main content
15,907,492 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 11:40
12String27-Oct-05 11:40 
GeneralRe: Help with code for telephone validator Pin
DA_Loring10-Nov-05 0:53
DA_Loring10-Nov-05 0:53 
AnswerRe: Help with code for telephone validator Pin
12String27-Oct-05 11:39
12String27-Oct-05 11:39 
AnswerRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 15:05
protectorChristian Graus27-Oct-05 15:05 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 16:20
12String27-Oct-05 16:20 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 16:27
protectorChristian Graus27-Oct-05 16:27 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 16:35
12String27-Oct-05 16:35 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 16:38
protectorChristian Graus27-Oct-05 16:38 
12String wrote:
How can I manipulate the IsNumeric function to incorporate the dashes using the IndexOf method.


That's a real hack, I would not use it. The answer though would be to use split to split into a number of substrings, by the -, and then stepping through each string.

12String wrote:
I tried that and it did not like it.


A regex ? Then you need to work with it until it does work. That was off the top of my head.

However, I just tested it, and it works fine, assuming the number is xxx-xxx-xxxx where x is a number. Did I get that wrong ? What was your code ?


Christian Graus - Microsoft MVP - C++
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 16:40
12String27-Oct-05 16:40 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 16:44
protectorChristian Graus27-Oct-05 16:44 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 16:48
12String27-Oct-05 16:48 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 17:11
protectorChristian Graus27-Oct-05 17:11 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 17:14
12String27-Oct-05 17:14 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 17:23
protectorChristian Graus27-Oct-05 17:23 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 17:26
12String27-Oct-05 17:26 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 17:27
protectorChristian Graus27-Oct-05 17:27 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 17:31
12String27-Oct-05 17:31 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 17:34
protectorChristian Graus27-Oct-05 17:34 
GeneralRe: Help with code for telephone validator Pin
12String27-Oct-05 17:41
12String27-Oct-05 17:41 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 17:48
protectorChristian Graus27-Oct-05 17:48 
GeneralRe: Help with code for telephone validator Pin
Steve Pullan27-Oct-05 18:38
Steve Pullan27-Oct-05 18:38 
GeneralRe: Help with code for telephone validator Pin
Christian Graus27-Oct-05 18:41
protectorChristian Graus27-Oct-05 18:41 
GeneralRe: Help with code for telephone validator Pin
Dave Kreskowiak28-Oct-05 4:58
mveDave Kreskowiak28-Oct-05 4:58 
GeneralRe: Help with code for telephone validator Pin
Christian Graus30-Oct-05 11:13
protectorChristian Graus30-Oct-05 11:13 
QuestionRe: Help with code for telephone validator Pin
seee sharp27-Oct-05 19:12
seee sharp27-Oct-05 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.