|
|
Subject:
Accessing Widows XP File system
Category: Computers > Programming Asked by: xymox-ga List Price: $10.00 |
Posted:
05 May 2002 22:55 PDT
Expires: 12 May 2002 22:55 PDT Question ID: 13319 |
I'm a Visual Basic developer. I just started developing on Windows XP and my VB apps do not have permissions to access the the Windows file system. For example, I'm writing a program that has a function that deletes files from a directory but XP will not give it access. Any idea how to change the security setting in XP for applications? |
|
Subject:
Re: Accessing Widows XP File system
Answered By: palitoy-ga on 06 May 2002 11:18 PDT Rated: |
I had a very similar problem to this when I was attempting to program an ASP page that needed to write and delete files from a directory. The answer to the problem is as you expected you need to alter the security settings in such a way that allows this to be achieved. First of all you need to be signed on as an Administrator in Windows XP, this is very important! Now navigate to the folder that you wish to set write/delete access to. Right-click on the folder and select properties, can you see the SECURITY tab? You need to alter the settings on this tab to change the permissions of this folder, which should be self-explanatory (just click the box stating that you wish write permission to be enabled for the particular user you are interested in). More information about this can be found in the references towards the bottom of this answer. If you cannot see the SECURITY tab (which was my problem) you need to enable it which is done by going to Tools->Folder Options on any open window. On the View tab click the Advanced Settings box; towards the bottom of the list that appears should be an entry "Use simple file sharing [Recommended]", you need to CLEAR the check box. You do not want to use simple file sharing. Click OK to close all the windows and follow the instructions above to alter the write permissions. More information about the enabling of write permissions in Windows XP can be found here: http://www.microsoft.com/windowsxp/pro/using/howto/security/accesscontrol.asp You can find out more about the differences in Windows XP security settings here: http://www.microsoft.com/windowsxp/pro/techinfo/planning/security/whatsnew/default.asp More about setting file permissions can be seen here: http://www.microsoft.com/WINDOWSXP/expertzone/tips/september/stevens1.asp http://www.microsoft.com/windowsxp/home/using/productdoc/en/default.asp?url=/WINDOWSXP/home/using/productdoc/en/Set_perm.asp | |
| |
|
xymox-ga
rated this answer:
Excellent answer but for some reason I still can't get it to work. |
|
Subject:
Re: Accessing Widows XP File system
From: renaissancemanuc-ga on 05 May 2002 23:16 PDT |
Are you running the program under an Administrator username? XP only incorporates 2 options for usernames: Administrator and Limited. Limited accounts can do very little in the way of deleting files - I'm sure this applies to programs run under them also Hope this helps |
Subject:
Re: Accessing Widows XP File system
From: smokint-ga on 05 May 2002 23:49 PDT |
Hi, Your best bet to get the answers you need are on microsofts website at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/html/deovrdatabaserolesuserinformation.asp You will have to creat user accounts with permissions, the site above should answer your questions on how to do what you need. Good luck |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |