Text IO file reading [message #285690] |
Wed, 05 December 2007 05:33 |
muralikumarg
Messages: 33 Registered: August 2005 Location: Chennai
|
Member |
|
|
Hi,
I have an exe that reads a value from the device and writes locally into text file. I am executing that exe from my Form to write the value into the text file. Following that I am reading the value from the file using text io. I have done this sequence of calling the exe and reading from text file in when-button-pressed event.
The problem I am getting the value from latest value from the file only when I press the button twice. Could any one help on this.
Regards
Murali
|
|
|
Re: Text IO file reading [message #288862 is a reply to message #285690] |
Tue, 18 December 2007 23:59 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Have you solved your problem?
Please post your code.
Process the data as you read each line not at the end of file.
David
|
|
|