I am developing an application using vb.net. For performing some tasks the application needs administrator privileges in the machine. How to ask for the privileges during th
You can edit the UAC Settings (in VB 2008) which is located in the Project Settings. Look for the line that says
Change level="asInvoker" to
level="asInvoker"
(same access token as the parent process)level="requireAdministrator
(require full administrator)level="highestAvailable"
(highest privileges available to the current user)