Open PDF File from a C# application

  • Thread starter Thread starter Rafael Gomes via DotNetMonster.com
  • Start date Start date
R

Rafael Gomes via DotNetMonster.com

Hi,

I'm trying to open a PDF file from a C# application, but I'm having problems. I'm using the process.start("\\My Documents\\test.pdf", "") command of the OpenNetCF and the reader starts, but immediatly closes. When I try to open again, the file opens.

Is there any argument I need to pass in the command when starting the program?

Can someone help me?

Thanks,

Rafae Gomes
 
I haven't done this, but are you sure the pdf app is not behind yours the
first time?

Cheers
Daniel
 
It's not. After the reader closes I checked which programs were running in the running programs and it was not there.
 
Back
Top