Thanks
Paul
Are you sure you need to find the .exe? I you want to open a pdf file
with it, you can just use the following:
Process p = new Process();
p.StartInfo.FileName = "Some.pdf";
p.StartInfo.Verb = "Open";
p.Start();
--
Mike
If you need the path for AcroRd32.exe, it appears there is a registry
key, HKLM\Software\classes\acrobat\shell\open\command, which has a
default value of:
"C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe" /u "%1"
for me.
In general though, the actual path is very application specific. You
cannot depend on one way to find all application paths. Even different
versions may change the way it can be found.
--
Mike
Paul
"Family Tree Mike" <FamilyT...@ThisOldHouse.com> wrote in message
news:%231qThlq...@TK2MSFTNGP02.phx.gbl...
> Family Tree Mike wrote:
>> Paul Ilacqua wrote:
>>> I'm looking to located the adobe Executable's location in a vb 20 the
>>> file with it's associated program?
05
Yes, that is correct. Do you have a reason to force Reader to be used
regardless of the user's file associations?
--
Mike