Hi.
I am getting the following error.
The process cannot access the file 'C:\Users\Naveen\Documents
I have modified the code like this:
Dim tempFile As String = My.Computer.FileSystem.Spe
TarImg.Save(tempFile)
IO.File.Copy(tempFile, filePath, True)
IO.File.Delete(tempFile)
filePath is C:\Users\Naveen\Documents\
One more thing. When a http post occurs from a user, the following code takes place on the server.
so, I wonder if using my computer is right here for saving the temp file.
Main Topics
Browse All Topics





by: ladarlingPosted on 2009-09-04 at 10:11:46ID: 25261536
The .Save method of image does not have an overwrite method. Instead, save it to temp and then copy using IO.File, which will overwrite:
Select allOpen in new window