Re: FindExecutable on Windows CE



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 ?



.



Relevant Pages

  • 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: FindExecutable on Windows CE
    ... Paul G. Tobey wrote: ... *.pdf, I'd just go looking for the entry in the registry associating *.pdf ... How can I do it on Windows CE ...
    (microsoft.public.windowsce.app.development)
  • Re: Printing to PDF... Much easier on a Windows boxen!
    ... if Adobe PDF is the ... Well, I know that Adobe wrote the program, but here's how I print to ... One of the great things about the Mac PDF functionality is that it is easy ... Fewer steps than what was described for Windows and allows a lot more ...
    (comp.sys.mac.advocacy)
  • Re: Virtual PDF-printer for PPC2003
    ... like old DOS computers- any printing support must be part of the PROGRAM ... print to "Windows" and Windows itself interfaces to any supported printer. ... PDF driver would have to be part of your app ... easy by comparision- they only have to convert a single format to PDF- the ...
    (microsoft.public.pocketpc)
  • Re: Outlook Toolbar Issue
    ... " Edit the registry to keep it from loading ... Expand 'Create Adobe PDF" and click on the Microsoft Outlook entry then ... You may need to provide your Acrobat disk or installation media to ...
    (microsoft.public.office.setup)