Mothra
Well-known member
Is there a way to "force" a file to be deleted even if it is "...being used by another process."? I have tried both of these methods:
I am closing all file and/or memory streams that opened the file origionally but it does not seem to have any effect on my ability to delete it. Am I missing something??
Code:
File.Delete(myFile)
and
Kill(myFile)
I am closing all file and/or memory streams that opened the file origionally but it does not seem to have any effect on my ability to delete it. Am I missing something??