Content
CameraCaptureUI.CaptureFileAsync() is returning a corrupt StorageFile if user selects "Save as a copy" option on the OS dialog
When using CameraCaptureUI in a UWP app, if cropping is allowed as follows: CameraCaptureUI captureUI = new CameraCaptureUI(); captureUI.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg; captureUI.PhotoSettings.CroppedSizeInPixels = new Size(200,…
[UWP] WebView height gets wrong height randomly
Hi, I have loaded html content on a web view and tried to set the webview height using "ScriptNotify" and "NavigationCompleted" events. I need to do some UI related stuff depending on webview height like showing a button,…
I'm after code for a home button function for a uwp web browser app made on visual studio 2022
I'm after code for a home button function for a uwp web browser app made on visual studio 2022
How do i make a uwp app like google earth on visual studio 2022
How do i make a uwp app like google earth on visual studio 2022 https://earth.google.com/web/@0,-3.12830005,0a,22251752.77375655d,35y,0h,0t,0r
Full screen mode for C++/CX application on startup
Hi, I'm working on a Windows UWP (Universal Windows Platform) C++/CX Application. I would like for this application to be full-screen from the moment that it launches, rather than briefly not full-screen and then changed to full-screen later. Does anyone…
Can I use desktop6:UninstallAction restricted capability in a UWP app through Microsoft Store or sideloading?
Is it possible to use the desktop6:UninstallAction capability to display a custom toast message or confirmation message when a user tries to uninstall the app, either through Microsoft Store or sideloading as MSIXBundle? Additionally, is it possible to…

What do I describe code of UWP dll without imporoting solution by C++?
Hello! I use VS 2022. I'm leadrning UWP dll. I am describing test code of it. I have a problem. That code cannot refer UWP class,for example Text Box,out of solution of VS project. How to solve solve this problem?
How to enable HDCP content protection through UWP Miracast API?
Greetings! I am developing a Miracast sink app following the UWP Miracast API documentation. Currently, standard projection of unprotected content works fine. However, the API does not seem to enable HDCP (for Netflix, Prime etc) in the Miracast Session…
How to enable UIBC Mouse through UWP Miracast API?
Hello! I am developing a Miracast sink app following the UWP Miracast API documentation and managed to get projection with User Input Back Channel (UIBC) Keyboard working. However, the API does not seem to implement mouse, only keyboard and game…
UWP UIElement to XAML
Hello, Is there in UWP any fine inbuild method to get XAML definition from UIElement? I can use reflection or I can build string on my own, but maybe this problem is already solved?
What do I describe dynamic linking of UWP dll by C++?
Hello! I use VS2022. I don't know how to describe dynamic linking of UWP dll by C++. Please describe sample it's code.
[WinUI3] VisualStateManager "PonterOver" not working on StackPanel
Hi, I want to make a mouse hover effect on a StackPanel but didn't manage to make it work using VisualStateManager, here is the code <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> …
Failed to create a 'Windows.Media.Playback.IMediaPlaybackSource' from the text 'ms-appx:///Assets/my-foo-click.wav'
The following works flawlessly 99+% of the time: <MediaPlayerElement x:Name="mediaPlayerElement" Width="0" Height="0" …

UWP VpnPlugin Troubleshooting
I am trying to add a VpnPlugin to my existing React Native Windows UWP app. The app works great so far. I've added another project for the background task to handle the VpnPlugin and CANNOT get it to launch (as far as I can tell). How can I debug if the…

recently users are getting "Warning map service token not specified."
Hi, Recently, about 6 weeks ago, some of our users are saying that after a few hours of running our app, they are getting the "Warning map service token not specified." message at the bottom of map. Our app has been in use for over 8 years and…

How to put .bmp file to .cur file in VS
Hello, I am traing to make a custom cursor for my UWP app. I created a dll project in c++, and next added curor file to the project. I opened this cursor file in Visual Studio inbuild editor. But this VS editor is very poor and dificult to use. I want to…
On my visual studio community 2022 I have this error on my uwp app on Design on MainPage.xaml
On my visual studio community 2022 I have this error on my uwp app on Design on MainPage.xaml System.Exception The app didn't start. (Exception from HRESULT: 0x8027025B) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at…

Trying to open a device using HidDevice FromIdAsync in UWP always returns null unless using FileAccessMode.Read
I can confirm that my HID device can have read and write capabilities, because this has been verified in WPF application, where one Endpoint can read and the other can read and write. I thought it might be a permissions issue, but I defined almost…

Why does SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility cause
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed; The above code worked fine for a UWP app. After I migrated the app to WinUI, it throws: System.AccessViolationException HResult=0x80004003 …
How do i make a uwp web browser from webview on visual studio 2022
How do i make a uwp web browser from webview on visual studio 2022