Delete File
For some reasonwhen I use the function DeleteFile() it IS NOT deleteing my File. It returns 0. I know the path is correct. Also, if I go undo the read only properties before the Delete is called it deletes the File, otherwise it DOES NOT delete the file.
The problem is all the files I need to Delete will have Read Only properites.
I could not figure out how to do this. Is there a way to set the attributes from the APP. I actually though you can pass a bool value to the DeleteFile() to delete a Read Only file, but I think I am wrong!!
Thanks for all the help guys

