Visual Studio WebBrowser Control does not show PDFs anymore - c#

I used the WebBrowser control to display PDFs in a Visual Studio C# Application.
This solution was working for a long time. But suddenly it does not display PDF documents anymore.
But using the WebBrowser, the screen stays gray for .pdf files.
When setting the project explititly to x86 target platform, it works again. With Any or x64 it doesn't show the PDFs, but x86 is no solution for me, because my application needs x64.
Here's a question extremely similar to mine, but there was no definitive answer to the problem.
WPF WebBrowser control does not show PDFs anymore (.NET5 Acrobat Reader ActiveX)

Problem has been resolved in Windows Update.
"Internet Explorer 11 and applications that use the WebBrowser control may fail to open PDFs 64-bit versions of IE11 and applications that use the 64-bit version of the WebBrowser control may show PDFs as gray.
Resolved KB5004760"

Related

My app icon is not visible in share menu windows 10 - UWP

Icon is not being displayed in Share menu next to my app name. But its displayed correctly in icon
I have added icons to all the options in visual studio
The assets you are using are right. At first, I didn't see any problem when I used RTM OS version (Version 1511, OS Build 10586.494). However, from your screenshot, it seems you are using Insider Preview Build. So I tested it again on Windows 10 Insider Preview Build 14393 and I can reproduce your issue.
Actually, your app icon is not invisible. It seems that System has cached the app icon used in Share menu when your app is deployed for the first time. After this, even we reset the app icon and redeploy the app, the icon in Share menu still won't change. I guess you've run your app with the default assets before you set your own assets. So in Share menu, it still use the default icon, but in Start panel, it is correct. You can created a new project with your own assets and then run this new project, you icon should be able to display in Share menu correctly.
This issue seems only affect Insider Preview Build. For Insider Preview issues, please feel free to share feedbacks with Microsoft. You can report this issue with Windows Feedback app. Your feedback has made Windows better!
All Logos Related to UWP are stored in Package.appxmanifest. Edit it using an xml editor. See if there is any image that is still a default icon.

Awesomium web view is not loading url

I have an awesomium web view in a winform. The software was working fine until today when the web view is not loading the page even after setting the source property programmatically. When I move my cursor on top of the control it just shows the busy icon.
I have added a lot of other controls using devexpress (and the webview was working fine earlier with Devexpress as well).
I remade a test project with a devexpress ribbon and just the webview and the webview loaded fine.
Has anyone come across this issue and can shed light on this matter?
I suggest deleting your current control of awesomium and re add it. If that doesn't work, delete it again and add that dll to the toolbox. The dll is located in program files or program files x86, under awesomium.

fonts don't load on webkit.net browser in windows application

I have developed one windows application with webkit.net control by using its dll.
In which when we open any webpage of local folder it doesn't show fonts.
(i.e. webkit .net has font issues, different fonts are not loaded in its browser.)
What should I do?
Is there a property we have to set over there for this control?

how to make webbrowser in .net use the latest internet explorer

Hi I am using Windows Presentation Foundation with .NET in MS Visual Studio 2010 Professional and I am embedding a web page into my application using a WebBrowser object, however it seems that the WebBrowser is using some old version of the Internet Explorer and I really need it to be using the latest Internet Explorer installed on the user's computer.
How to make .NET use the latest Explorer?
You can set the rendering mode by setting a registry key value for your app.
This may be of some help...
WebBrowser Control rendering modes

Origin of C# WebBrowser control

I am working on a C# application which uses an embedded WebBrowser control to display some HTML content. I want to test whether installing IE9 http://windows.microsoft.com/ie9 will effect my application.
The MSDN blog http://blogs.msdn.com/b/ie/archive/2008/03/18/webbrowser-control-rendering-modes-in-ie8.aspx states that the WebBrowser control defaults to IE7 rendering. However, I want to know what binary is actually being used to do the IE7 rendering.
I think the WebBrowser control could be packaged with:
the version of IE included with Windows (e.g. IE8 with Windows 7)
the newest version of IE installed in Windows (e.g. IE9)
the .NET runtime, my application uses .NET 2.0
Visual Studio, my application is built using VS2008
Which of these is correct?
The .net winforms webbrowser is just a wrapper for MSIE's own browser control (in shdocvw.dll). If you have IE8 installed, it uses IE8. If you have IE9 installed it uses IE9. For some silly reason they decided to have it fall back to IE7 rendering mode.
You can override that with a meta tag in the page header, or with a registry key. See MSIEs WebBrowser control hosted in winforms app runs in compatibility mode

Categories