IO.File.Delete not working

  • Thread starter Thread starter Trapulo
  • Start date Start date
T

Trapulo

I've a strange problem with IO.File.Delete in CF 2.0 (VB): I call it passing
a valid path, the command is executed without exception, but the file is not
deleted from the hanlded. Instead, I find it with a size of 0 bytes (before
the command it has a size about 10 kb). Is there any error in my use of
Delete, or some bug?

thanks
 
Sorry, it was a hidden bug in my code or some trouble with VS debugger,
because running the project some other times to look for the problem now
file are deleted. The code is the same, maybe something I miss in debug.
 
Back
Top