Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another approach than File.Delete(tcFile)
Message
From
30/05/2012 21:21:30
 
 
To
30/05/2012 18:00:56
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:
01544721
Message ID:
01544888
Views:
25
This confirms that the oProcess.WaitForExit() resolves the issue. I put this line in comment at first, removed the 7 second timeout and we were able to simulate the problem with the unzipping of a 30 MB file. Then, when I uncommented the oProcess.WaitForExit() line, the process was successfull.

If I ever need to allow a process to be executed in the background, I would still be able to lift a property to indicate to bypass the default. Then, in such circumstance, the WaitForExit() will not be executed. But, for now, for everything I need to execute, this default fits them well.
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
Reply
Map
View

Click here to load this message in the networking platform