Long answer:

Code:
[color:green]; the first if () checks if the file you got is what you wanted - remove if you don't know the filename up front[/color]
[color:green]; the second if () checks if the dialog is opened - can't loadbuf if it isn't[/color]
[color:green]; the loadbuf dumps the file into the listbox[/color]
[color:green]; replace [color:blue]dname[/color] with the dialogname and [color:blue]id[/color] with the listbox id and [color:blue] filename.txt[/color] with the filename[/color]
on *:FILERCVD:*: if ($filename == [color:blue]filename.txt[/color]) && ($dialog([color:blue]dname[/color])) loadbuf -o [color:blue]dname id[/color] $filename


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius