Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another approach than File.Delete(tcFile)
Message
From
30/05/2012 00:05:38
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Another approach than File.Delete(tcFile)
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:
01544721
Views:
68
Is there another approach than File.Delete(tcFile) to delete a file? This is causing random freeze if I execute the WinZip command line utility right after I delete a certain number of files. I tried to pause, DoEvents() and various other tricks but was unable to find a workaround. As long as I have this line executed, this will create random freeze of that utility when it follows it. So, I thought that maybe File.Delete() is causing something in memory that another way of deleting files wouldn't.
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
Next
Reply
Map
View

Click here to load this message in the networking platform