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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a text file in IO mode

Status
Not open for further replies.

usadra

Programmer
Sep 14, 2001
5
IN
I have a text file in which I have to concatenate a string for which I have to read it first and then write in the same file.

Is there any option in VB which allows me to open in read&write mode simulataneously other than Random access?

Please help me out in this regard.
 
Open FileName For Binary Access Read Write Lock Write As ff
'to read:
Get ff, , line
'to Write:
Put ff, Offset + 1, Text
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top