I/O Stream

  • Thread starter Thread starter Percy NG
  • Start date Start date
P

Percy NG

Hi all
I would like to ask about I/O in vb.NET
Suppose i have a txt file contains "12345678"
how can i get "2" then replace "a" Without Load all data into a string or
Char Array

Thanks
Percy
 
* "Percy NG said:
I would like to ask about I/O in vb.NET
Suppose i have a txt file contains "12345678"
how can i get "2" then replace "a" Without Load all data into a string or

This depends on if you know where in the file the number is located.
Have a look at the classes in the 'System.IO' namespace ('BinaryReader',
'BinaryWriter', 'StreamReader', 'StreamWriter'), and their 'Read' and
'Write' methods.
 
Back
Top