Alex
Here's some code we use to check for exclusive use of a file
'-- now wait for the file to complete downloading
Do While 1 = 1
Try
FileOpen(1, "C:\MYFILE.TXT", OpenMode.Random, OpenAccess.ReadWrite, OpenShare.LockReadWrite)
Exit Do
Catch oEx As Exception
End Try
Loop
Rodman is a nickname. My real name is Rodney
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.