Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining last update of a file when it is in construc
Message
From
25/03/2014 15:49:02
 
 
To
25/03/2014 15:44:26
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01597298
Message ID:
01597315
Views:
26
>There's a Window's event that fires when a new file is created. I'm not sure if it fires on first creation or when it's closed. Binding to that event is better than watching a folder for a new file.

This is from a robot application that is executing a process on the file. So, there is an incoming and once completed, the robot needs to process it. The robot runs every minute. But, I need to make sure it doesn't grab a file if the transfer is still in progress. For now, I have put a verification to make sure the timestamp of the file is at least 20 seconds from Date.Now. I am not sure I can have a bind from the robot to an event in such infrastucture.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform