1 Replies - 680 Views - Last Post: 25 January 2014 - 02:50 PM Rate Topic: -----

#1 M S Dasaradh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 18-January 14

How To Run A VB 2010 Program As Admin ?

Posted 20 January 2014 - 04:50 AM

Changed this:

<requestedExecutionLevel level="asInvoker" uiAccess="false" />

To this:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />


But Not Working ! :helpsmilie:
Is This A Good Question/Topic? 1
  • +

Replies To: How To Run A VB 2010 Program As Admin ?

#2 Deftware  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 75
  • Joined: 09-December 13

Re: How To Run A VB 2010 Program As Admin ?

Posted 25 January 2014 - 02:50 PM

You can do the following to make sure the program has admin permissions:

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" (normal account - default)

level="requireAdministrator (require administrator - What you need... but could be next one)

level="highestAvailable" (if anything is higher then administrator, require that)

and if yu don't find it in the menu then, go into the project settings again, then click the button: "View Windows Settings" - Then look for the <requestedExecutionLevel level="asInvoker" uiAccess="false" />


Hope it helps :)

This post has been edited by andrewsw: 25 January 2014 - 03:05 PM
Reason for edit:: Removed previous quote

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1