开发者

How to open Administrator mode?

I want to open Administrator mode automatically after installing my application.

And also i want to add Font automatically into Client's PC when installing my application开发者_如何转开发.


if you need to configure your .NET application to always run in administrator mode after it has been installed, have a look at this:

Run .NET Programs as Administrator on Vista or Windows 7

this only applies to Vista and Windows 7 and Win Server 2008 because in Windows XP if current user is administrator, application already runs in admin mode.


You need to add an application manifest requesting admin priviliges. This begs the question of why it needs admin access as this is normally indicative of an incorrectly designed application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜