Got it.
Didn't realise about the contents of both of the Parameters.
Thanks very much for your help, Jeremy.

Mark

On Thu, 01 Sep 2005 16:19:14 +1200, <[EMAIL PROTECTED]> wrote:


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
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi






--
Forest Production Systems Ltd
Creators of PSLog - A harvesting information system
www.pslog.co.nz
Skype: markhoward


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 31/08/2005

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to