G
Guest
I need to move files between folders. I am using VB.Net 2005. First I check
the target folder to see if the files exist, and if so, delete them. Then I
move the replacements, one at a time using:
If File.Exists(strFileName) then
File.Delete(strFileName)
End If
File.Move(strFileOldName, strNewFileName)
This works just fine in Windows XP. It works in Windows Vista (Release
version) with UAC turned off. With UAC turned on it fails. I don't even get
the UAC prompt.
I was logged on to Vista as a member of the Domain Administrators group when
this occured. Any ideas?
Bob Flenniken
the target folder to see if the files exist, and if so, delete them. Then I
move the replacements, one at a time using:
If File.Exists(strFileName) then
File.Delete(strFileName)
End If
File.Move(strFileOldName, strNewFileName)
This works just fine in Windows XP. It works in Windows Vista (Release
version) with UAC turned off. With UAC turned on it fails. I don't even get
the UAC prompt.
I was logged on to Vista as a member of the Domain Administrators group when
this occured. Any ideas?
Bob Flenniken