Microsoft Q&A
Universal Windows Platform (UWP)
2,477 questions
A Microsoft platform for building and publishing apps for any Windows device.
Content
how to resize InkCanvas
How can I change the size of the InkCanvas and when zoom is enlarged to another size. private void SetCanvasSize() { inkCanvas.Width = Math.Max(canvasScroll.ViewportWidth, 1000); inkCanvas.Height =…
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…


ESTIMATED TOTAL DUE: USD 55.00
Good day l am getting the error below ESTIMATED TOTAL DUE: USD 55.00 Why am l not getting 100% off. Find the attached Screenshot 2023-02-08 123226.png


UWP App exposes the dll and winmd
Hi, I have an app which has been uploaded to the windows store. The app actually is exposing the DLL which I'm concerned about. As seen there is an EFS method which locks and encrypts the DLL and thus doesn't allow users to relocate(Copy) the DLL. But…
How to resolve "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or invalid issue?
Im trying to run an application developed using VB6. When trying to run the .exe I am getting Run time error code "339" with the "Component "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or…


MVVM Toolkit Sample App source code Package is missing md files in directory folder assets.
MVVM Toolkit Sample App source code Package is missing md files in directory folder assets. when I downloaded this sample source code to compile and run , the IDE told me that it cannot find md files in the folder Assets. And now where can I…


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: …
Hololens 2 create, open, read, write files via coding C#
Hi, To start i would like to say that I,m a really new with this matter, so any help would be wellcome. I'm trying to create a little applicacion for the Hololens 2 where I just want to register the location of some point in a file. So, in the Unity`s…


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…


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) …


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…
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…


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…


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.


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 =…


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.…


[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…
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…


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…


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…