SW_SHOW.zip

How to launch the external application in Delphi ?

1,060

You can launch application on windows by ShellExecute function.Following is the simple example to launch application. In case of running DOS command application such as batch file and you want not to display user,put SW_HIDE in the function option as follo...

How Do I Remove The Application Icon From The Taskbar?

1,096

To remove the icon from the taskbar,you need to call a Windows API call:Delphi makes it very easy to use this command.All you need to do is supply the Application.handle and SW_HIDE to remove the icon from the taskbar. To display the icon on the taskbar us...

Run PowerShell Command as Administrator in Delphi

651

To capture the output of the PowerShell command and store it in a string variable, you can modify the RunPowerShellCommandAsAdmin procedure to redirect the output of the PowerShell process and read it into a string. In this modified code:We create a T...

Delphi Program can command level execution program with hidden mode

693

Below is the example of running command with hidden mode. Actually there lots of command type in Windows like SW_NORMAL, SW_HIDE, ...What I am going to implement is running windows command with hidden mode.Below is the example of windows command execution ...

How to run shell command by MFC ?

434

Followings are the useful example can run shell command. If you want to launch browser for specific URL,simple run as below:* Note: The above code must be included in the same source.