Hi Pedro,
The method name should be capitalized as Text instead of text.
move NEUTRALNAME to TextboxFname::Text
move SURNAME to TextBoxSname::Text
It also looks like there is a problem with the app.config file.
Did you modify the app.config xml directly?
I would recommend if you wish to add environment variables to app.config that you right-click on the app.config in solution explorer and select Edit. This will display a small dialog allowing you to add environment variables and their values and the underlying xml will be updated automatically.
To which tutorial are you referring?
Thanks.