Re: Access problem on Vista during FileSystem.MoveDirectory operation
- From: "Lloyd Sheen" <a@xxx>
- Date: Mon, 14 Sep 2009 17:04:29 -0400
"Family Tree Mike" <FamilyTreeMike@xxxxxxxxxxxxxxxx> wrote in message news:uj5%23lABNKHA.4028@xxxxxxxxxxxxxxxxxxxxxxx
Lloyd Sheen wrote:I am so confused and PO'ed at Vista. I have full access rights to the folders or is it Directories (MS please use just one term for one object). So if I run the program and thru code attempt the FileSystem.MoveDirectory it will ask me for permission (which I give) and then seemingly ignore my Ok.
I can do the same using Explorer without a prompt or a problem. If I run the program as Admin again no problem. Is there a way to do that thru VS 2008? I guess I need to know what userid is being used when I run either thru VS 2008 or the executable created by VS 2008. If I run as Admin I can then not do drag and drop to the app.
Thanks
Lloyd Sheen
MS WHY WHY WHY????
ITS MY SYSTEM, MY FILES, MY OK
(Sorry if this duplicates my previous post has not shown.)
1. Are you trapping any exceptions when you call MoveDirectory?
2. What folder do you try to move, and to where?
3. Does your program possibly open a file in the directory that you are trying to move?
--
Mike
Thanks for the reply. The problem is that I have an image on the window and that folder is being moved. I have tried all sorts of things to "free" the file but have resorted to a copy , and the creation of a fixup things file that is used on app startup. I have seen lots of homemade remedies for the this problem but none of them worked.
LS
.
- References:
- Access problem on Vista during FileSystem.MoveDirectory operation
- From: Lloyd Sheen
- Re: Access problem on Vista during FileSystem.MoveDirectory operation
- From: Family Tree Mike
- Access problem on Vista during FileSystem.MoveDirectory operation
- Prev by Date: Re: Monitoring MS-Access (mdb) changes
- Next by Date: Help with USB & DEVICEARRIVAL
- Previous by thread: Re: Access problem on Vista during FileSystem.MoveDirectory operation
- Next by thread: Copy DataGridView to DataTable (Disconnected)
- Index(es):
Relevant Pages
|