Problem with Vista
-
Hi i have developed an application in vb.net i am creating directories at runtime in c:\programfiles\ it is possible in Windows XP. But in vista, it is creating a problem. it is not creating a directory. i think it is problem of permissions. does any one knows how to set permissions to a folder in Vista to create directory and file under that folder.
-
Hi i have developed an application in vb.net i am creating directories at runtime in c:\programfiles\ it is possible in Windows XP. But in vista, it is creating a problem. it is not creating a directory. i think it is problem of permissions. does any one knows how to set permissions to a folder in Vista to create directory and file under that folder.
The user will have to right click the program and select "Run as Administrator", or your application manifest file will have to request Administrator Privileges at runtime. This is also assuming that the account that the user is running the application from has Administrator privileges. Both of the above options will also pop up the ugly UAC dialog boxes. All in all, I would suggest you find a way to program your application without it needing Administrator privileges. I hope this helps.
-
The user will have to right click the program and select "Run as Administrator", or your application manifest file will have to request Administrator Privileges at runtime. This is also assuming that the account that the user is running the application from has Administrator privileges. Both of the above options will also pop up the ugly UAC dialog boxes. All in all, I would suggest you find a way to program your application without it needing Administrator privileges. I hope this helps.