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

Reading data from an open file

Status
Not open for further replies.

kevinf2349

Technical User
Sep 12, 2002
367
US
Hi

I have a requirement where I need to read the contents of a file. However, the file is opened in a another long running process. Using SPF/PC I can read the file without any problem but VB.Net is throwing an exception saying the file is currently open. I suspect that the long running program has the file open for write but I would like to be able to read the file while the other program has it open.

If SPF/PC can do it then I assume it can be done I just don't see how it can be with VB.NET. Any ideas?
 
It is OK. I have got it running now. I simply did a filecopy and used the copy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top