[DUG] Associate and pass filename to Delphi app
JeremyN at FrontierSoftware.com.au
JeremyN at FrontierSoftware.com.au
Thu Sep 1 16:19:14 NZST 2005
> Is it possible to do what I want? and what is the secret?
Make sure the association has a "%1" after the name of your application
ParamCount and ParamStr(i) where I is a number.
ParamStr(0) = Application Path and Exe Name
ParamStr(1) = First parameter passed
> I want to still be able to use the file dialogue if no parameter is
passed.
just ignore parameters then
cheers,
Jeremy
More information about the Delphi
mailing list