|
-
December 20th, 2003, 10:13 AM
#1
Writing to a certain line in text file?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|