IO.File.Delete not working

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
 
T

Trapulo

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top