Open external application with passing parameters using delphi application
<p>Actually I have one custom application and wanted to pass some values to that .exe and after that it should get executed on some event ex. it should generate files automatically.</p>

<pre><code>unit fExecuteExe;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ShellApi;

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
  filename: String;
begin
  filename := 'C:\Testsrc\MojaveD5\Tools\AliasToDataview\Alias2DV.exe';
  ShellExecute(handle,'open',PChar(filename), '','',SW_SHOWNORMAL);
end;

end.
</code></pre>

<p><strong>Delphi Form</strong></p>

<pre><code>object Form1: TForm1
  Left = 179
  Top = 116
  Width = 495
  Height = 294
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object Button1: TButton
    Left = 176
    Top = 96
    Width = 113
    Height = 25
    Caption = 'Run Alias2Dataview'
    TabOrder = 0
    OnClick = Button1Click
  end
end
</code></pre>

<p>Is there any way that I can open this application (image provided below) and pass some values to its textboxes and click it's buttons?<a href="https://i.stack.imgur.com/fyZVT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fyZVT.png" alt="enter image description here"></a></p>

<p>This application is not supporting command line. And unfortunately I only have it's .exe, not code.</p>