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

Sort by: Updated
1 answer

Access 2013 and UWP apps

Source link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/e6b0aa50-0f53-4528-9820-640fb02f2601/access-2013-and-uwp-apps?forum=wpdevelop ---------- Is it even possible to read data with a UWP app written with Visual Studio 2019 (C#)…

Universal Windows Platform (UWP)
asked 2019-12-12T09:35:28.953+00:00
Fay Wang - MSFT 5,196 Reputation points
answered 2019-12-12T09:36:48.093+00:00
Fay Wang - MSFT 5,196 Reputation points
1 answer

UWP - Printing multiple pages

Source link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/6145a17f-79f2-4777-9229-05ee623212ff/uwp-printing-multiple-pages?forum=wpdevelop How can I find an easy to understand sample for printing multiple pages on UWP, say printing 2…

Universal Windows Platform (UWP)
asked 2019-12-12T09:11:25.523+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
answered 2019-12-12T09:18:40.387+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
1 answer

Grid.Row inside of a ScrollViewer isn't Resizing Properly

Source Link: MSDN --- I have a grid inside of a scrollviewer with 4 rows. Each row has a height of * (1/4 of the scrollviewer's height) and contains a listview that is supposed to automatically resize with the row. When I increase the height of…

Universal Windows Platform (UWP)
asked 2019-12-12T09:05:13.457+00:00
Richard Zhang-MSFT 6,936 Reputation points
answered 2019-12-12T09:09:47.137+00:00
Richard Zhang-MSFT 6,936 Reputation points
0 answers

[UWP] Using GetThumbnailAsync() sometimes will not preserve a gif transparency on its thumbnail

Source link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/fead741b-6da6-4d72-8f5e-b33099829da5/uwp-using-getthumbnailasync-sometimes-will-not-preserve-a-gif-transparency-on-its-thumbnail?forum=wpdevelop ---------- I'm developing an…

Universal Windows Platform (UWP)
asked 2019-12-12T08:44:48.373+00:00
Fay Wang - MSFT 5,196 Reputation points
commented 2019-12-12T08:45:39.89+00:00
Fay Wang - MSFT 5,196 Reputation points
1 answer

[UWP][VB]Limiting Stream Size For MediaCapture

Source Link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2aa719db-7aa2-4b2f-bc39-b8fca5fda397/uwpvblimiting-stream-size-for-mediacapture?forum=wpdevelop I have a MediaCapture from which I want to capture a stream, as follows: Await…

Universal Windows Platform (UWP)
asked 2019-12-12T08:29:43.047+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
answered 2019-12-12T08:33:19.143+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
1 answer

Can't connect UWP app to MongoDB

I'm developing a UWP app using C# and the MongoDB connection works perfectly in the development computer. When I tried to export and install it in a different desktop it did not work. I have some peculiarities on the target computer: no internet and…

Universal Windows Platform (UWP)
asked 2019-12-12T08:17:16.487+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
answered 2019-12-12T08:18:45.053+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
3 answers

How to fetch a string resource in a class library

Hi all, I'm working on a class library which contains several .resw resource files and pages. The question is, how to fetch the string for UI component properties. For example, I have a class library called "lib", which has a resource…

Universal Windows Platform (UWP)
asked 2019-12-10T12:11:50.953+00:00
Alex 6 Reputation points
commented 2019-12-11T21:04:40.757+00:00
Xiaodi Yan 876 Reputation points MVP
1 answer One of the answers was accepted by the question author.

[UWP][C++] winrt How to copy file from assets folder to local folder.

I want to copy a file from the Assets folder to the local folder. For this example lets use the LockScreenLogo.scale-200.png file as it commes with the default template. The docs give an example of file access here,…

Universal Windows Platform (UWP)
asked 2019-12-10T19:23:54.137+00:00
Kai 81 Reputation points
accepted 2019-12-11T14:26:40.523+00:00
Kai 81 Reputation points
1 answer

How to switch from Trial to In App Purchases in UWP?

My app has currently only Trial and Full License. I want to remove having trial and make the app free but handle full license features with in app purchases and as well having some other in app purchases. That means I created an in app purchase called…

Universal Windows Platform (UWP)
asked 2019-11-18T12:09:12.19+00:00
Global Delight 1 Reputation point
commented 2019-12-11T08:55:55.88+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
1 answer

Dispose Stream socket listener in UWP

I have implemented two apps to run as server and client using stream sockets. It shares files from server app to multiple client apps when user is clicked on sharing option in Server app. I need to close sockets and socket listener when each operation is…

Universal Windows Platform (UWP)
asked 2019-12-09T07:00:09.217+00:00
Subazzz 1 Reputation point
commented 2019-12-11T07:34:20.043+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
2 answers One of the answers was accepted by the question author.

Binding data calculated from DependencyProperty value

Hi all, I am attempting to create a custom Templated Control in at UWP app that automatically generates binding data for its child controls based on a provided DependencyProperty specified in the XAML. For example, imagine I have a Templated…

Universal Windows Platform (UWP)
asked 2019-12-10T04:41:08.26+00:00
Thomas Lu 21 Reputation points
answered 2019-12-10T20:35:08.707+00:00
Thomas Lu 21 Reputation points
4 answers

Desktop-Bridge app: Remove from Task Scheduler when uninstalled

I have a UWP - Desktop Bridge app (published on the Windows Store) which I want to extend with the possibility to run the win32 process through the Windows Task Scheduler (at a configurable time). To add and modifying an entry in the task scheduler I…

Universal Windows Platform (UWP)
asked 2019-12-09T09:50:37.507+00:00
Jos Huybrighs 336 Reputation points
answered 2019-12-10T20:01:03.427+00:00
Jos Huybrighs 336 Reputation points
1 answer

Targeted Offers page doesn't show anything to create new offer.

Universal Windows Platform (UWP)
asked 2019-11-29T05:39:04.377+00:00
Global Delight 1 Reputation point
commented 2019-12-09T05:52:06.74+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
1 answer

The problem Recognition shape with ToggleSwitch

Hi: the problem with ToggleSwitch, when I activate the ToggleSwitch does not do shape recognition but when I put it off it does shape recognitionlink text private async void RecoShape_Toggled(object sender, RoutedEventArgs e) { var…

Universal Windows Platform (UWP)
asked 2019-11-29T15:25:16.03+00:00
Javier R 211 Reputation points
commented 2019-12-09T03:06:59.367+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

await codecQuery.FindAllAsync(CodecKind.Audio, CodecCategory.Decoder, ""); causes Win32 Exception

await codecQuery.FindAllAsync(CodecKind.Audio, CodecCategory.Decoder, ""); Causes a Win32 Exception every time for me. All other CodecKind and CodecCategory combinations work fine. repo: …

Universal Windows Platform (UWP)
asked 2019-11-29T23:45:10.393+00:00
Groovykool 236 Reputation points
accepted 2019-12-07T07:18:42.24+00:00
Groovykool 236 Reputation points
1 answer

UWP XAML is throwing an unhandled exception when a collection is empty

I have two ObservableCollection and its bonded with two different ListView UI. ObservableCollection deptList = new ObservableCollection(); ObservableCollection teacherList = new ObservableCollection(); User can add or remove items from the…

Universal Windows Platform (UWP)
asked 2019-12-06T06:31:54.917+00:00
Mahmudul Hasan 1 Reputation point
answered 2019-12-06T07:10:39.55+00:00
Xiaodi Yan 876 Reputation points MVP
2 answers One of the answers was accepted by the question author.

[UWP][C#] Font size in UI controls - datagrid and listbox

How can I change the font size of the header column of the datagrid? Microsoft.Toolkit.Uwp.UI.Controls.DataGrid I also find that I cannot change the font size of the contents of a listbox either. I need to do both in code...not xaml. Thanks, Paula

Universal Windows Platform (UWP)
asked 2019-12-03T13:08:05.27+00:00
Paula Morgan 276 Reputation points
accepted 2019-12-05T23:17:17.293+00:00
Paula Morgan 276 Reputation points
1 answer

Data reader LoadAsync() throws "System.InvalidOperationException: A method was called at an unexpected time"

I have created two UWP apps to share files from server app to client app using Stream Sockets. In server app, it will add new data to the database and create StreamSocketListener to listen incoming connection to a button click. In client app, it is…

Universal Windows Platform (UWP)
asked 2019-12-04T06:44:04.57+00:00
Subazzz 1 Reputation point
commented 2019-12-04T10:12:46.107+00:00
Subazzz 1 Reputation point
2 answers One of the answers was accepted by the question author.

[uwp][c#] is there a way to load a bitmap, NOT on the main thread?

I have a .png file, and want to load it as a WriteableBitmap. However, if I don't do this on the main thread, I get an exception. var file = ...path_to_some_png_file...; Task.Run(async () => { using (var stream = new…

Universal Windows Platform (UWP)
asked 2019-12-02T20:48:23.267+00:00
John Torjo 861 Reputation points
commented 2019-12-04T01:40:59.443+00:00
Richard Zhang-MSFT 6,936 Reputation points
2 answers

I love UWP Platform

Hi, this is original message from App Certification Kit Name: ……. App ID: 9N43VPZH82F7 Publisher name: …… Test ID: fa473b92-6984-4e38-b8bf-ab3671f5804e Review completed: 11/29/2019 01:48PM Hello, Thank you for…

Universal Windows Platform (UWP)
asked 2019-11-30T10:57:35.243+00:00
Gianfranco Percopo 16 Reputation points
commented 2019-12-03T02:21:53.177+00:00
Roy Li - MSFT 31,826 Reputation points Microsoft Vendor