Answer the question
In order to leave comments, you need to log in
Winapi how to install run as administrator?
Each executable file can be set in the properties (in the compatibility tab) item as: "Run this program as administrator" How can I set this launch from a Delphi program?
Answer the question
In order to leave comments, you need to log in
ShellExecute ( Application.Handle , 'RUNAS', '/user:Администратор Notepad', 0, 0, SW_SHOWNORMAL);
CreateComObject(CLSID_SHELLLINK)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question