Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existing file is not found!
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01072670
Message ID:
01073061
Views:
16
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform