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

Read open file

Status
Not open for further replies.

sidrol

IS-IT--Management
Mar 12, 2004
6
0
0
NO
Hi. Is there a way to read a open file, that is in use by another process?
 
I use

Code:
' Open INI file
infile = New FileStream("filename.ext", FileMode.Open, FileAccess.Read, FileShare.Read)
' now read it
infileR = New StreamReader(infile)
[\code]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top