WebBrowser.Navigate(pdfPath) fails after WIN Update

LemonXXX 1 Reputation point
2021-06-10T09:16:57.287+00:00

Hi,
the last Microsoft Update

https://support.microsoft.com/en-us/topic/june-8-2021-kb5003637-os-builds-19041-1052-19042-1052-and-19043-1052-fd782405-7736-478e-b8d0-b08f735f7e54

has broken the standard

WebBrowser.Navigate(pdfPath)

call, which allows to show a PDF preview within a Form.

I've been using this way for showing the preview because it worked easily for both x32 and x64 applications types.

Any suggestion for fixing it?
Please note that I'd like to keep that code and wouldn't implement this feature thru an alternative way (like using GhostScript).

T&R,
Piè

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,848 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.