3,041 questions with Developer technologies | Universal Windows Platform (UWP) tags

Sort by: Updated
1 answer

Missing Events Logs

how do I fix "Missing Events in Event Log events were lost during data collection," warning?

Developer technologies | Universal Windows Platform (UWP)
asked 2020-08-01T20:01:59.363+00:00
Gerald65 1 Reputation point
commented 2025-02-24T17:40:57.27+00:00
Paul Barker 6 Reputation points
2 answers

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…

Developer technologies | Universal Windows Platform (UWP)
asked 2024-05-22T08:13:34.43+00:00
Henry-6115 71 Reputation points
answered 2025-02-24T17:05:13.7633333+00:00
Teun Pleunis 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to navigate between controls on KeyDown event.

I'm trying to have a KeyDown function that makes the focus move to the next control. I've tried this but it throws me an error: private void Obj_KeyDown(object sender, KeyRoutedEventArgs e) { if (e.Key.ToString() == "Enter") …

Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Developer technologies | C#
asked 2021-08-19T15:57:34.337+00:00
David Simões 21 Reputation points
answered 2025-02-23T01:15:35.7366667+00:00
Wah Than 0 Reputation points
2 answers

Why squares inside canvas get distortion after page resize in uwp app

I made a UWP app and in its xaml file I wrote the following: <Viewbox Height="60" Width="205" VerticalAlignment="Center" HorizontalAlignment="Center"> <Canvas x:Name="Mycanvas"…

Developer technologies | Universal Windows Platform (UWP)
asked 2025-02-07T00:10:26.0366667+00:00
Gonzalez, Javier 40 Reputation points
edited a comment 2025-02-21T06:20:03.5666667+00:00
Anonymous
0 answers

How to obtain access to 'HumanPresenceSettings. SetingsChanged'

The "HumanPresenceSettings" instance I returned through this method, 'humanPresenceSettings=await HumanPresenceSettings. GetCurrentSettings Asynchronous ()', can read the relevant settings. However, when I subscribe to 'HumanPresenceSettings.…

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
asked 2025-02-17T07:55:28.4633333+00:00
charles yu 1 Reputation point
commented 2025-02-21T03:11:05.38+00:00
Junjie Zhu - MSFT 21,646 Reputation points
0 answers

ARM64 UWP DesktopExtension – "e_sqlite3.dll is not a valid Win32 application" despite including runtimes\win-arm64\native

I have an UWP app with Desktop Extension (implemented like this tutorial: https://github.com/StefanWickDev/UWP-FullTrust/tree/master). Here is my sample project, which shows this…

Developer technologies | Universal Windows Platform (UWP)
asked 2025-02-11T22:59:23.9333333+00:00
WorldOfBasti 136 Reputation points
edited the question 2025-02-21T02:07:01.6466667+00:00
Jack J Jun 25,296 Reputation points
1 answer

UWP C# app: Trouble doing drag and drop from home folder

I am working on a UWP app. I have implemented an event handler such that if you drag a PDF file onto our main page, we begin to process that document. This appears to work fine, so I'm pretty sure we are setting things up reasonably. The exception? …

Developer technologies | Universal Windows Platform (UWP)
asked 2025-02-07T16:25:00.2166667+00:00
Fiederer, Jens JF 20 Reputation points
edited the question 2025-02-21T02:05:09.8866667+00:00
Jack J Jun 25,296 Reputation points
1 answer

AppInstallManager error - UWP

Hello Hello. I have a sample UWP and the following code is getting error: private async void Button_ClickAsync(object sender, RoutedEventArgs e) { AppInstallManager appInstallManager = new AppInstallManager(); } WinUI works well.

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#
asked 2025-02-17T19:10:40.33+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
edited an answer 2025-02-21T01:58:52.25+00:00
Junjie Zhu - MSFT 21,646 Reputation points
1 answer One of the answers was accepted by the question author.

Selected item in ComboBox is not visible when popup is open (UWP)

Hi, I want the ComboBox to show the selected item when its popup is open. This is the look of ComboBox when it is closed: And here is ComboBox with oped popup (Notice that selected "Item 1" in ComboBox is not visible):

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2025-02-06T16:25:10.3333333+00:00
123244 140 Reputation points
commented 2025-02-17T15:48:37.4333333+00:00
123244 140 Reputation points
1 answer

Error MSB4044 RemoveDisposableSigningCertificate

I am facing this issue while creating UWP package : Error MSB4044 A value was not specified for the task “RemoveDisposableSigningCertificate” for the required “CertificateThumbprint” parameter. C:\Program Files Microsoft Visual Studio…

Developer technologies | Universal Windows Platform (UWP)
asked 2025-01-24T05:16:56.2433333+00:00
Hemachandra Rao 15 Reputation points
commented 2025-02-14T14:31:18.9633333+00:00
Mirec543 5 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best variable for save an image and then draw squares over that: WriteableBitmap or softwarebitmap? Or is there a better strategy ?

If I captured an image and then I want to draw something like square or polygon, I want to know what is the best way to handle that image. Is good to save in a WriteableBitmap? or softwareBitmap? Is necessary to load in a Canvas ? Thanks.

Developer technologies | Universal Windows Platform (UWP)
asked 2025-02-05T12:44:13.5733333+00:00
Gonzalez, Javier 40 Reputation points
accepted 2025-02-14T11:31:49.3+00:00
Gonzalez, Javier 40 Reputation points
1 answer One of the answers was accepted by the question author.

x:bind observable collection to Grid column width

Hello, I am trying to x:bind ObservableCollection to Grid columns, but my code works only partly. I have such XAML: <ListView x:Name="lvExpAndCosts" ItemsSource="{x:Bind ocExpendituresAndCosts}"> …

Developer technologies | Universal Windows Platform (UWP)
asked 2025-02-12T11:39:17.0966667+00:00
BitSmithy 2,206 Reputation points
edited an answer 2025-02-13T09:19:00.7266667+00:00
Junjie Zhu - MSFT 21,646 Reputation points
1 answer One of the answers was accepted by the question author.

How to disconnect a Bluetooth (not LE) device from windows computer in UWP/.NetCore/etc.?

I have a Bluetooth device connected to my computer. The following is the state of the device in Bluetooth & Other Devices list. I want to disconnect it from the computer using any API of desktop/UWP app (e.g., IOCTL etc.). So I want to make it to…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
asked 2023-04-02T11:02:17.5733333+00:00
Marjan Khan 25 Reputation points
edited a comment 2025-02-08T20:19:23.1633333+00:00
Marjan Khan 1 Reputation point
1 answer One of the answers was accepted by the question author.

Canvas to WriteableBitmap

Hello. I'm imported an images and loaded in a WriteableBitmap. Then i loaded that image in a Image variable. I need to draw a simple square . For that my next step was to load the Image variable in a canvas. Using a polygon i was able to draw a simple…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
asked 2025-01-31T21:18:14.6766667+00:00
Gonzalez, Javier 40 Reputation points
accepted 2025-02-05T12:40:46.2033333+00:00
Gonzalez, Javier 40 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Developer technologies | C++
asked 2025-01-13T12:48:42.26+00:00
Shyam Butani 380 Reputation points
edited the question 2025-02-03T09:43:22.9233333+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Unpairing a Bluetooth LE is not working

I use VS C++ 2015-2022 Redistributable (x64) 14.40.33810 with Windows SDK version 10.0.226100.3233, I am able to pair with a BLE device using the UWP API, but I have had absolutely no luck in unpairing the device. I am in need of an urgent help. Thank…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C++
asked 2025-01-24T17:50:43.28+00:00
F FARAH 20 Reputation points
edited the question 2025-02-03T08:08:10.3933333+00:00
Jack J Jun 25,296 Reputation points
0 answers

Issue with "Mandatory" package update status in Microsoft Store

Hi, I am experiencing an issue with the Microsoft Store incorrectly reporting "Mandatory" package update status in some of my UWP applications. Following the official documentation, I implemented an update flow in my application that provides…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
Developer technologies | C#
asked 2025-01-24T12:43:15.7233333+00:00
Joel 5 Reputation points
commented 2025-01-31T02:18:11.95+00:00
Anonymous
2 answers

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

Developer technologies | Universal Windows Platform (UWP)
asked 2025-01-02T15:44:42.7+00:00
一 王 0 Reputation points
commented 2025-01-31T01:59:06.59+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Is there a way to disconnect a ble connection from server?

After setting service/characteristics and do serviceProvider.StartAdvertising(), then ble client connect the server. How can server do disconnect to a client ? I did't find any api in Docs. In a word, what I want is the method for server to: …

Developer technologies | Universal Windows Platform (UWP)
asked 2022-05-21T01:14:33.013+00:00
frank zhang 121 Reputation points
commented 2025-01-30T03:49:13.0633333+00:00
Mike Petrichenko 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to sideload app on Windows Phone 8.1 now?

The Store app seems to have stopped working on Windows Phone 8.1 devices. In this case, how to sideload an app built with WinRT (.appxupload) on Windows Phone 8.1 devices?

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-24T13:08:39.437+00:00
Hong 1,246 Reputation points
commented 2025-01-28T18:38:18.2866667+00:00
Mikael Riuttamäki 0 Reputation points