On Thu, 17 Apr 2008 19:32:33 -0700 (PDT), sunny
<fu***********@gmail.comwrote:
>Hi all
We have a pdf user manual which we open when client clicks on help
button. some of our clients have the issue that it does not open the
file and it says file not found. checked with istaller and everything.
i wonder why it would do so?? please help out
code to run the adobe reader:
ProcessStartInfo startInfo = new ProcessStartInfo(AcrobatReader,
Filename)
Process.Start(startInfo);
error:
http://tinypic.com/view.php?pic=21eqdkw&s=3
Here are a few questions / ideas:
- do you have examples of what the filename actually looks like in
those cases?
- Any dependencies on specific versions of Acrobat Reader?
- Permissions / Vista?
- Maybe temporarily replace AcrobatReader with a small app of your
own, that actually displays the filename that gets passed to it.
- Did you try to use the second overload of ProcessStartInfo, e.g.
ProcessStartInfo startInfo = new ProcessStartInfo(Filename);
(lets the system find whatever is associated with PDF)
to see if that makes a difference?
Regards,
Gilles.