Hi,
I am using Process.Start(" file.pdf") to launch the default pdf reader and
open a file. This works the majority of the time. However during deployment I
came across a few computers where this does not work. It does absolutely
nothing. The reader is not launched and the file is not opened. However, on
those computers if they manually launch their reader and then run the above
code the file gets opened.
Has anyone come across this problem before? Does anyone know what is
happening?
It is not a problem with the reader not being associated with the pdf file
format. I know this because when they double click a pdf file from explorer
it opens just fine.
Thanks,
Karl
I am using Process.Start(" file.pdf") to launch the default pdf reader and
open a file. This works the majority of the time. However during deployment I
came across a few computers where this does not work. It does absolutely
nothing. The reader is not launched and the file is not opened. However, on
those computers if they manually launch their reader and then run the above
code the file gets opened.
Has anyone come across this problem before? Does anyone know what is
happening?
It is not a problem with the reader not being associated with the pdf file
format. I know this because when they double click a pdf file from explorer
it opens just fine.
Thanks,
Karl