Board index » kylix » View readme file with Kylix 3
View readme file with Kylix 3
2005-04-18 02:22:10 PM
I need a way to give the user an option to view a readme file with a
Kylix 3 Delphi application. I have a checkbox that asks the user if they
want to view the readme file. When this checkbox is checked the readme
file is suppose to be launched when the user clicks a finish button. My
intention is for the readme file to be viewed by the user with their
I have been able to do this on my distro using 'ShellExecute' from the
QWindows unit and the following code:
if Libc.system(PChar(Format(SCommand_Readme, [ReadmeFile]))) <>-1 then
SCommand_Readme = './kfmclient exec "%s"';
When I tested this on Debian Sarge it failed with an error dialog box.
On Mandrake 10.1 it ignored the option.
Does anyone have a solution to this problem that I could use. I'm also
open to use my own viewer application to view the readme file if necessary.