1
votes

I have a simple question which expects a simple answer! :-)

In a visual basic .NET winform I drop a WebBrowser control

Within the form's load event script I have this: WebBrowser1.navigate("http://www.whateverWebsite.com/WhateverDocument.pdf")

Now the issue is that the webbrowser actually launches an Adobe reader new window with the PDF document, and that window is NOT part of my application. In my application the WebBrowser control says: Navigation Cancelled!!!!

What I want is the pdf file displayed within the actual WebBrowser control.

Any fix greatly appreciated.

1
Do you have control over what kind of PDF view software the users will install in their own machines? PDF viewers are free to decide whether cancel the navigation and show in its own window, or show the file in-place, or to change the storage method of settingsSheng Jiang 蒋晟
I am doing the same, and getting the same issue. By any chance do you remember, how you fixed it?Neha

1 Answers

1
votes

Isn't this a setting in Adobe reader? Look for Display PDF in browser in settings.