Archive for July, 2024

Visual Studio 2022 WebView2 bugs

I’ve been tearing my hair out for the last couple of days – trying to work out why previous perfectly good apps completely crashed WebView2 using Visual Studio 2022! Visual Studio 2022 smoothly allows WebView2 to be installed and loaded into the toolbox. But using it kept failing on: ‘WebView21_CoreWebView2InitializationCompleted(sender As Object, e As Microsoft.Web.WebView2.Core.CoreWebView2InitializationCompletedEventArgs) Handles […]

Windows Controlled Folder Access

I’d almost completed a major new Windows graphics application ‘Magic Water Mark’ when I hit a typical Microsoft road-block. My tried and tested routines for saving Image Files all failed to work – creating a System.Exception: “A generic error occurred in GDI+.”. Absolutely no helpful debug information available anywhere. The problem appeared for an application […]