BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Auto Launch Component

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
Jay Wright
Guest





PostPosted: Fri Apr 14, 2006 1:03 am    Post subject: Auto Launch Component Reply with 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
Bob S
Guest





PostPosted: Fri Apr 14, 2006 2:03 am    Post subject: Re: Auto Launch Component Reply with quote



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





PostPosted: Fri Apr 14, 2006 10:03 am    Post subject: Re: Auto Launch Component Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.