basepointdesignz
Programmer
Hi,
I'm writing a program that i want to generate random 2 word names from a list..
I have a string array of words and a userform with a 'generate name' button and 2 Labels, with which the generated words for name1 and name2 will be the Label's caption..
What's the easiest way to randomise these string values so that everytime i click the 'generate name' button, the two label's captions will state the 2 word name, which of course will be different each time i press the button..
Also, if i had a list of words in a .txt file, can i access this for the list of words to be used in the generator?
Cheers,
Paul
basepointdesignzltd..
XP Pro..
Pentium Core 2 Q6600 Quad Core
ASUS P5N-E SLI Motherboard
4GB DDR2 RAM
2 x SLI NVIDIA 8500GT SLi 1024MB DDR2 PCI-Express Graphics Cards
I'm writing a program that i want to generate random 2 word names from a list..
I have a string array of words and a userform with a 'generate name' button and 2 Labels, with which the generated words for name1 and name2 will be the Label's caption..
What's the easiest way to randomise these string values so that everytime i click the 'generate name' button, the two label's captions will state the 2 word name, which of course will be different each time i press the button..
Also, if i had a list of words in a .txt file, can i access this for the list of words to be used in the generator?
Cheers,
Paul
basepointdesignzltd..
XP Pro..
Pentium Core 2 Q6600 Quad Core
ASUS P5N-E SLI Motherboard
4GB DDR2 RAM
2 x SLI NVIDIA 8500GT SLi 1024MB DDR2 PCI-Express Graphics Cards