Good afternoon, I am trying to learn VB.NET and have downloaded a 'hangman' project but it errors when it gets to the line
So I know where the problem is but don't know how to overcome it.
I've tried
to no avail.
Apologies if this seems like the most basic [no pun] of errors to overcome but it's extremely frustrating to fall at the first hurdle like this.
Many thanks,
DÇ$
Code:
WrongGuessesLabel.Text = "Wrong Guesses: "
Variable 'WrongGuessesLabel' is used before it has been assigned a value. A null reference exception could result at runtime.
So I know where the problem is but don't know how to overcome it.
I've tried
Code:
Public WrongGuessesLabel As Label
Apologies if this seems like the most basic [no pun] of errors to overcome but it's extremely frustrating to fall at the first hurdle like this.
Many thanks,
DÇ$