![]() |
Systemeigenschaften öffnen
Wie kann ich mit ShellExecute die Systemeigenschaften öffnen (%root%\system32\sysdm.cpl)
|
Re: Systemeigenschaften öffnen
Delphi-Quellcode:
Abfrage des Rückgabewertes nicht vergessen :)
ShellExecute(Handle, nil, 'sysdm.cpl', nil, nil, SW_SHOwDEFAULT);
// oder ShellExecute(Handle, 'cplopen', 'sysdm.cpl', nil, nil, SW_SHOwDEFAULT); // oder (bestimmte Seite) ShellExecute(Handle, 'cplopen', 'sysdm.cpl', 'sysdm.cpl,3', nil, SW_SHOwDEFAULT); // oder (bestimmter User) ShellExecute(Handle, 'runas', 'sysdm.cpl', 'sysdm.cpl,3', nil, SW_SHOwDEFAULT); |
Re: Systemeigenschaften öffnen
Cool, danke!
Doch... Zitat:
|
Re: Systemeigenschaften öffnen
Zitat:
![]() Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:06 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz