Hi,
Create a Form, place a WebBrowser control on that form, then call that
browser's "Navigate" method with the PDF file as a target.
The other way is to launch Adobe Reader as a process:
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "FileName.pdf";
Process proc = new Process();
proc.StartInfo = psi;
try
{
proc.Start();
}
catch( Exception exp )
{
MessageBox.Show( this, "FileName.pdf: " + exp.Message, "Exception",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation );
}
"Feldaspar" <an*********@hcn.com.auwrote in message
news:11**********************@38g2000cwa.googlegro ups.com...
Hi,
I have included a PDF file in my project, when the user clicks a button
I want that file to display, is this simple? How can I go about this?
Thank you