I need to create a program like Hangman...
I did successfully the following:
Bring a file into VB which has a list of 100 words --> ok
Then, user enters a number --> ok
VB identifies the number to a word--> ok
Convert word into *****--> ok
appear input box--> OK
USer guesses a LETTER in the SELECTED WORD--> OK
PLACE LETTER in *****.....NOT HAPPENING
For example...word is "Office"..."******" so when user enters "C" then it should look like "****C*"
This is what im trying to use:
lblHiddenWord.Text = lblHiddenWord.Text.Substring(0, intPosition) & Entry & lblHiddenWord.Text.Substring(intPosition + 1)
HELP! Why is this substring not working?