Microsoft Q&A

Universal Windows Platform (UWP)

2,472 questions

A Microsoft platform for building and publishing apps for any Windows device.

Browse all Windows tags

2,472 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
1 answer

C# UWP Printing "Keine installierten Komponenten gefunden. (Exception from HRESULT: 0x800F1000)" (No installed components found.)

I want to print in my UWP App. I create a SortedList of RelativePanels which i fill with controls. The PrintPreview appears correct with the first RelativePanel of the SortedList. But when i want to switch to next PrintPage, this means the next…

Universal Windows Platform (UWP)
.NET
.NET
Microsoft Technologies based on the .NET software framework.
635 questions
asked 2023-02-05T08:30:00.67+00:00
Markus Schertler 41 Reputation points
answered 2023-02-06T04:34:31.8066667+00:00
Markus Schertler 41 Reputation points
0 answers

UWP XBOX Live Creators app and Store app URI scheme

Hi, I have an UWP Xbox Live Creators app in which I try to use the Store app URI schemes as explained here: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/launch-store-app I implement the store detailed page as follows: …

Universal Windows Platform (UWP)
asked 2023-01-30T13:23:01.2933333+00:00
TS 0 Reputation points
commented 2023-02-06T02:59:02.02+00:00
Roy Li - MSFT 26,556 Reputation points Microsoft Employee
0 answers

UWP shows wrong MIDI device names

Hey there! UWP shows wrong names for most MIDI devices! Many ports are just called "MIDI" - which makes this library almost completely usable in any App. For example, loading output device information is done like…

Universal Windows Platform (UWP)
asked 2023-01-17T10:38:31.89+00:00
Max Meier 0 Reputation points
commented 2023-02-04T16:58:29.64+00:00
Eddie 1 Reputation point
1 answer

FPS drops after touch ends in fullscreen-mode (actual even for a template DirectX Universal App)

Hi. Video: https://drive.google.com/file/d/1MtnB-BasNV2JBQYSxvpFrOZzmnO3AOOm Device: not too fast like Surface Pro 4 This effect is very obvious in our game but it is reproducible event in a template DirectX App. In fullscreen mode when…

Universal Windows Platform (UWP)
asked 2019-11-08T08:48:37.25+00:00
Anton Petrov 1 Reputation point
answered 2023-02-03T21:01:14.93+00:00
Tariq Mehmood 0 Reputation points
2 answers One of the answers was accepted by the question author.

On Screen Keyboard in Kiosk mode (UWP)

We have an UWP application running in fullscreen mode on Windows 10 in kiosk mode. It is installed using side loading. The hardware is a panel computer with a touch screen and no physical keyboard. 1) When running the application on the desktop using the…

Universal Windows Platform (UWP)
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,007 questions
asked 2021-02-09T00:23:46.517+00:00
Luc Dallaire 21 Reputation points
edited a comment 2023-02-03T10:11:59.15+00:00
Dean Fourie 0 Reputation points
0 answers

How to find optimize shortest route distance aganist multiple location in UWP bing map control

Problem Statement: Our solution:Below are the line of code we are using to depict shortest path on Map. private async Task<bool> ShowRouteOnMap(MapControl myMap, ObservableCollection<ViewRouteDetailsUIModel> SelectedCustomerList) …

Universal Windows Platform (UWP)
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
188 questions
asked 2023-02-03T09:57:04.3566667+00:00
Lokender Tiwari 0 Reputation points
2 answers

How can I customize inkToolBar with its own design

As I can customize inkToolBar with own design and included the menuflyout where the colors are, the thickness for example of the pen.

Universal Windows Platform (UWP)
asked 2023-01-20T19:03:14.2366667+00:00
Javier R 166 Reputation points
commented 2023-02-03T06:18:44.98+00:00
Roy Li - MSFT 26,556 Reputation points Microsoft Employee
0 answers

UWP CreateOutputReport failed to create report ID

The following code has an error, System. Exception: "The data is invalid. The specified report type is not present. What is the reason? Error statement: var outputReport = hiddevice.CreateOutputReport(0);  The handle was opened, but the output…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,007 questions
Universal Windows Platform (UWP)
asked 2023-01-13T03:54:22.5666667+00:00
yu chen 0 Reputation points
commented 2023-02-02T08:32:37.1833333+00:00
yu chen 0 Reputation points
1 answer

Change InkDrawingAttributes Opacity for Pen brush

I using a color picker to draw with a pen, but using this code I can't change de opacity of the pen color: InkDrawingAttributes inkDrawingAttributes = InkCanvas.InkPresenter.CopyDefaultDrawingAttributes(); inkDrawingAttributes.Color =…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,007 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
559 questions
asked 2023-01-26T14:51:19.3+00:00
Anderson Cavalcante 21 Reputation points
answered 2023-02-02T02:59:58.07+00:00
Roy Li - MSFT 26,556 Reputation points Microsoft Employee
1 answer

How do I download files created by my own application deployed on HoloLens2 to my PC?

I am a beginner in this field. I want to download a file generated by an application deployed on HoloLens2 to my PC. I found this URL1. I tried to execute the source code of this URL1, but I could not figure out how to use the Windows.Storage class.…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,007 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
232 questions
asked 2023-01-17T12:27:15.7733333+00:00
ymd._.ksyR 0 Reputation points
commented 2023-02-01T19:13:20.27+00:00
Rob Van Schooneveld 186 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

[UWP] Payload contains two or more files with the same destination path

Hello, I have a fairly simple app that I would like to publish. When I try to create an app package for x86, x64 and ARM, the process returns 163 errors which all say "Payload contains two or more files with the same destination path" Here are…

Universal Windows Platform (UWP)
asked 2023-01-31T21:12:20.7933333+00:00
Aria Rad 51 Reputation points
commented 2023-02-01T18:57:32.91+00:00
Aria Rad 51 Reputation points
0 answers

Operation aborted (Exception from HRESULT: 0x80004004)

myMediaPlayerElement.MediaPlayer.IsMuted = true; The above code occasionally throws the following exception: System.Exception: Operation aborted (Exception from HRESULT: 0x80004004) Stack Trace: at…

Universal Windows Platform (UWP)
asked 2023-01-19T04:46:36.76+00:00
Hong 711 Reputation points
commented 2023-02-01T09:42:44.7+00:00
Junjie Zhu - MSFT 6,111 Reputation points Microsoft Employee
0 answers

How to play protected content with clear lead and HW DRM (SL3000)

Hello, I am developing media player using C#/UWP. We do utilize PlayReady DRM to play protected content. Our content format is MPEG-DASH with clear lead (meaning that first small part of the video is not encrypted - mostly it's around 10 seconds). The…

Universal Windows Platform (UWP)
asked 2023-01-18T18:52:40.9933333+00:00
Jan Drozd 106 Reputation points
commented 2023-02-01T01:40:28.2133333+00:00
Junjie Zhu - MSFT 6,111 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Listen to two (or more) properties

Hello, I am binding TextBox to UserControl myUserControl.DataContext = myTextBox; myUserControl.Height should be calculated and changed every time when myTextBox.FontSize or myTextBox.FontFamily changes. How to do such behavior. I dont…

Universal Windows Platform (UWP)
asked 2023-01-06T20:44:00.14+00:00
BitSmithy 1,256 Reputation points
accepted 2023-01-31T20:04:49.2833333+00:00
BitSmithy 1,256 Reputation points
0 answers

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…

Universal Windows Platform (UWP)
asked 2022-12-06T12:36:23.19+00:00
Victor Chen 101 Reputation points
commented 2023-01-31T03:03:30.8166667+00:00
Victor Chen 101 Reputation points
1 answer

CastingDevicePicker doesn't find the emulator

I want to stream video to the remote device in UWP C#. I use a MediaElement and CastDevicePicker. I did everything following the article - https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/media-casting. CastDevicePciker doesn't find the…

Universal Windows Platform (UWP)
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,007 questions
asked 2023-01-30T11:48:52.72+00:00
Denys Huska 0 Reputation points
answered 2023-01-31T02:12:21.67+00:00
Roy Li - MSFT 26,556 Reputation points Microsoft Employee
0 answers

Missing AddPackageByAppInstallerOptions.ForceTargetAppRestart flag

why there is no flag such as : AddPackageByAppInstallerOptions.ForceTargetAppRestart and only AddPackageByAppInstallerOptions.ForceTargetAppShutdown ? that is not nice UX. I want to programmatically apply updates but the app should restart automatically…

Universal Windows Platform (UWP)
asked 2023-01-27T11:34:40.87+00:00
Karol W 0 Reputation points
commented 2023-01-30T02:26:59.2366667+00:00
Roy Li - MSFT 26,556 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Is it possible to launch command to execute commands in UWP?

Hi, I want to launch the windows command to execute the specific command with arguments in my UWP app. Is it possible? Thanks, Steven

Universal Windows Platform (UWP)
asked 2023-01-26T09:17:47.82+00:00
Xie Steven 656 Reputation points
accepted 2023-01-30T01:14:47.9966667+00:00
Xie Steven 656 Reputation points
3 answers One of the answers was accepted by the question author.

Unable to add printSupportSettingsUI Extensions for Print Support applications (PSA)

I am getting errors and unable to use windows.printSupportSettingsUI extension is required for the Print support settings UI. I tried the below sample code provided by Microsoft's Print-support-app-design-guide documentation. …

Universal Windows Platform (UWP)
asked 2022-12-19T23:05:33.79+00:00
Amitha K 21 Reputation points
edited a comment 2023-01-27T22:14:30.3333333+00:00
Amitha K 21 Reputation points
0 answers

Does XAML (UWP) Visual Designer in Blend for Visual Studio 2022 work on Windows 10?

I am trying to design a C# Maui UI in XAML. I read that you can use Blend for Visual Studio to visually program XAML code. So, I loaded a new C# Class project in Blend to attempt an XAML visual edit, though the "Design" tab says "Visual…

Universal Windows Platform (UWP)
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
559 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
908 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,440 questions
asked 2023-01-26T20:24:50.2266667+00:00
Eli Blankenship 0 Reputation points
commented 2023-01-27T16:05:16.8666667+00:00
Eli Blankenship 0 Reputation points