Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a temperature monitoring application that transfers temperature information from a basic stamp
2 microcontroller to a PC using a vb2008 program. Program works great except I cannot get the data in
the text box to overwrite the data automatically as new data is recieved, I just get one big long string of continous data. Any suggestions?
Posted

1 solution

I suggest when you have a programming question, you need to post your code, so we can tell you what is wrong. In this case, it's easy. the textbox has a Text property. If you add to it with +=, you append the string, if you set it with =, you replace the string. Just set the text to just the data you want to show.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900