error found

sshers1

New member
Joined
Mar 14, 2016
Messages
4
Programming Experience
Beginner
error.png


How do I fix this?
 
I have to wonder whether you've even actually looked at the code that is in error. My guess is that you're trying to set Clientname property of your 'client' object. Look at your code and ask yourself if what you have written makes sense with that aim in mind. For a clue, take a look at how you're setting the ServerIp property of the same object on the next line. The difference between those two lines is rather obvious.
 
How do I fix this?
You've already posted the answer to your question, it's in your own screenshot here. Take a look at how you're setting the ServerIp property.

Also a side note, all of your form's control names are the defaults, which is one of the worst ways of naming them, you might want to consider more meaningful names.
 
Back
Top Bottom