Recent

Author Topic: Run as administrator  (Read 257 times)

Fiarinn

  • Newbie
  • Posts: 2
Run as administrator
« on: November 27, 2022, 10:36:20 pm »
How can I run a program as administrator? (Of course the system must ask if I want to allow it)..
« Last Edit: November 27, 2022, 11:13:44 pm by Fiarinn »

KodeZwerg

  • Hero Member
  • *****
  • Posts: 954
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Run as administrator
« Reply #1 on: November 27, 2022, 10:51:56 pm »
Go into project options and do select what I show on next image
« Last Edit: Tomorrow at 31:76:97 by KodeZwerg »

Remy Lebeau

  • Hero Member
  • *****
  • Posts: 1169
    • Lebeau Software
Re: Run as administrator
« Reply #2 on: November 28, 2022, 07:34:31 pm »
How can I run a program as administrator? (Of course the system must ask if I want to allow it)..

Are you asking how to run another program from your code?  If so, then I recently answered that on StackOverflow: see https://stackoverflow.com/a/74554583/65863
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) - Admin, Developer (Support forum)

 

TinyPortal © 2005-2018