Click here to Skip to main content
15,911,039 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMouse Wheel Scrolling Pin
DotNetDev201627-Oct-05 20:52
DotNetDev201627-Oct-05 20:52 
QuestionImport Certificate to PKCS 11 token Pin
Rajkishore Patel27-Oct-05 15:46
Rajkishore Patel27-Oct-05 15:46 
AnswerRe: Import Certificate to PKCS 11 token Pin
Ugo Chirico6-Dec-10 12:51
Ugo Chirico6-Dec-10 12:51 
QuestionHelp with code for telephone validator Pin
12String27-Oct-05 10:51
12String27-Oct-05 10:51 
AnswerRe: Help with code for telephone validator Pin
Brett Peirce27-Oct-05 11:31
Brett Peirce27-Oct-05 11:31 
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 
What I need to do is verify the first three 999 the first "-" second 999 second "-" and last four 9999. In the frmMain I have a textbox and a button. when the user enters a phone number 999-999-9999 the program will display one of the following messages:
"You must enter a numeric telephone number starting with the area code."
"You must enter a "-" after the area code."
"YOu must enter a "-" after the prefix."
"Invalid area code, please try again."
"Invalid prefix, please try again."
"Phone number is valid."

My problem is I have set the char to 12 in the properties for textbox1 and I need to create substrings for area code, prefix, phonenumber, and incorporate the two dashes "-" Can you help me!
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 
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 

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.