Re: Where is Executable File
- From: "Nishant Sivakumar" <nish@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 10:49:01 +0530
If you simply want to open a document in its associated program, use
ShellExecute as Mark suggested, but if ou want to find the associated
executable, use FindExecutable.
--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"Bruce Kingsley" <brucek5@xxxxxxxxxxxxxx> wrote in message
news:yPDFe.5677$Uk3.3421@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I need to launch the executable file associated with a file in a directory
> the same way Windows Explorer does when you double click on a .DOC and it
> launches MSWord.EXE and passes the DOC file as a argument.
>
> Is there a single function that does this or do I need to do some kind of
> look-up to find what the file type is associated with?
>
> --
>
>
> Regards;
>
> Bruce Kingsley
>
>
>
>
.
- References:
- Where is Executable File
- From: Bruce Kingsley
- Where is Executable File
- Prev by Date: Re: Terminating User-Interface Thread
- Next by Date: Re: CL.EXE error !
- Previous by thread: Re: Where is Executable File
- Next by thread: stopping modal dialog from completely exiting application in WM_C
- Index(es):
Relevant Pages
|