Windows 7 Vista兼容的C#Windows应用程序 [英] Windows 7 Vista Compatible C# windows application

查看:98
本文介绍了Windows 7 Vista兼容的C#Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我已经在C#(Visual Studio .net 2005)中开发了一个简单的Windows应用程序.该应用程序是在Windows XP sp2环境中开发的.在此环境下可以正常工作(适用于所有类型的用户).但是,当我尝试以普通用户(特权较少的用户帐户)在Vista或Windows 7中运行它时,它要求输入Windows管理员密码.在管理员用户帐户中可以正常工作.
请尽快提供反馈.
谢谢.
T.Ajanthan

Hi Guys;
I have developed a simple windows application in C#(Visual studio .net 2005). The application was developed in Windows XP sp2 environment.It works fine in this environment(Works fine with all types of users). However when I try to run it in Vista or Windows 7 with normal users(less privileged user account) its asks for Windows administrator password. Its works fine in admin user account.
Please give a feed back as soon as possible.
Thank you.
T.Ajanthan

推荐答案

尝试了解一下,程序的哪些操作需要管理员权限.

在Vista/7中,程序可能会有一些限制.一个示例:NON-Admin任务可能无法在其自己的program \ directory中写入(这使我对在那里的.mdb有很多麻烦……)
Try to find out, WHAT action of your program needs admin rights.

There are some ... limitations ... for what a program may do in Vista/7. One Example: A NON-Admin task may not write in his own program\directory (and this made me a lot of troubles with an .mdb located there ...)


这篇关于Windows 7 Vista兼容的C#Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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