SW_HIDE.zip

How to launch the external application in Delphi ?

1,072

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...

Delphi Program can command level execution program with hidden mode

699

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 Do I Remove The Application Icon From The Taskbar?

1,100

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

657

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...

I want to select directory(folder) not file. How can I do that ?

620

Delphi provides function for directory(folder) selection as following. The above function is tested on Delphi 2009,but UI is more like windows 3.1.So I recommend you to use below function which calls shell API on Microsoft Windows System.

How to run shell command by MFC ?

440

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.