Open PDF File from a C# application

  • Thread starter Rafael Gomes via DotNetMonster.com
  • 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
 
D

Daniel Moth

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

Cheers
Daniel
 
R

Rafael Gomes via DotNetMonster.com

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top