TCP/IP examples Help?

[quote=485744:@Jim Marquardt]And it does do this. BUT it does not overwrite what is previously written.

For Example:

I start my application, and when I connect in my errorarea I see a ‘0’, which is correct.

I click Disconnect, and then I click Connect, and in the errorarea I see the original ‘0’, and a new ‘0’ to the right of it.

If I get an error, I will also see it after the ‘0’ as well.

The issue is that the text field is not going back to the original starting point, but instead it is just moving right.[/quote]

EDIT:
A work around to my issue would be to do this:

ErrorArea.value = ""

Before I send text to the field.

Or just set the value all the time :slight_smile:

 ErrorArea.Value = err.ErrorNumber.ToString

AddText ads text to what already exists. So things accumulate

Setting the value removes whatever was there before and makes whatever you set be all the text there is

@Norman Palardy
Dude, you are a god! Things are now working properly for the most part. Thank you for all your patience!

Jim