473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Newb Question: Displaying comma delimted text in different text bo

JR
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.

--
JR-Student
Nov 21 '05 #1
2 1183
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

"JR" <JR@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
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.

--
JR-Student

Nov 21 '05 #2
John,

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

Cor
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: middletree | last post by:
Not really sure what the problem is, perhaps I am using split wrong. Page should get form fields form previous page and some of them will go into a tabel called Personal. Other items, to resolve...
1
by: Danny | last post by:
I wrote an asp program that displays some information line by line such as name, address, town, state, zip and it prints about 200 lines to their browsers when the asp file is called. It is...
5
by: Mitch | last post by:
Built a basic word game for the kids, using if, else , string input, etc, its kinda cool I would like to put in some bmp or jpg to color it up a bit. The books i have do not show how to display a...
4
by: Jim's wife | last post by:
My access table when exported to a comma delimited field gets all messed up because some of the fields have the double quote character - ". Used for measurements and other things. I guess I will...
4
by: Alan Little | last post by:
Two items: 1) Where can I find a good online Access VBA tutorial (I've done a fair amount of VBA programming in Excel) 2) I need to query a single column in my database and output the values,...
42
by: mellyshum123 | last post by:
I need to read in a comma separated file, and for this I was going to use fgets. I was reading about it at http://www.cplusplus.com/ref/ and I noticed that the document said: "Reads characters...
2
by: kamlesh | last post by:
Hi All, I have a question on the ASP.NET 2.0 Details view control I dont like using the SQLDataSource to bind the data to the DetailsView control.. I dont like the idea of placing Queries in...
6
by: Kbalz | last post by:
Trying to run a simple query on my dataset the SQL statement looks like this: select * from person where id in (@p) When using more than one id in the "in statement", I get...
2
by: chike_oji | last post by:
Hello, I am displaying data retrieved from a database as a httpresponse in a webform. I noticed that some characters such as the comma (,), display as special characters in the web browser...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.