Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another approach than File.Delete(tcFile)
Message
De
30/05/2012 21:21:30
 
 
À
30/05/2012 18:00:56
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01544721
Message ID:
01544888
Vues:
26
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform