Groups | Blog | Home
all groups > dotnet compact framework > august 2006 >

dotnet compact framework : IO.File.Delete not working


Trapulo
8/19/2006 6:28:59 PM
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

Trapulo
8/19/2006 8:00:24 PM
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.


[quoted text, click to view]

AddThis Social Bookmark Button