Questions tagged [windows-10-universal]

The Universal Windows Platform is a common platform for all devices running Windows 10. The UWP is separated into device families like PC, Mobile, IoT and many more. The UWP allows you to use common code for all device families.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I have an issue with AudioGraph in Universal Window Platform

I have implemented an application that used AudioGraph in Universal Window Platform. My application need to create 2 instances of AudioGraph Object.First instance AudioGraph work as well but second ...
Vũ Nam Sơn's user avatar
0 votes
0 answers
23 views

UWP Split view opens for one second

I have a uwp app that needs to load a list of videos into a splitview pane. The pane should overlay a (video player)"mediaplayer element". the problem is that the pane when i click open ...
Abu Mmoja's user avatar
0 votes
1 answer
70 views

How to determine if UWP app is running with windows open?

I tried using IPackageDebugSettings.GetPackageExecutionState, but it returns PES_RUNNING despite no app windows being open, and in the Task Manager "Status" column the exe showing "...
LOST's user avatar
  • 2,964
0 votes
1 answer
76 views

Migrate UWP project from VS 2015 to VS 2022 and from windows 8.1 to windows 10

I have a UWP project for win 8.1 in visual studio 2015, I want to make a migration so that I can work in Visual Studio 2022 and upgrade from win 8.1 to win 10, The project in VS 2015 looks like this: ...
gil cohen's user avatar
  • 333
0 votes
1 answer
175 views

How to fix the ApiValidator issue (ApiValidation: Error: XXX.sys has unsupported API call to "ntoskrnl.exe!KeGetCurrentIrql")

I am developing the system driver for Windows 10 and trying to pass the ApiValidator. I can pass the ApiValidator in VS2019 environment. But I can't pass it in HLK environment. I am getting ...
Li Wei's user avatar
  • 1
0 votes
0 answers
25 views

Win10 Chrome Browser, how to disable "Customize Chrome" option

Looking for the best way to lock chrome browser tweaking per user on shared lab computers so each user gets a consistent experience on login. Currently some users will pollute the chrome experience ...
rea's user avatar
  • 1
0 votes
1 answer
59 views

How to get a unique userid in Microsoft Store API

I use the Microsoft Store API (henceforth "API) for enable user for in-app purchases (Addons). For example... public StoreContext storeContext = StoreContext.GetDefault(); GetAppLicenseAsync(); ...
Neha's user avatar
  • 319
0 votes
0 answers
378 views

Windows 10 Kiosk Mode (MultiAppAssignedAccess Provisioning package) won't install

For my Project at work i want to install a provisioning Package, that contains a xml configuration for Kiosk Mode (Assigned Access). I used the exact code from the xml reference page and inserted my ...
Paul Reuther's user avatar
0 votes
1 answer
85 views

How to hide elements and reserve its space in UWP

I'm trying to hide elements in UWP but i can't reserve its space. I've tried to change Visibility but there is no option to set Visibility to Hidden. I can only set Visibility to Visible or Collapsed. ...
Ali Teleb's user avatar
0 votes
0 answers
22 views

UWP - Emailing a confidential document without using persistant storage

I want to attach a file to an email client but the document exists on the device in an encrypted format. However DataTransferManager does support only a list of IEnumerable<IStorageItem>. The ...
SurenSaluka's user avatar
  • 1,544
1 vote
1 answer
107 views

How to change reveal effect color in button in UWP?

In my screenshot above, I would like to change the Gray highlight color in the above image to another color. Would anyone know how to do this? This is a Button control in UWP.
Ali Teleb's user avatar
0 votes
1 answer
102 views

Windows.Universal Javascript PWA app uses Edge legacy instead of Edge Chromium

Wondering what causes my PWA app to use edge 18 engine as runtime when the Edge Chromium is present on my windows machine. Because of this I have to downgrade my Javascript target to es2016 (es6) as I ...
bhantol's user avatar
  • 9,388
0 votes
0 answers
40 views

UWP - How to duplicate PivotItem with his content

I want to create tabs with Pivot, I have WebView2 in the tab which is the important content. I wanted to create new PivotItem and duplicate the WebView2 already present on my first Tab. Here is my ...
v38armageddon's user avatar
1 vote
2 answers
189 views

How to find user clicks on a link inside a PDF page

This is regarding UWP PDFNet Sdk. I need to capture an event when a user clicks on an embedded link in a PDF document. I need to capture the embedded link's data as well. Any help would be appreciated....
SurenSaluka's user avatar
  • 1,544
4 votes
1 answer
8k views

Run powershell script as administrator via batch file with parameter passing

When I run the script, without an administrator, via batch file it passes the parameter, but when I run the script, as an administrator, it does not pass the parameter. I'm trying the command in the ...
Clamarc's user avatar
  • 145
1 vote
2 answers
299 views

Appinstaller issue with side loaded UWP application

I have an UWP application which has been used now for quite some time without any issue on all sort of devices. The .appinstaller and packaging is side loaded and hosted on a blob storage in azure, ...
Thomas KiTe Trentin's user avatar
0 votes
0 answers
148 views

Can I run the net native tool chain after a compilation?

We compile certain UWP application in release|x64 that profit by compiling them with /p:UseDotNetNativeToolchain=true The issue with this is the fact that .net native optimization is slow, very slow. ...
Samuel's user avatar
  • 6,136
0 votes
0 answers
155 views

UWP ease in animation on grid size change

I have the following Ui and clicking on the "Admin login" button will extend the grid by adding another field ("Device owner") below the password field. When this happens the ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
282 views

Execution failed for task ':ofbiz --load-data' while running OfBiz

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':ofbiz --load-data'. Process 'command 'C:\Program Files\Java\jdk-17.0.2\bin\java.exe'' finished with non-zero ...
SAINAVEEN PONNAMANENI's user avatar
0 votes
1 answer
231 views

UWP - Enable Private Network in ADAL Authentication

We are creating a UWP app using Xamarin forms and for Login purposes, ADAL has been used. Authentication has been happening successfully when we are connected to VPN. But when we try to run the same ...
Maverick's user avatar
  • 364
0 votes
1 answer
136 views

How to preserve passwords/appdata locally without roaming even if the app is uninstalled - using Credential manager

In UWP Credential manager is a good place to store sensitive information between application uninstallations and installations. I see that the Credential Manager by default enable roaming between ...
SurenSaluka's user avatar
  • 1,544
1 vote
0 answers
233 views

Workaround for css animations if windows user not enabling animations

I just noticed that no animations from example animated.css is working if the user is using win 10. This is because of that animations is disabled by default in win 10. So I dont think it has anything ...
CAD's user avatar
  • 11
0 votes
1 answer
130 views

Monogame-uwp package can´t be published to the Windows Store because it still targets Windows.Mobile and can´t be enrypted because of that

I´m trying to publish a package (which is build with the normal uwp-template from monogame) to the Windows Store and it shows the following message: The package abcdefg_1.0.8.0_x86_x64_bundle....
harryh100's user avatar
0 votes
1 answer
94 views

OIDCClient "The specified protocol is unknown" exception in UWP when connecting to Azure AD

UWP app connecting to Azure AD via IdentityModel.OidcClient generates an error as below. Exception Message = "The specified protocol is unknown. (Exception from HRESULT: 0x800C000D)" Noting ...
SurenSaluka's user avatar
  • 1,544
0 votes
2 answers
345 views

How prelaunch works?

Looking for some feature that can make my app start up even fast, I found the prelaunch feature in the Microsoft documentation that would help open the app faster. But even if I register the app to ...
Renée Bolivar's user avatar
4 votes
1 answer
124 views

UWP PDFTron pdf viewer next previous button modification

In PDFTron there is a next and previous buttons appear in the document viewer. (UWP app). I have a requirement to place these buttons to the bottom of the screen and also scale it a bit. Does anyone ...
SurenSaluka's user avatar
  • 1,544
2 votes
3 answers
611 views

Localize strings in XAML UI in UWP

I have a resource entry named info_278 in the Resources.resw file on my UWP app. I have 3 scenarios where I need to use this resource but looks like I need to duplicate this to cater to different ...
SurenSaluka's user avatar
  • 1,544
1 vote
1 answer
730 views

IdentityModel.OidcClient migration from 3.1.2 to 4.0 in UWP App

I have recently updated the nuget package of IdentityModel.OidcClient from version 3.1.2 to 4.0. Now I get errors on my existing implementation due to missing properties and couldn't figure how to ...
SurenSaluka's user avatar
  • 1,544
1 vote
0 answers
245 views

UWP API BLE 'just works' pairing method without bonding

I need to pair with BLE device using 'just works' pairing method without bonding. I tried custom pairing PairAsync method with DevicePairingKinds.ConfirmOnly and DevicePairingProtectionLevel....
denny's user avatar
  • 320
0 votes
0 answers
54 views

App Installer stopped displaying German UI for my sideloaded German UWP App

EDIT EDIT: This problem was no longer reproducible after Microsoft rolled out a newer version of App Installer. EDIT: App Installer doesn't provide a German UI for my sideloaded UWP package. The ...
Neil Crossley's user avatar
3 votes
1 answer
239 views

Uploading appx from electron builder to Windows Store giving Invalid package identity name ... (expected: XXXAppName)

I'm trying to upload an appx file generated by electron builder to the windows store. Unfortunately I'm now receiving the following error: Invalid package identity name: Teselagen.OpenVectorEditor (...
tnrich's user avatar
  • 8,056
1 vote
0 answers
59 views

Win10 1607 LTSB - Change Start Menu Layout for Existing Profile (Appx)

We have a bunch of business critical Win 10 tablets (imagine being used by Ambulance drivers when they are out on a call). As part of upgrading the main app used on these devices, I need to run a ...
Aziz's user avatar
  • 283
0 votes
1 answer
461 views

Visual Studio: Error DEP0700: Registration of the app failed. [0x80073D1F]

Getting this error when trying to debug a Windows Universal App. Per MSDN, error 0x80073D1F is ERROR_REGISTRATION_FROM_REMOTE_DRIVE_NOT_SUPPORTED. But in my scenario, I'm not using a remote drive.
Peter Constable's user avatar
0 votes
0 answers
99 views

No installed components were detected. Element is already the child of another element. UWP Error while loading a SearchBox

I am getting this intermittent error while loading a SearchBox and not sure what I am doing wrong here. Project has been migrated from Windows 8.1 app platform to UWP. No installed components were ...
Libin M's user avatar
  • 481
0 votes
1 answer
207 views

Detecting UWP app emulation on Windows 10 on ARM

Let's take ARM64-based PC like Surface Pro X. As of now, we have emulation for x86, x64 and (AFAIK) 32-bit ARM. I have successfully compiled UWP project and bundled it as ...x86_x64_ARM.msixbundle ...
krs's user avatar
  • 543
1 vote
1 answer
97 views

share windows 10 store uwp app with employees of another organization

We recently deployed a windows 10 store uwp app. We can install the app using hotmail/live/outlook sign in and use it. Some of our users are employees of another organization (using windows 10 ...
true cady's user avatar
1 vote
1 answer
80 views

Error while upload packaged applications to Submission in partner.microsoft.com

I have a UWP app and a WPF console app for special SDK (can't work in UWP). Linked these apps with default bridge (aka FullTrust). Then I package them with default package project for Windows apps. ...
Alex Livadny's user avatar
0 votes
0 answers
99 views

Which C++/C# functions are called when an application is killed in Windows 10?

As the title suggest: Which functions of an application are called when it's killed by Windows 10, either by End Task in Task Manager or Terminate it in Settings? Or there's no function called at all ...
Hiep Le Thanh's user avatar
2 votes
0 answers
2k views

How to enable a UWP app open via a hyperlink (Deep-linking)

I have followed this link and implemented "apps for websites using app URI handlers". However, the link only works when it's embedded in another app like Mail app, Microsoft Teams or Skype, ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
412 views

get unique id of the device in windows 10 store app c#

We have a uwp windows 10 store app and its licensed per device. we throw an error when that license is already applied on any device. user may uninstall the app and install it again on the same ...
Full Stack Brain's user avatar
0 votes
1 answer
85 views

Exporting all content of ListView as Png

I'm building an app that contains a kanban board which I would like to export as a PNG image. The board consists of a ListView of the card status' (To-do, doing, etc ) and each one of those is ...
Tofuu's user avatar
  • 45
0 votes
2 answers
553 views

change default install location of windows 10 store uwp app

I have a windows 10 uwp app that runs fine when i have it sideloaded in my computer or any users computer where they have full admin priviliges. i use appxbundle and click on install button to install ...
Full Stack Brain's user avatar
0 votes
1 answer
401 views

UWP CopyAsync of StorageFile is not working in release build, throws exception

I need to copy an icon file in C:// drive due to the first run of my UWP FullTrust Application. Here below is my code, which is working properly in Debug mode but not works in Release mode. var ...
yeasir007's user avatar
  • 2,110
0 votes
1 answer
152 views

Reordering ListView items in UWP messes up the content

I'm using ListViews to make a kanban list in UWP. As the picture below shows, re-ordering items a few times results in the content of one or some of them being wrong. Further re-ordering will have the ...
Tofuu's user avatar
  • 45
0 votes
1 answer
101 views

UWP app temporary stops when screen is off

I have made a very simple Windows 10 UWP app. The only thing it does is printing date and time to a textblock every second. It look like this: 12-05-2021 19:42:50 12-05-2021 19:42:51 12-05-2021 19:42:...
DeeJay's user avatar
  • 5
0 votes
1 answer
479 views

How to get install location of UWP app in C?

In the past I wrote a game using the C programming language. Recently I was exploring the idea of porting it to the Universal Windows Platform, and potentially to the Windows Store. After reading the ...
TomTsagk's user avatar
  • 1,484
0 votes
2 answers
317 views

UWP TextBox resize issue with a long text

I have a chat app developed and have an issue with the Chat TextBox. When I try to paste the following text to that TextBox it resizes instead of wrapping it in the given space. You can see in the ...
SurenSaluka's user avatar
  • 1,544
0 votes
1 answer
98 views

ContentDialog hidden behind soft keyboard UWP

I developed an UWP application that's having a wrong behavior on new version of Windows 10. In my application i have some ContentDialog with some TextBox inside them and when the soft-keyboard is ...
SonicMast3r's user avatar
0 votes
0 answers
152 views

How to listen to webhooks in UWP

I'm working on a UWP desktop app that has a trello integration using my own Api wrapper. I got to the part where I need to have realtime updates when a model changes inside trello ( a board, card etc.....
Tofuu's user avatar
  • 45
3 votes
1 answer
81 views

How to programmatically create a Subscription Add-On on Microsoft Store via API

I need to create some Add-Ons of type "Subscription" for my UWP product in the Microsoft Store. I have seen several API that are used to manage the subscription (e.g. https://learn.microsoft....
Cristiano Ghersi's user avatar

1
2 3 4 5
48