windows.opener() handling with WebView2
In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…
Can we set preview of Drag-and-Drop before drag event in WinUI2?
Hi, I'm working on WinUI2 application with Xaml Island in C++. Suppose we've one draggable TextBlock and when we drag it, we can see some preview moving with the mouse pointer moving. In order to set that preview I'm doing in DragStarting handler as…
How to fix Windows.Networking.Connectivity.dll - Access is denied
Hi, Its a multiplayer game developed with Unity, I have added the following capabilities in Package.appxmanifest : Internet (Client) Internet (Client & Server) Private Networks (Client & Server) The user is asked to sign in by directing to the…
Close and then open a new tab page or window asks authentication
I am trying to embed a webform application in WinForm using Webview2 control. The new window opens in a tab page with webview2 child ( e.handled=true). But when destroying the child tab wm_destroy is not calling properly. so each time while open a new…
Unable to publish with fulltrustprocess and Multiple instances of UWP app
UWP experts , There are three components here. Main UWP app with multiple instances supported through package manifest - C# UWP FullTrustprocess that acts as the appserviceconnection server - C# .NET 8 WAPP Package that bundles UWP app and…
Why does using VideoTransformEffectDefinition affect the camera brightness
I'm using VideoTransformEffectDefinition to rotate the camera VideoPreviewWhy does using VideoTransformEffectDefinition reduce the brightness?How can this problem be avoided?
DataPackageView Bitmap looses transparency
When copying a transparent image from a web browser and saving it to a file using a UWP application, the transparency of the image is lost. Below is a code snippet illustrating the approach to save the clipboard's DataPackageView bitmap to a file, which…
How to Parse Durable Purchase Receipt in UWP
Hi, I have created two add-ons: one is a Durable product, and the other is a Subscription product. I successfully received receipts for both during purchase. As per the documentation, I parsed the receipt for the Subscription product and retrieved the…
visual studio 2017 on windows 11 for iot core x86 uwp app development
Hi, I was using visual studio 2017 community on win 10 pro host m/c. I am learning uwp app development on windows 10 iot core x86 image running in virtual box. My development interest is only 32bit Embedded products only. Recently due to the resource…
How to use WebView2 AddBrowserExtensionAsync in UWP?
Attempted to use webView.CoreWebView2.Profile.AddBrowserExtensionAsync(extensionPath) but received the exception "The request is not supported." It's understood that AreBrowserExtensionsEnabled must be set to True, and the property is found in…
The issue of porting Unity to UWP and adding in-app purchases.
I have a Unity game and I want to port it to UWP and add Microsoft in-app purchases. Are there any tutorials or case studies available? I have failed multiple times, especially when trying to add DLLs and other components. thanks
How to Resolve SQLite Network Path Access Issues in UWP Applications
We are facing an issue accessing a SQLite file located on a network path in our UWP application. Despite enabling the necessary capabilities such as internetClient and privateNetworkClientServer, the file remains inaccessible in release mode. The SQLite…
Is there a manual bible for learning about visual studio community 2022 c# uwp on coding
Is there a manual bible for learning about visual studio community 2022 c# uwp on coding
.NET 9 UWP Build Error
A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…
Error uploading UWP app to Microsoft Store: Microsoft.VCLibs.140.00.UWPDesktop version mismatch
I encountered this error while uploading my UWP app to the Microsoft Store. The error message reads: 'Your package Microsoft.VCLibs.140.00.UWPDesktop specifies version 14.0.33728.0, but 14.0.24217.0 is the minimum available version.' Could someone help…
Understanding the 'PackageOptionalProjectsInIdeBuilds' Parameter in .csproj.user Files
The Visual Studio IDE automatically sets the 'PackageOptionalProjectsInIdeBuilds' parameter to false when switching between different Git branches. I noticed that the value of this parameter, whether true or false, affects the size of the uwp app…
While build app on release mode the wcf end point having issues. All Good in debug mode
Hi all, Am facing an issue with the WCF service. All good in debug mode. After building it in release mode and run the app having problem in WCF endpoint. Providing the images. Debug Mode Image Release Mode Image
How does WiFiDirectAdvertisementPublisher decide which wifi channels to use?
I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality, how does this API choose which channels to use and can this be configured? Is it assured that only valid channels for the country in which windows is being used? Are…
MediaFrameReader TryAcquireLatestFrame method throws exception after latest Windows 11 update to 26100.2605
Hi, we are using MediaFrameReader to retrieve frames from webcams and after the latest update last week it turned out that there is no video output and MediaFrameReader.TryAquireLatestFrame method throws an exception. There were no changes to our…
How to add items to Windows 11 modern EXPLORER context menu using C#?
I'm developing a UWP program and want to associate a custom menu item with a specific file format and show it in the Windows 11 new version File Explorer context menu (first level menu). Is there such an API?And how to do this in winform?