831 questions
0
votes
1
answer
99
views
How to display Openstreetmap map on C# & WPF ? I only get black screen
In mainwindow.xaml.cs, I added a toggle button event to switch from current mode view to the interactive Open Google Streetmap view.
At the top I added:
using Microsoft.Web.WebView2.Core;
and then in ...
0
votes
0
answers
131
views
WebView2 control in an UWP app crashes the entire console on Xbox One
Long story short: an app with a WebView2 crashes the entire system if run on a retail Xbox One
I'm having this strange issue. The crash is not just the app closing, is the entire console that restarts ...
0
votes
1
answer
103
views
Pyinstaller, exe file does not run for other users
I have a problem with Pyinstaller, when I build the program everything works fine, but when I publish files on github or archive.org and download from there, when I try to run it, an error
Traceback (...
1
vote
1
answer
251
views
Tauri window opens fine on macOS but hangs with blank window on Windows (no logs after #2)
I’m developing a desktop app with Rust + Tauri (v2.5) + SvelteKit.
On macOS my command for opening a new settings window works perfectly. On Windows however, the app freezes when building the window: ...
0
votes
1
answer
85
views
How to specify login for proxy requiring authorization in WebView2?
How to specify login and password of proxy that requires authorization in WebView2?
This question was also asked on Autofill Proxy requirements webview2 There is an answer to the question of how to ...
1
vote
0
answers
100
views
WebView2 issue in Visual Studio 2019
I have been struggling with this for a few days now trying to add the webview2 control to one of my projects.
I can generate a new Project add the WebView2 control and everything works as "...
1
vote
1
answer
318
views
How do you "reset" a WebView2 control to stop users going "back" to previously loaded pages?
We are using a WebView2 control in a .NET Framework (targeting 4.8) solution. We use it for "previewing" PDF files. The user can navigate through our app, click on a PDF shown in a list, and ...
0
votes
1
answer
246
views
How to get results from an async Javascript script using C# and Microsoft WebView2 control?
I have the following Javascript script:
async function getIPAddress() {
var thisFuncName = arguments.callee.toString().match(/function ([^\(]+)/)[1];
var retValue = {
'Result': true,
...
0
votes
0
answers
44
views
How to avoid ValidProxyAuthenticationRequired web error status while authenticating to a proxy server in Microsoft Edge WebView2 control
I have the following C# code to initialize and to use a proxy server with Microsoft Edge WebView2 control (v.1.0.3179.45):
var proxyAddress = ...
var proxyPort = ...
var proxyUserName = ...
var ...
0
votes
0
answers
184
views
WebView2 navigation to about:blank and file URL happening simultaneously — navigation to file URL aborted in specific environments
I have a C# Winforms application that uses the WebView2 browser. The form contains a grid and a browser view. Whenever a user changes the selected row in the grid, new data is fetched, and an HTML ...
0
votes
1
answer
63
views
Understanding %temp%\.net Folder
When developing a single file self-contained WPF application using .NET 8 that uses the WebView2 component, a folder is created under %temp%\.net while the application is running.
What is the purpose ...
0
votes
0
answers
32
views
Is there a way to have a WiX installation package mimic the behavior of Visual Studio's deployment?
I've built out a winforms application in Visual Studio that utilizes the WebView2 control. When I deploy the application to one of my users via publishing directly to their computer, the application ...
0
votes
1
answer
506
views
WPF: WebView2 is always on top [closed]
I am playing around in WPF and want to display a PDF file. For that, I use WebView 2. It displays my file without a problem.
The only problem I am facing with it is that it stays on top of every other ...
0
votes
1
answer
166
views
Edge WebView Change the language of the webview interface, e.g. context menus with visual basic
I have a diy webbrowser (WebConnect for Windows) and it is running on the Edge WebView2. I would like to change the language of the microsoft edge webview. For example that the context menu, the ...
1
vote
0
answers
73
views
How to Identify the Version of ffmpeg.dll in WebView2 Runtime Fixed Version
I am currently using the WebView2 runtime fixed version. After expanding the package, I found multiple DLL files, including ffmpeg.dll.
In the file properties, the file version is displayed as 0.0.0.0,...
0
votes
0
answers
27
views
webview2 can you access details of a Servers Certificate from a Request Response?
If the webview2 encounters an issue with a Servers' certificates, this can be captured in the CoreWebView2.ServerCertificateErrorDetected event and drilling into the ServerCertificate....
0
votes
0
answers
66
views
BlazorWebView webview2 protocol event handle not working and Iframes
I am running a client side blazor wpf hybrid with a BlazorWebView control. I need to hook into the result when I load into an iframe, technically it loads from disk a wasm that I need to inject some ...
0
votes
0
answers
57
views
How to extract embedded files to memory stream?
Hello I'm really new in c#.
I've got the following problem, I'm using a WebView2 in my WPF application, to show my webContent like HTML, CSS, JavaScript.
I've created a folder with these files and ...
1
vote
1
answer
133
views
Assigning a Win32 process Task Manager "Description" column value in Windows 11
In previous versions of Windows, the "Description" column on the "Details" tab in Task Manager always comes from the process's main image description metadata.
However, in Windows ...
0
votes
0
answers
81
views
Read and Modify a Checkbox inside WebView2 through C# code
I have a small application in c# with an external html page that is displayed in webView2.
I want to read and modify the state of a Checkbox inside an external page displayed in WebView2 through C# ...
0
votes
0
answers
86
views
How to set proxy proxy-server including username and password as options.AdditionalBrowserArguments ? in WebView2
How to set proxy proxy-server including username and password as options.AdditionalBrowserArguments in WebView2 , c# winforms
Tried with this code , but its not working..
...
1
vote
1
answer
98
views
How can I share the same WebView2 code, between WPF and WinForms projects?
I have developed utility source code to work with WebView2 component, and I want to use it in 2 different projects, one is WPF, the other WinForms.
The problem is that WebView2 asks for different &...
0
votes
0
answers
88
views
Odd behaviour WebView2 Authorization via Headers with 302 Redirects
I have a project that uses the WebView2 control to access various sites that all require Authorization (some require Basic, others OAuth). To provide a generic solution I deal with all Authorization ...
0
votes
0
answers
74
views
Touchscreen Functionality Crashing on Rapid Touch in .NET Maui Hybrid App
if I rapidly click anywhere inside the app while starting up and loading, the touchsrceen will be broken but the mouse is still working.
Steps to Reproduce
Create a new Maui Blazor Project
Deploy it ...
0
votes
1
answer
107
views
Resolve Relative Paths in local html file viewed in WebView2
I have a html files stored locally and want to show it in the WebView2 control, so I would use .Navigate("C:\temp\some.html") that all works fine. In those HTML files I have css links using ...