I use vb2005
my problem is in access to lines of a text file .
I can write my text data line by one using below code . but i couldnt write to a specific line(like line 5) or else read a
specific line . and also clear one line and rewrite new string.
I searched many . but I couldntt get result related to this problem.
plz help me
thank you
Dim objReader As New System.IO.StreamReader(C:\test.txt,true) Dim objWriter As New System.IO.StreamWriter(C:\test.txt, True) objWriter.WriteLine(my text) objWriter.readLine(my text)

New Topic/Question
Reply




MultiQuote



|