71,741 questions with Windows-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

UWP Web view get blinks one time after loading

How can we fix web view blink issue? XAML code util:WebViewCustomProperties.HtmlContent="{Binding CourseDescription}" WebViewCustomProperties Class // "HtmlContent" attached property for a WebView         public static readonly…

Universal Windows Platform (UWP)
asked 2019-11-22T09:58:32.06+00:00
Nimalika 21 Reputation points
commented 2019-11-25T06:57:10.277+00:00
Nimalika 21 Reputation points
2 answers

Visual studio 2017: Debugging a UWP app works in debug mode, but not in release mode

Hello, I am developing a UWP application with Visual Studio 2017. When I run this application in Debug - x86 mode, it runs correctly from VS, and also from the start menu. On the other hand, when I run it in Release - x86 mode, sometimes it runs,…

Universal Windows Platform (UWP)
asked 2019-11-15T18:16:50.867+00:00
Marcel Delhaye 26 Reputation points
commented 2019-11-21T07:59:20.127+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
2 answers

Stream Sockets

Hi, We have two different UWP apps used in our project. From one App to the other we need to send some notification for a particular event. The 2 apps will always be running in 2 devices. App1 will be used by certain set of users in some devices and…

Universal Windows Platform (UWP)
asked 2019-11-19T08:52:00.937+00:00
Madhu 96 Reputation points
answered 2019-11-19T22:15:23.96+00:00
Xiaodi Yan 876 Reputation points MVP
1 answer

Declared package dependency unavailable: Microsoft.VCLibs.140.00.UWPDesktop, Neutral, Universal,Universal

Hi, I have a wpf app and I have converted it to uwp app using Windows application packaging project from Visual Studio. I am trying to submit appxupload package on store but at last when validation happens I am getting the error like : Declared…

Universal Windows Platform (UWP)
asked 2019-11-14T09:57:29.277+00:00
Akshay Verma 6 Reputation points
commented 2019-11-18T07:37:28.277+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
2 answers

[UWP] Serialize app local settings

I want to be able to take the settings for my app and copy them so that they can be shared by different users on different machines. Is there a way to serialize or some how copy the app settings to a different location?

Universal Windows Platform (UWP)
asked 2019-11-12T16:42:02.05+00:00
Jim Young 1 Reputation point
commented 2019-11-14T01:40:56.47+00:00
Xiaodi Yan 876 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Data binding in UWP

What is the diffrence between binding and x:bind. My xaml code works fine when I change to binding. But I can not share my code, I also try to upload image, it fail as well. How can I share my code?

Universal Windows Platform (UWP)
asked 2019-11-08T08:29:00.797+00:00
Anbie 21 Reputation points
commented 2019-11-08T11:27:54.763+00:00
Anbie 21 Reputation points
1 answer One of the answers was accepted by the question author.

Push notification in UWP after covert

I want to let my console app to use the push notification in UWP, so my team decide to covert our Console app to UWP. The question is how to implement the push notification after convert. Thanks.

Universal Windows Platform (UWP)
asked 2019-11-08T03:57:45.06+00:00
Lucas 41 Reputation points
commented 2019-11-08T08:12:31.28+00:00
Lucas 41 Reputation points
1 answer One of the answers was accepted by the question author.

Covert my app to UWP

I have a console app and I have made some changes to the registry. If I convert to UWP how it can be done and what happen with the registry.

Universal Windows Platform (UWP)
asked 2019-11-08T03:50:00.527+00:00
Lucas 41 Reputation points
accepted 2019-11-08T08:10:52.02+00:00
Lucas 41 Reputation points
3 answers One of the answers was accepted by the question author.

problem with richedittext

private void ComboChanged(object sender, SelectionChangedEventArgs e) { richEbitBox.Document.GetText(TextGetOptions.AdjustCrlf, out string value); var id = sender as ComboBox; switch (id.Tag) { case…

Universal Windows Platform (UWP)
asked 2019-11-07T08:16:10.87+00:00
Eduardo Gomez 3,426 Reputation points
commented 2019-11-08T01:32:46.75+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
0 answers

Can't connect by Device Portal

I have Smartphone Nokia Lumia 635 with Windows 10 Version 1607 build 10.0.14393.2551 PC Windows 10 1903 build 18362.418 Yesterday I was connect without problem but today I can't connect - I see warning about certificate and I'm accepting risk but page…

Universal Windows Platform (UWP)
asked 2019-11-04T20:19:36.14+00:00
MESSIAH 11 Reputation points
commented 2019-11-07T06:04:18.12+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Consuming UWP mail api from WPF Desktop Bridge App

I'm porting my WPF application to UWP, but some APIs are not permitted in the UWP - one of these is classic mail API (MAPI). I've already made some successfull tests about consuming UWP APIs from Desktop Application and hoped the mail api will work…

Universal Windows Platform (UWP)
asked 2019-10-30T06:17:48.137+00:00
Elvis Xia 131 Reputation points Microsoft Employee
commented 2019-11-06T03:46:23.947+00:00
Xie Steven 811 Reputation points
1 answer One of the answers was accepted by the question author.

UWP Performance: Task.Run() vs Background Service

I'm working on a UWP app that is showing videos, images & XAML animations. The content displayed is being updated from time to time by pushing updates from the server to the app through grpc. When updates happen the app will need to download new…

Universal Windows Platform (UWP)
asked 2019-11-04T11:14:01.42+00:00
Thomas Pentenrieder 36 Reputation points MVP
commented 2019-11-05T09:35:17.307+00:00
Thomas Pentenrieder 36 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Detect if user has finished drawing strokes in InkCanvas

I am using VS2017 to develop my UWP app and my APP min target version is 10.14393. Is there any event of InkCanvas I can use to detect whether user has finished drawing strokes or not. I want to enable some button after user has drew strokes. …

Universal Windows Platform (UWP)
asked 2019-10-30T06:37:29.4+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:37.417+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

Switch the ListView Datatemplate from one data template to another data template?

I am developing Universal Windows 10 app, in one of my current project I want to change the ListView Data Template in runtime. Right now I have used only one Data Template, but in my scenario after a button is pressed, I want to change it to another…

Universal Windows Platform (UWP)
asked 2019-10-30T06:35:18.337+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:32.247+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

How to check if an add-on has purchased that use StoreContext class

I have defined a durable AddOn, and when I used RequestPurchaseAsync() method to check if an add-on has purchased or not, it always shows UI which will be annoying to the user. In the previous version I used:…

Universal Windows Platform (UWP)
asked 2019-10-30T06:32:31.537+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:14:12.063+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

Share a large file between two UWP apps using Stream Sockets

I need to share a large file between two UWP apps which are running in two different machines using stream sockets. In order to share the file successfully, I have to share file size before sharing the actual file. So I had to set a separate event in…

Universal Windows Platform (UWP)
asked 2019-10-30T06:27:51.737+00:00
Fei Xue - MSFT 1,111 Reputation points
accepted 2019-10-31T02:13:55.107+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

[C++/WinRT] How to use SpeechSynthesizer in UWP

I would like to implement the text to speech feature in my app. I see there are docs on how to do this here: https://learn.microsoft.com/en-us/uwp/api/windows.media.speechsynthesis.speechsynthesizer . However the example does not compile on a modern…

Universal Windows Platform (UWP)
asked 2019-10-30T06:45:54.467+00:00
Elvis Xia 131 Reputation points Microsoft Employee
accepted 2019-10-31T01:34:45.427+00:00
Elvis Xia 131 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Setting Textbox.Text from BluetoothLEAdvertisementWatcher's received event throws an exception

I am creating a Bluetooth LE application in C# using a UWP project and have subscribed to get the Received event from the BluetoothLEAdvertisementWatcher. I can see the data correctly using Debug.Writeline to the Output window, but as soon as I try…

Universal Windows Platform (UWP)
asked 2019-10-30T06:39:53.99+00:00
fangfang wu 91 Reputation points Microsoft Employee
accepted 2019-10-31T01:30:09.63+00:00
fangfang wu 91 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Localization issues when using App Bundle in UWP

I’m having issues with Localization in my UWP applications. I can reproduce this issue using Microsoft Localization sample. The following is what I have done to reproduce this issue: Step1: I open the project in Visual Studio. I test it…

Universal Windows Platform (UWP)
asked 2019-10-30T06:16:16.72+00:00
fangfang wu 91 Reputation points Microsoft Employee
accepted 2019-10-31T01:29:24.623+00:00
fangfang wu 91 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to write and read multiple types of data using Data Writer and Data Reader

I need to write a file length, file data and its type as a string value to the stream. I’m using the following code with Data Writer. writer = new DataWriter(socket.OutputStream); // if we have a StorageFile named file using (var…

Universal Windows Platform (UWP)
asked 2019-10-30T06:58:34.097+00:00
fangfang wu 91 Reputation points Microsoft Employee
accepted 2019-10-31T01:28:01.777+00:00
fangfang wu 91 Reputation points Microsoft Employee