G
Guest
Using vb.net, I am using Streamreader to read a text file and searching for a
line to delete, the I close the file and open it as a streamwriter so I can
put the new file back to disk without the line that I deleted. Can someone
tell me how I can do this without having to close the file first before
switching to streamwriter, because closing the file allows someone else to
grab the file before I put the new information back. Thanks if any one can
help me!
Joe
line to delete, the I close the file and open it as a streamwriter so I can
put the new file back to disk without the line that I deleted. Can someone
tell me how I can do this without having to close the file first before
switching to streamwriter, because closing the file allows someone else to
grab the file before I put the new information back. Thanks if any one can
help me!
Joe