Hi all,

I was just wondering, is there a way you can write data to a specific line in a text file rather than from the top.

E.g.

In my VB Prog I got 3 text boxes:

TxtQNum
TxtQuestion
TxtAnswer

The text file has data like this:

Q.1
<Q> blah blah blah
<A> blah blah blah
Q.2
<Q> ....
<A> .....

I want to say if QNum is 2 for example, then overwrite the <Q> and <A> bits only in that section.

Any info...

Thanks!

Mark