Board index » delphi » Execute external program with path & filename stored in *.db file ?????

Execute external program with path & filename stored in *.db file ?????

Hi there

I'm a newbee to Delphi, infact it is now only 8 hours since i installed it
:-)) (Delphi 3)

I have coded a nice little menu prog that i want to put on a CD, the plan
is that the CD should hold all my often used programs, Backup programs,
E-Mail, Graphics, etc.
I have done a *.db file that holds, "Program ,Path ,Filename" now i need to
start the "Filename" from a botton but i cant find out how :-(, I altso
need to read the description that is stored in a *.RTF file in the same dir
as the "Filename".
Can anyone help with some code examples ????

Pleace answer via E-Mail if possible.

Regards
Ole.

 

Re:Execute external program with path & filename stored in *.db file ?????


There are several possiblities to start a program:
Winexec(...), the old way of win311
ShellExecute(..), the win32 way
CreateProcess(..) the hard way

Check your helpfile for this and go ahead.

Jack
 Ole Rasmussen wrote in article <01bc7361$9d35c520$LocalHost@webmaster>...

Quote
>Hi there

>I'm a newbee to Delphi, infact it is now only 8 hours since i installed
it
>:-)) (Delphi 3)

>I have coded a nice little menu prog that i want to put on a CD, the plan
>is that the CD should hold all my often used programs, Backup programs,
>E-Mail, Graphics, etc.
>I have done a *.db file that holds, "Program ,Path ,Filename" now i need
to
>start the "Filename" from a botton but i cant find out how :-(, I altso
>need to read the description that is stored in a *.RTF file in the same
dir
>as the "Filename".
>Can anyone help with some code examples ????

>Pleace answer via E-Mail if possible.

>Regards
>Ole.

Other Threads