Force Execute File to Run As Administrator

  1. Right-click your WPF project to add new Item: "Add->New Item..."




  2. Select "Application Manifest File" and click Add




  3. Double Click your newly created manifest file and change the

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

  4. Then the WPF application would run as Administrator.






Ulasan

Catatan popular daripada blog ini

SISTEM PENGOPERASIAN KOMPUTER (OS)

APA ITU STRUCTURED QUERY LANGUAGE (SQL)

APA ITU ASCII (AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE) ?