>I have a function to read the content of a file (a log file) but the file is currently opened by another process... so I get the exception
>"The process cannot access the file because it is being used by another process"
> objFileStream = New FileStream(strPath, FileMode.Open, FileAccess.Read)
Have you tried adding the FileShare parameter?
Example: Dim FS2 As New FileStream(name, FileMode.Open, FileAccess.Read, FileShare.Read)
This would have to be done in the .NET application that originally opens the file.