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 2 1197
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******** *************** ***********@mic rosoft.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
John,
The best way is in my opinion not using a sequential log file.
In this case I would use database.
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 a many-to-many
relationship, will go into a table called PersonalPeople, which consists of
2 fields: the PK's from the People table and the Perosnal table. I decided
to have the 30 or so checkboxes on the first page all have the same name, as...
|
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 comma delimted so they can import into their database using access for
example.
1. when they do file-save as to a txt file, it does not import right for
them. It seems the lines blend into each other.
|
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 picture,
Please let me know how to simply put in picture files into my program
TIA
|
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 have to strip them out.
How can I replace the " for a blank space? I am having trouble doing it
with the replace command in a sql statement.
sqlstatement = "update table set table. = replace(table.," &
"""""""" & "," + """""" + ")"
|
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,
200 per row. Is there an easy way to do this?
--
Alan Little
| |
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 from stream and stores them in string until (num -1)
characters have been read or a newline or EOF character is reached,
whichever comes first."
My question is that if it stops at a new line character (LF?) then how
does one read a file with...
|
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 the .ASPX files...I
prefer a 3 tiered approach to
development.
|
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 nothing!
Using Visual Studio interface, there is the Execute Query button in
Query Builder. Here I can set @p = 1, and the test execute returns
the row where id = 1.. and I can do the same for @p = 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 (Internet Explorer). It displays something like $^^%
instead of a comma.
Please how can I have the browser display the comma as it is from the
database.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |