View Single Post

  #3 (permalink)  
Old 04-28-2008
nasirgul nasirgul is offline
Member
Yellow Belt
 
Join Date: Mar 2008
Posts: 37
Re: problem while read NMEA.txt file

Hi,
Thanks for yours reply.Well when I use it in public Form1()
Code:
 str = nasir.ReadLine();
and this in timer1_Tick
Code:
txtResults.Text = str;
it only reads first line. With using str = nasir.ReadToEnd(); it show me whole text file. I am not able to understand how to show mine text file line by line with some timer delay as I fixed it to 1.. I am also using array but when I insert in for() loop and want to show as result txtResults.Text = str[i]; it shows only last line.
Please let me know how to do it.
regards.
nasir
Reply With Quote