Re: FindExecutable on Windows CE



Paul G. Tobey [eMVP] wrote:
OK. Well, since I just wanted to see if *something* was associated with
*.pdf, I'd just go looking for the entry in the registry associating *.pdf
with something. That's going to be at:

[HKEY_CLASSES_ROOT\.pdf]
@="<something>"
[HKEY_CLASSES_ROOT\<something>\Shell\Open\Command]
@="\"<launchpath>" %1"

So, you could go looking for <launchpath> or just verify that some
association with .pdf is there. Note that <launchpath> needent be there.
The EXE itself might just be listed and the path might be assumed to contain
it. As I said, I'd just check for the association and not look for the path
itself.

Paul T.

<ajay.sonawane@xxxxxxxxx> wrote in message
news:1153912315.518699.258830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Paul G. Tobey [eMVP] wrote:
You want to decide what application is associated with a given file type?
I
suppose that you could parse the registry keys yourself to see what's
associated, if anything. Why are you doing this? If it's just to decide
what program to run, just call ShellExecuteEx() to launch the document
and
the system will choose the right application.

Paul T.

<ajay.sonawane@xxxxxxxxx> wrote in message
news:1153815846.937176.169970@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello all,
I want to find executable of any type of file. On windows , we do the
same thing using FindExecutabel function, How can I do it on Windows CE
? It seems that FindExecutable is not supported on Windows CE.
Thanks.

-AJay



I need the full path of the application that is associated with the
file.
I will try to explain what I want to achieve, I need to check whether
acrobat reader or pdfviewer is installed on the Windows CE device. One
way to do this is create one temporary pdf file and find the executable
associated with it ( using FindExecutable or . I am following the same
approach.
Registry gives me the exe name ( pdfviewer.exe %1) and not the full
path, Can you shed some more light on this ?


OK, So I need to check only association with .pdf file, If there is a
key .pdf under HKCR, it means acrobat or pdfviewer is installed there,
No need to go to find launchpad or no need to check value of
association. Correct me if I am wrong.

.



Relevant Pages

  • Re: FindExecutable on Windows CE
    ... *.pdf, I'd just go looking for the entry in the registry associating *.pdf ... same thing using FindExecutabel function, How can I do it on Windows CE ...
    (microsoft.public.windowsce.app.development)
  • Re: UKSF XI. Match on.
    ... > and agree with Paul here. ... I thought the .pdf was a thing of beauty ... stand by my assertion that Newsgroup Football should be played in the ... Now, if the team sheet had been posted in UKSF with all the text, _and_ ...
    (uk.sport.football)
  • Re: evince? = train wreck
    ... Paul Johnson wrote: ... I have NDI how it came to be FF-2.0.0.9's fav pdf renderer, ... Got it thanks to a previous message from Claude, thanks Paul. ...
    (Fedora)
  • Re: Cannot associate PDF files with Acrobat Reader
    ... It did appear to have to do with the registry. ... Settings\%username%) and allowing Windows to create a new one when I logged ... but the PDF to Acrobat Reader connection was ... Acrobat Reader 7.0 was installed. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: PDF ?
    ... Is there any way to incorporate a filename into this code?. ... > Hi Paul ... > Sub Macro1() ... >> workbook to a PDF document ...
    (microsoft.public.excel.misc)