LucieLastic
Programmer
hi All
I have an interface which displays different filenames (with filepaths). If a user double clicks or presses a button, is it possible to auto open the correct browser with the file just by using the filename?
I've tried this but keep getting a result <= 32.
if ShellExecute(Handle, 'open', nil, pchar(pnlfilename.caption), nil, SW_SHOW) <= 32 then ...
if ShellExecute(Handle, 'open', pchar(pnlfilename.caption), nil, nil, SW_SHOW) <= 32 then ...
many thanks for help,
lou
I have an interface which displays different filenames (with filepaths). If a user double clicks or presses a button, is it possible to auto open the correct browser with the file just by using the filename?
I've tried this but keep getting a result <= 32.
if ShellExecute(Handle, 'open', nil, pchar(pnlfilename.caption), nil, SW_SHOW) <= 32 then ...
if ShellExecute(Handle, 'open', pchar(pnlfilename.caption), nil, nil, SW_SHOW) <= 32 then ...
many thanks for help,
lou