![]() |
|
#1
|
|||
|
|||
|
when i have associated a file with my program how do i the make my application to perform a task with tat file
EX. *open a txt file in a memo |
|
#2
|
|||
|
|||
|
procedure TmainDlg.FormCreate(Sender: TObject);
Var *FileThatYouDoubleClickedOn : String; Begin FileThatYouDoubleClickedOn := ParamStr[1]; * // Process file as you usually do End; Also..have a look in the help file for ParamCount and ParamStr. |
|
#3
|
|||
|
|||
|
What if the user opens the associated file in windows explorer
and i want to do something with it? |
|
#4
|
|||
|
|||
|
???
I'mnot sure if I follow what you're trying to do. If you email me and example of what you need to do, I can help |
|
#5
|
|||
|
|||
|
i have associated a file in windows explorer with my program
when the user executes the file from windows explorer how do i then make my application to perform a task with that file EXAMPLE. Open My associated file in a memo |
![]() |
| Thread Tools | |
| Display Modes | |
|
|