UAC控制文件访问编程问题 [英] UAC Control file access programming problem

查看:65
本文介绍了UAC控制文件访问编程问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

Hello all,

我对Vista的.net编程有疑问.当我在UAC关闭的情况下在Vista上运行时,我正在编写的程序可以正常运行.但是,当打开它时,许多功能会收到错误的信息.例如:

I have a question about .net programming for Vista. The program I am writing works fine when it is running on Vista with the UAC turned off. However, when it is turned on, many of the functions receive false information. For example:

file.exists即使文件不存在也返回true.
file.exists returns a true even when the file isn't there.

推荐答案


这篇关于UAC控制文件访问编程问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆