Author: howiem | Posted on: 8/31/2009 11:46:26 AM | Views : 255

Essentially this code generates an exception ( I see it while debugging)
Dim pFileInfo As New IO.FileInfo("c:\archive\fred.txt") Try FileObject.MoveTo("c:\archive\aaa") Catch ex As Exception End Try 'On the other hand this code works fine: Dim SW As New StreamWriter("c:\archive\fred.txt") SW.WriteLine("flinstone") SW.Close() I have granted all permissions to the following user list my machine name is megatron. administrators, megatron\useres, megatron\iis_iusrs, iusr,system,authenticated users,megatron\howie, megatron\users What do I have to do to get this code to work? FileObject.CopyTo has the same exception
 
...

Go to the complete details ...