Ok, I have found the help for open dialog and pasted the code directly from the help (below) into my code, but when I try to run it, NOTHING HAPPENS!!!
var
F: TextFile;
S: string;
begin
if OpenDialog1.Execute then { Display Open dialog box }
begin
AssignFile(F, OpenDialog1.FileName);
Reset(F);
Readln(F, S); { Read first line of file }
CloseFile(F);
end;
end;
I don't understand! What am I doing wrong?
Thanks,
Leslie