i'm using fileopen() function to open the file, after doing all the works i'm using fileclose() to close the file. but when i access the file again it returns already the file is opened by another process.
sample:
Dim intFile As Integer = FreeFile() FileOpen(intFile, mstrFilename, OpenMode.Binary, OpenAccess.Read, OpenShare.LockWrite) FileClose(intFile) Thanks!