Click here to Skip to main content
16,007,443 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 11:46
rbjanaki6-Sep-09 11:46 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:17
Henry Minute6-Sep-09 12:17 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 12:24
rbjanaki6-Sep-09 12:24 
GeneralRe: telephone number word generator Pin
Hurricane30006-Sep-09 12:31
Hurricane30006-Sep-09 12:31 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 12:42
rbjanaki6-Sep-09 12:42 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 13:36
Henry Minute6-Sep-09 13:36 
GeneralRe: telephone number word generator Pin
rbjanaki6-Sep-09 14:16
rbjanaki6-Sep-09 14:16 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 14:36
Henry Minute6-Sep-09 14:36 
rbjanaki wrote:
thank very much, but I have to display 2187 combinations in a list box after user enter the phone number in textbox


I know that. This means that you are not allowing 'Q' or 'Z', otherwise there would be more than that.

The sample code I gave you was just to demonstrate a method of obtaining the characters for the keys entered. What you have to do is to figure out a way to obtain all the possible combinations (729 for each of the possible start letters, in your example "4247288", that is 729 words starting with 'G', 729 for 'H' and 729 for 'I')
Putting them in a ListBox is trivial instead of Me.txtResult.Text = Convert.ToString(outArray) use Me.lboxResult.Items.Add(Convert.ToString(outArray)).

As I said in my previous post "you don't really want me to deprive you of the fun of working out how to do it, do you?", besides, I doubt that you could afford my rates. Smile | :)

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: telephone number word generator Pin
Luc Pattyn6-Sep-09 12:39
sitebuilderLuc Pattyn6-Sep-09 12:39 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:41
Henry Minute6-Sep-09 12:41 
GeneralRe: telephone number word generator Pin
Luc Pattyn6-Sep-09 12:53
sitebuilderLuc Pattyn6-Sep-09 12:53 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 12:58
Henry Minute6-Sep-09 12:58 
GeneralRe: telephone number word generator Pin
Luc Pattyn6-Sep-09 13:14
sitebuilderLuc Pattyn6-Sep-09 13:14 
GeneralRe: telephone number word generator Pin
Henry Minute6-Sep-09 13:15
Henry Minute6-Sep-09 13:15 
Question[Solved] A strange question about strings. [modified] Pin
Hurricane30006-Sep-09 9:53
Hurricane30006-Sep-09 9:53 
AnswerRe: A strange question about strings. Pin
Luc Pattyn6-Sep-09 10:14
sitebuilderLuc Pattyn6-Sep-09 10:14 
GeneralRe: A strange question about strings. Pin
Hurricane30006-Sep-09 10:32
Hurricane30006-Sep-09 10:32 
AnswerRe: A strange question about strings. Pin
εїзεїзεїз6-Sep-09 10:28
εїзεїзεїз6-Sep-09 10:28 
GeneralRe: A strange question about strings. Pin
Hurricane30006-Sep-09 10:33
Hurricane30006-Sep-09 10:33 
AnswerRe: A strange question about strings. Pin
Christian Graus6-Sep-09 11:06
protectorChristian Graus6-Sep-09 11:06 
GeneralRe: A strange question about strings. Pin
Hurricane30006-Sep-09 11:17
Hurricane30006-Sep-09 11:17 
GeneralRe: A strange question about strings. Pin
Christian Graus6-Sep-09 12:31
protectorChristian Graus6-Sep-09 12:31 
GeneralRe: A strange question about strings. Pin
Hurricane30006-Sep-09 12:53
Hurricane30006-Sep-09 12:53 
GeneralRe: A strange question about strings. Pin
εїзεїзεїз6-Sep-09 15:28
εїзεїзεїз6-Sep-09 15:28 
GeneralRe: A strange question about strings. Pin
Hurricane30007-Sep-09 1:24
Hurricane30007-Sep-09 1:24 

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.