I'm a pre-service teacher and supposed to be teaching students VB. I was doing a course on Linkedin Learning and following their instructions and I get this error. I'm not new to programming and have years of experience in other languages, but this is my first foray into .Net and VB. I really don't know why I'm getting the error, as there is no possible reason for it. As soon as I execute the program I get the error. If you look at the screen shot you see textBlock1 has no value. Screenshot of error
Yet it has a default value and should not be "nothing".
Screenshot of window and default value
I have really no idea why it's doing this or how to fix it. It is the most simplest program. Basically, this bit of code is supposed to put in textBlock1 whatever is being entered in textBox1. I'd greatly appreciate any help you could provide.