Hi,
I want the code snipset that when i click a button a messagebox will appear display to me the 3rd line or the file "c:\abc.txt" (using streamreader???;don't know)
Dim str As New System.IO.StreamReader("c:\abc.txt")
str.ReadLine()
str.ReadLine()
MessageBox.Show(str.ReadLine, "3rd line", MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.
Christiaan Baes
Belgium
If you want to get an answer read this FAQ faq796-2540 There's no such thing as a winnable war - Sting
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.