process.start problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Karl

    #1

    process.start problem

    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
Working...