B
buu
I have an app made in vb.net with a part of it made in vc.net.
after finishing a data processing with a file, I would like to delete that
file, but file remains locked
to be sure, I was:
- closing file (in part made in vc.net)
- closing object (vc)
- calling GC.Collect
- calling GC.WaitForPendingFinalizers
but, it's still the same.
what could be wrong?
after finishing a data processing with a file, I would like to delete that
file, but file remains locked
to be sure, I was:
- closing file (in part made in vc.net)
- closing object (vc)
- calling GC.Collect
- calling GC.WaitForPendingFinalizers
but, it's still the same.
what could be wrong?