Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stream Writer - writing to text file

Status
Not open for further replies.

cathiec

Programmer
Oct 21, 2003
139
IE
hi all,

i am using a streamwriter object to write to a text file.
i use the sytax s.Write("xxxxxxxx");
to write a variable to the file.

is there a way to write a piece of variable text to a particular position within the file. eg line 1 start postition 22 and then write another piece of text to say position 44.
the lengths of the texts will change all the time but i always want to write them to positions 22 and 44 within the line.

thanks and regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top