windows-10-universal

Error: DEP0001, HRESULT: 0x80073CF9 when deploying UWP app to Phone

孤人 提交于 2019-12-14 04:16:59
问题 Despite the alike existing threads here on SO, my problem is somehow different, I have an application that I made, I deploy it, works fine. I copy the same application solution, make some changes on it to create an other application that have almost the same logic as the first one (can't re-code everything from scratch), deploy it, and I receive this : Severity Code Description Project File Line Suppression State Error Error : DEP0001 : Unexpected Error: Install failed. Please contact your

How to create custom wpr profile in windows 10 universal apps

浪尽此生 提交于 2019-12-14 04:01:56
问题 I need to create a file logging mode in windows 10. In order to do this, I need to create a custom profile in windows 10 universal apps so that I may change default logging mode from Memory to File and also change buffer settings. Please help. 回答1: Microsoft provides a demo WPR Profile in " C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\SampleWPRControlProfiles.wprp " It shows how to configure to log to file ( LoggingMode="File" ) <Profile Description="Sample profile: File

UWP SerialDevice.FromIdAsync throws “Element not found” (Exception from HRESULT: 0x80070490) on Windows 10

心不动则不痛 提交于 2019-12-14 03:51:43
问题 I want to open serial port on an attached Bluetooth device in a Xamarin Forms application. Here is the code (I simplified it in order to illustrate the problem): string l_gdsSelector = SerialDevice.GetDeviceSelector(); var l_ardiDevices = await DeviceInformation.FindAllAsync(l_gdsSelector); foreach(DeviceInformation l_diCurrent in l_ardiDevices) { if(l_diCurrent.Name.StartsWith("PX05")) { m_sdDevice = await SerialDevice.FromIdAsync(l_diCurrent.Id); break; } } This code throws "Element not

Get distance of MapControl border in degrees

為{幸葍}努か 提交于 2019-12-14 02:47:12
问题 I have a MapControl and would like to know how many degrees are currently shown on the x and y axes. First example: 360 degrees are shown on the x axis (longitude) ~90 degrees are shown on the y axis (latitude) (The zoom level is 3.2 and it's max zoomed out) Second example: ~220 degrees on the x axis (longitude) 180 degrees on the y axis (latitude) (zoom level: 1.7; max zoomed out) I tried calculating the current degrees on the x axis using following code: double dist = 360 * Math.Pow(0.5,

UWP - PivotItem mouse over change color

徘徊边缘 提交于 2019-12-14 02:36:34
问题 I want to change the Forground color of a PivotItem Header when Mouse is Over with UWP,I work with windows 10 I tried this code: <Page.Resources> <SolidColorBrush x:Key="mouseOverColor" Color="Red" /> </Page.Resources> <Pivot HeaderTemplate="{StaticResource HeaderTemp}" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="10,0,10,0"> <VisualStateManager.VisualStateGroups> <VisualStateGroup> <VisualState x:Name="Narrow"> <VisualState.StateTriggers> <AdaptiveTrigger MinWindowWidth="0" /

How to open TabTip keyboard in a UWP app in desktop mode on button click

情到浓时终转凉″ 提交于 2019-12-14 00:46:13
问题 I am currently working in a UWP application. I have a situation where I need to open the taptip keyboard. The device needs to be in desktop mode and the keyboard should open on a button click. Is there any way I can achieve this functionality? I know it works fine in tablet mode when a text box gets focus but I need to get it done in desktop mode and on a button click. I know it can be done from a console application using System.Diagnostics.Process but I need a way around for uwp app. 回答1:

template 10: declaring a new button in hamburger navigation and navigating to its page

你。 提交于 2019-12-13 19:31:39
问题 I am kind of beginner in UWP Platform and I am building an app using template 10. I have used GridView for a particular page, but the problem is that the GridView shows its borders when you hover over it or select its item. Like this: I want the border not to show up whenever the user hovers over it or selects a GridView item. My XAML Code is: <Page x:Class="Sample.Views.Category" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx

Reading and Writing to Excel sheet in C# UWP Windows 10 App

折月煮酒 提交于 2019-12-13 17:22:22
问题 I am working on a project for Windows 10 UWP App. I have below two problems 1. I have to upload excel sheet containing the data, and store that data into Sq-lite Database. 2. Also I have to read data from database table, and write to excel sheet in rows and column format. I have searched a lot but could not find any library or helping blog . I would be thankful for any complete guide or sample code. Thanks!! 回答1: I would suggest you use Syncfusion Essential XlsIO. It does the work for your

Query multiple tables SQLite Windows 10 UWP

坚强是说给别人听的谎言 提交于 2019-12-13 16:38:32
问题 I am developing a Windows 10 UWP app with a SQLite database. I need to retrieve data from multiple tables. I already have the following code to get data from a single table, but a custom object with the exact same amount and names of the columns of the table in question is needed. public ObservableCollection<Employee> GetEmployees() { using (var dbConn = new SQLiteConnection(new SQLite.Net.Platform.WinRT.SQLitePlatformWinRT(), App.DB_PATH)) { List<Employee> myCollection = dbConn.Table

Symbols for “ntdll.dll” could not be downloaded from Microsoft Symbol Servers

走远了吗. 提交于 2019-12-13 14:22:43
问题 I am trying to port my Windows Phone 8 app to Windows 10. I am able to build my app. When I try to deploy my app in Release x86 on a Mobile emulator, it fails & gives the following msg: Symbols for ntdll.dll could not be downloaded from Microsoft Symbol Servers. Exception string and call stacks may not work correctly. Make sure you have network connection and try again Even though I am trying to run my app in Release mode, I am not sure why VS-2015 is tyring to download these debugging