G
Guest
Just to be clear, I've pasted the message below. I'm doing:
IF IO.File.Exists(filePath) then io.File.Delete(filePath)
It pukes. I know it's security. What I'm trying to do is download a file. I want it to overright the file. (Version checking is done already.) I'm sure it's something I'm missing. What can I check?
Here's the message, just to be clear.
System.UnauthorizedAccessException: Access to the path "C:\Documents and Settings\mark.CENTURYCOLOR\My Documents\Visual Studio Projects\Data.Match\bin\DataMatch.exe" is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at DataMatchUpdater.DmUpdater.WriteFiles() in C:\Documents and Settings\mark.CENTURYCOLOR\My Documents\Visual Studio Projects\DataMatchUpdater\DMUpdater.vb:line 187
IF IO.File.Exists(filePath) then io.File.Delete(filePath)
It pukes. I know it's security. What I'm trying to do is download a file. I want it to overright the file. (Version checking is done already.) I'm sure it's something I'm missing. What can I check?
Here's the message, just to be clear.
System.UnauthorizedAccessException: Access to the path "C:\Documents and Settings\mark.CENTURYCOLOR\My Documents\Visual Studio Projects\Data.Match\bin\DataMatch.exe" is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.File.Delete(String path)
at DataMatchUpdater.DmUpdater.WriteFiles() in C:\Documents and Settings\mark.CENTURYCOLOR\My Documents\Visual Studio Projects\DataMatchUpdater\DMUpdater.vb:line 187