Newb Question: Displaying comma delimted text in different text bo

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have tried searching boards but have not been able to find an answer.

What is the best way to display text from a log.txt file and then display it
in three seperate text boxes?

I have a log file that is continually going to have 3 temperatures appended
to it. I need to read that temperature in from the log file and display it to
the user.

The temperatures are seperated by commas. I was reading and is Streamreader
what I should be using and is text boxes the best way to display the three
different temperatures.

Any help would be appreciated.
 
Nothing wrong with using streamreader. As for the text boxes being the
best, it depends on what else you are trying to do with the values. Can the
user change the value? If not, consider labels, less overhead. Do you want
to show more than one at a time, try a datagrid or listview.

Chris
 
John,

The best way is in my opinion not using a sequential log file.
In this case I would use database.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top