Delphi splash form with command line parameters

Posted by QWERTYX85 on October 19, 2002

In Reply to: Re: Delphi program with COMMAND LINE options. posted by webmaster Guido on October 18, 2002

Thanks for this answer.

But also I want to learn:
When I write " c:\MyProject NoSplash " then MyProject starts with no Splash Form (or some other options).
I think also this is good topic for a question.

Maybe my question is related to command line variable.

I tried this:

if ParamStr(1)='nosplash' then Form1.Visible:=False;
if ParamStr(1)='nosplash' then Form2.Visible:=True;

But maybe you can give us more info about this topic.

By the way,
To open an MSDOS-screen from any folder by right click
people can try this:

REGEDIT4

[HKEY_CLASSES_ROOT\Folder\shell\Dos Prompt #1]
@="Dos Prompt"

[HKEY_CLASSES_ROOT\Folder\shell\Dos Prompt #1\command]
@="command.com /k cd %1  "

Sorry for my English and jargon knowledge. :=)


Related Articles and Replies:


Delphi Forum :: Tutorials :: Source code :: Tips