Hello, I'm trying to make a button shows a form with administrative priviliges. Is this possible using Visual Studio 2013?
Printable View
Hello, I'm trying to make a button shows a form with administrative priviliges. Is this possible using Visual Studio 2013?
Yes it is.
how?
It's not possible to have part of your project running as administrator and another part not running as administrator, but it is possible to either run your whole project as administrator, and also possible to start an external application with administrator privileges from within your project.
Project-->Properties-->Application-->View UAC Settings-->app. manifest:
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
I got it. Thanks a lot.