Executing a program is a Visual Basic question. You can pass text to
Delphi apps as a parameter on the commandline:
"c:\myapp\myapp.exe" "My text goes here"
It'll arrive in Delphi as ParamStr(1). You can check how many parameters
were passed in with ParamCount. Don't forget the quotes.