Dynamic file reading
-
Hello All, Just a question (or opinions), In Unix I can "tail" a file, whereby I can dynamically see what is being written to the file in real time (explaination is for those who don't know!). Can something like this be acheived with C# and a windows form? Thanks for the thoughts and have a great weekend.
-
Hello All, Just a question (or opinions), In Unix I can "tail" a file, whereby I can dynamically see what is being written to the file in real time (explaination is for those who don't know!). Can something like this be acheived with C# and a windows form? Thanks for the thoughts and have a great weekend.
Yes
-
Hello All, Just a question (or opinions), In Unix I can "tail" a file, whereby I can dynamically see what is being written to the file in real time (explaination is for those who don't know!). Can something like this be acheived with C# and a windows form? Thanks for the thoughts and have a great weekend.
http://www.codeproject.com/KB/cs/wintail.aspx[^] It is a great idea to search (google) and re-search (CP). HTH.
Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.
-
Hello All, Just a question (or opinions), In Unix I can "tail" a file, whereby I can dynamically see what is being written to the file in real time (explaination is for those who don't know!). Can something like this be acheived with C# and a windows form? Thanks for the thoughts and have a great weekend.
Hi, Yes you can do it in this manner,, StreamWriter SW; SW=File.AppendText("C:\\MyTextFile.txt"); SW.WriteLine("This Line Is Appended"); SW.Close(); Console.WriteLine("Text Appended Successfully"); Regards, Charith
Charith Jayasundara