使用vb6设置访问权限 [英] Set access permission using vb6
本文介绍了使用vb6设置访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用vb6设置对任何文件的用户访问权限.
我想为所有人设置拒绝删除文件的权限.
How to set user access permission to any file using vb6.
I want to set deny permission for delete file to everyone.
推荐答案
此链接是对您的问题的解答.它解释了授予文件夹而不是文件权限.因此,您应该做的是:将DirectorySecurity
更改为FileSecurity
将解决您的问题.
这是链接;
http://63.236.73.220/showthread.php?t=616021 [
This link is the answer to you problem. It is explaining giving permissions to folders instead of files. So what you should do is; to changeDirectorySecurity
toFileSecurity
will solve your issue.
Here is the link;
http://63.236.73.220/showthread.php?t=616021[^]
Good luck.
这篇关于使用vb6设置访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文