Hello all,
I'm trying to set a Labels text with a First Name and a Last Name. The following line of code crashes the app.
lbl_welcome.Text =FName + " " + LName
However if I use only the FName OR the LName then it works. But never with both or with the space in between
lbl_welcome.Text =FName
lbl_welcome.Text =LName
lbl_welcome.Text =FName + " " + LName <== crashes
lbl_welcome.Text =FName + LName <== crashes
Also, I tried to concatenate the two variables into a string, but that also crashes
Dim s As String
s = FName + LName <== crashes
So obviously I am doing something wrong when trying to concatenate these. Any help would be greatly appreciated!
Thank you!
Tim