You should give the OS time to actually finish the kill e.g.
Maybe this will help.Code:Kill "Your temp file.tmp" DoEvents Sleep(1000) 'wait a second or so, 1000 milliseconds = 1 second
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 8 of 8
Thread: [RESOLVED] Killing a fileThreaded View
|
Click Here to Expand Forum to Full Width |