How to open pdf embedded in windows.forms.webbrowser management in VISTA

Webbrowser1.Navigate("http://mysite.com/test.pdf")

XP WEBBROWSER-CONTROL: if necessary, creates a PDF built into the web browser control.

XP IE7: The same thing happens if you manually go to the URL if you want.

VISTA WEBBROWSER-CONTROL: raises PDF, separately launching Acrobat, will not be embedded in web browser management. Not required.

Vista IE7: Embeds PDF correctly if you go to the same URL if you want.

I use Acrobat 9, where there is a preference setting on the Internet to open the PDF embedded in the browser - works fine directly in IE7, but not in managing the web browser.

I want the PDF to appear in the webbrowser control in Vista in the same way as in XP and Vista IE7.

I looked through each property / method / event in the webbrowser control and cannot find any parameters that could have a value. I tried to find some Vista settings that were relevant, could not find them.

+3
source share
2 answers

Platform Target = x86 to be installed. Found the answer here: link text

+3
source

" URL", PDF Open Parameters, PDF . - . Fineprint: (. , ), WinForm WebBrowser, , ( Win 7 .NET 4, ).

0

Source: https://habr.com/ru/post/1723984/


All Articles