 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jay Wright Guest
|
Posted: Fri Apr 14, 2006 1:03 am Post subject: Auto Launch Component |
|
|
I'm looking for a component that acts like windows explorer, when a file is
double clicked, the file type tells windows to launch that program with file
selected. I have grid of available files and I want the user to be able to
click on the row and launch that program.
Thanks in Advance...
Jay |
|
| Back to top |
|
 |
Bob S Guest
|
Posted: Fri Apr 14, 2006 2:03 am Post subject: Re: Auto Launch Component |
|
|
Not a component per se, but a couple tutes at Bitwise I saw that may help you do what you want:
Program Groups #1 - create your own Windows Start Menu :: February 2006
http://www.bitwisemag.com/copy/delphi/prog_groups1.html
Application Launchpad #1 - a drag and drop file launch tool :: November 2005
http://www.bitwisemag.com/copy/delphi/lpad1.html
"Jay Wright" <jwright (AT) verticaldev (DOT) com> wrote:
| Quote: | I'm looking for a component that acts like windows explorer, when a file is
double clicked, the file type tells windows to launch that program with file
selected. I have grid of available files and I want the user to be able to
click on the row and launch that program.
Thanks in Advance...
Jay
|
|
|
| Back to top |
|
 |
Daniel Rail Guest
|
Posted: Fri Apr 14, 2006 10:03 am Post subject: Re: Auto Launch Component |
|
|
"Jay Wright" <jwright (AT) verticaldev (DOT) com> wrote in message
news:443eeb05$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I'm looking for a component that acts like windows explorer, when a file
is double clicked, the file type tells windows to launch that program with
file selected. I have grid of available files and I want the user to be
able to click on the row and launch that program.
|
Lookup the Windows API ShellExecute function with using the "open"
operation, it's the same API that the Windows Explorer uses. You should be
able to find the documentation in Delphi's help, and in the MSDN Platform
SDK documentation. And, you'll have to add the ShellAPI unit to your uses
clause.
Daniel Rail
Senior Software Developer
ACCRA Med Software Inc.(www.filopto.com) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|