Read a local pdf file in webbrowse control

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
I am trying to open a local pdf file in a webbrowse control, but it opens a pdf reader instead of displaying in the webbrowser control when I call below code.
string file = @"C:temabc.pdf";<br/>
this.webBrowser1.Navigate(file);
What do I miss?

TIA <hr class="sig Hwasoo Lee

View the full article
 


Write your reply...
Back
Top