Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.04.01;
Download: [xml.tar.bz2];

Down

Auto open file Find similar branches


AlexRaza   (2002-03-19 22:08) [0]

Hi all!
No one was able to help yesterday, but today ...

The question is: how to get the name of the file being dragged
on the program shortcut for later use when downloading the program itself. As on Winamp we drag and it plays the file being dragged.

It is desirable a piece of code, if not sorry.
Thanks to everyone who answers.



Фэ   (2002-03-19 22:21) [1]

Laid out, check out.
ftp://ftp.pi8plus.ru/pub/download/lang/delphi/comp/files/



AlexRaza   (2002-03-19 22:24) [2]

Thank you Fe!



AlexRaza   (2002-03-19 22:31) [3]

The component is certainly good, but I do not understand how to find out
the name of the file just before the launch of the program and transfer this name to it.



Фэ   (2002-03-19 22:41) [4]

Soapy, how do you know your name before it is born?
What are you talking about?
Or did I miss something?



VID   (2002-03-20 01:16) [5]

Throwing a file on the program's shortcut, you thereby launch the program with parameters.
ParamStr (1) will return to you the name of the file thrown on the program's shortcut.
Access to this line can be obtained, for example, when creating a main form.



AlexRaza   (2002-03-21 22:35) [6]

> VID © (20.03.02 01: 16)
Thanks, read just now. True himself in the subway before
caught up and implemented on a piece of paper! Checked-Works !!! But anyway, thanks to all for answering.



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.04.01;
Download: [xml.tar.bz2];

Top









Memory: 0.56 MB
Time: 0.02 c
We answer immediately.
PeteDM
2002-03-05 16:54
2002.04.01
Interbase


We answer immediately.
alexts
2002-03-20 15:21
2002.04.01
Problems with MDI and DLL


We answer immediately.
CT
2002-03-18 12:04
2002.04.01
Excel Sort


We answer immediately.
moor_38
2002-03-04 13:00
2002.04.01
DBGrin


We answer immediately.
LenAk
2002-03-21 07:58
2002.04.01
How to determine which component of the form is the focus?





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish