uwp Questions

3

Solved

Basically, I am having huge difficulty getting a text file to open by my UWP app. I have set the app permissions to be able to access files in 'my documents' and other options of known libraries li...
Agan asked 3/12, 2017 at 18:26

6

I have a method within the code behind of my View (this method does something to my UI). Anyway, I'd like to trigger this method from my ViewModel. How could this be done?
Millennial asked 28/12, 2011 at 16:25

3

Solved

I am working on a Windows 10 UWP app and would like to store some information in Cosmos DB. Following the getting started instructions does not work with Microsoft Azure DocumentDB NuGet package 1....
Blond asked 26/11, 2017 at 12:27

3

Solved

In C# UWP how to make inner shadow effect? Like this: I have created one grid with just a border, but shadow is populating the whole grid. <controls:DropShadowPanel BlurRadius="5" ShadowOp...
Monty asked 29/7, 2017 at 23:11

2

Solved

I have an UWP app (published in Windows/Microsoft Store), and I am working in a new update, and I use Template10 in my app, that has dark and light theme, and in Windows 10 Mobile but for the chang...
Frawley asked 30/10, 2017 at 18:43

2

I am developing a UWP app in C# and I have attached a handler for Unhandled exceptions that sends us the unhandled exceptions so that we can diagnose them). I am receiving a large amount of System...
Zodiac asked 28/7, 2020 at 18:32

3

Solved

We are fixing to re-architect an application and are debating whether or not it is possible to use UWP instead of an ordinary WPF application. Our application needs the ability the access the ent...
Sharpen asked 10/11, 2016 at 20:23

1

I am using the Socket class from UWP to send data via UDP to a specific device. The problem is that after a few send forth and back, my SocketAsyncEventArgs for Sending gets stuck and in SocketEr...
Critchfield asked 3/3, 2017 at 12:41

1

I have been trying to return Task from an async method, it creates a folder on a removable device and saves it for future use in the application. However, I am getting the dreaded WME1039, saying ...
Fourcycle asked 25/6, 2016 at 17:15

3

I have an issue with a UWP app that I am trying to write. I am connecting to a custom embedded USB Bulk device that I have programmed (it is actually an out of the box example from Cypress Semicond...
Septal asked 1/12, 2016 at 2:18

2

Solved

I'm writing a UWP app, and for some reason I'm unable to reference PresentationFramework.dll. It contains some WPF controls I want to use (specifically, System.Windows.Controls.DataGrid, but they a...
Backplate asked 27/12, 2015 at 4:0

2

Solved

I'm creating a UWP app and trying to fill my DataGrid with a DataTable that contains data from my database, but with no success. I have already searched for solutions but just can't get rid of the ...
Fiveandten asked 11/12, 2018 at 18:24

2

This feels like a real rookie mistake. I have a ConsoleApp that I am using as part of a UWP solution (as described in this series of posts). In the ConsoleApp project (not the UWP project) there's...
Keelia asked 9/2, 2019 at 1:15

2

Using syscall in Go how can I call the UWP APIs within Windows 10? I have seen and tried many win32 examples, but when I tried using System.WindowsRuntime.dll it was a no-go; specifically, I receiv...
Wingover asked 23/3, 2017 at 14:29

4

Solved

I am working on a simple UWP project using data template binding in VS 2015. When ever I try to specify the type for the Datatemplate I get an error. XAML: <Page x:Name="RootPage" x:Class="Ada...
Woodchuck asked 5/7, 2016 at 1:41

2

Solved

I need to create a simple log class (just a "save to file" method) in a UWP app for debugging purpose but AppendTextAsync is much different from ofstream and I don't know how to use. This is my cla...
Stephniestepladder asked 9/9, 2016 at 9:44

2

I am trying to dynamically list the USBs connected to the computer that match a certain UsbDeviceClass The information about the class of the USBs I am trying to list in device manager is the follo...
Lumbricoid asked 29/12, 2017 at 13:49

1

Solved

As far as I understand, Windows Runtime is the new infrastructure through which Windows exposes its APIs. My question is simple: how can I use that from pure C code? I don't mind writing more code,...
Plainclothesman asked 21/12, 2020 at 5:19

4

Solved

If you simply set the value of Text property in a TextBlock as "Example   " (Note that there 3 whitespaces at the end of this string),what TextBlock shows in UI is just "Example". A...
Hardison asked 17/9, 2015 at 3:12

2

In a UWP app, I have enabled the User Account Information capability. I need to get the username and the domain name (each of them separately) of the currently logged on user (The users are logged...
Laflam asked 22/3, 2017 at 13:5

2

All versions numbers are shown at the bottom of this question. When I add a new Unit Test (Universal Windows) project to my solution and build it, it builds fine, and the template TestMethod1 show...
Borneo asked 19/3, 2018 at 4:3

4

Solved

I have a UWP app I created and want to use powershell to create a shortcut on the desktop. Creating a shortcut is easy for an exe $TargetFile = "\Path\To\MyProgram.exe" $ShortcutFile = "$env:USER...
Correspondent asked 13/7, 2016 at 18:46

2

When I use WebView2 control in a UWP project with WinUI 3.0 and run the app, the webpage inside WebView2 control is not displayed. Instead, the app displays the following message that takes me to M...
Spiffy asked 12/7, 2020 at 21:1

1

Is there a way to print PDF from UWP application? Other than rendering it as png or BitmapImage. I had look at Microsoft printing sample and pdf rendering sample to achieve printing pdf by renderin...
Titanic asked 27/8, 2018 at 16:51

3

Solved

I'm trying to make a NavigationViewMenu and I need a menu layed out as follows static Home item static Header dynamic elements from DB as items static Header static set of items This is what I ...
Screw asked 24/10, 2017 at 2:59

© 2022 - 2024 — McMap. All rights reserved.