55,903 questions with Developer technologies-related tags

Sort by: Updated
2 answers

Consume C++ library methods in UWP

I have c++ library (.dll) which is exposing few methods, i want to consume those methods in UWP application. The methods will call frequently from UWP application. Can you please provide the solution on this.

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-05T21:07:19.48+00:00
Pariventhan Swaminathan 6 Reputation points
answered 2020-02-03T22:55:42.553+00:00
James Dailey - MSFT 336 Reputation points Microsoft Employee
1 answer

How do I make sure a file is closed before attempting to read to it? (UWP)

I have a UWP app where a method is invoked that reads and writes the necessary data. It is reads when the page loads or the program opens, and writes data when the page unloads and the app closes. It looks like this: async void WriteAndRead(bool…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-27T22:29:58.87+00:00
Logan Stach 41 Reputation points
commented 2020-02-03T05:27:36.567+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
2 answers One of the answers was accepted by the question author.

Is UWP the Right Development Tool for My Project?

I want to create an app for Window Store, but I fear that UWP is not the right development tool. My project targets the Windows desktop only, and my project will rename directores and files, and it will replace text in files. After doing some…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-14T17:22:34.523+00:00
R Evans 211 Reputation points
commented 2020-02-03T00:33:36.283+00:00
Lex Li 6,042 Reputation points
1 answer

How to detect point behind background app?

According " Handle pointer input " , there is a "PointerRoutedEventArgs e" can get a point object. PointerPoint ptrPt = e.GetCurrentPoint(Target); …

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-31T10:28:28.407+00:00
Liang Chun Lin 1 Reputation point
answered 2020-02-03T00:18:40.203+00:00
Richard Zhang-MSFT 6,936 Reputation points Microsoft Employee Moderator
0 answers

UWP C#: How to make a framework element to full window mode

I am writing a uwp app that has multiple frameworkEelements. When a button is clicked, I want one of the FrameworkElement(In my app it is a usercontrol) to be in full window. I don't want a new window to be launched. (Similar to the behavior of media…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-17T16:53:07.87+00:00
karthik vr 31 Reputation points
commented 2020-01-30T09:43:46.697+00:00
Karthik Raman 1 Reputation point
0 answers

create container for app

Hi How can I create a simple container for an App created in 2013 or 2014 with VS ?

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-29T20:59:58.713+00:00
Rui app 1 Reputation point
commented 2020-01-30T05:51:10.3+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
0 answers

How to access to the resource dictionary

Hi It's a uwp project i try to access to the resource dictionary . I open the solution explorer but i don't see the resource folder Thanks

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-29T17:36:59.72+00:00
Shay Wilner 1,746 Reputation points
commented 2020-01-30T03:45:04.737+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
1 answer

Preventing listview from scrolling back to the top when removing item

I have this listview which displays a large number of items. The UI also allows me to remove any item from the listview. I scroll around the middle of the listview, and I remove an item. When that happens, the listview scrolls back to the top. I want to…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T17:16:30.033+00:00
mcosmin222 1 Reputation point
answered 2020-01-29T07:27:26.83+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
0 answers

App manifest validation error after adding Windows.Networking.Sockets.WebSocketKeepAlive as backgroundTask entrypoint

I followed the sample here: https://learn.microsoft.com/en-us/windows/uwp/networking/network-communications-in-the-background, and tried to implement an out-of-process background task with websocket. However, after I added…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T16:00:26.333+00:00
Anonymous
commented 2020-01-29T07:12:34.453+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
0 answers

Passing Current Control to IValueConverter

I have an ItemsControl, and in several of the Binding(s) in the DataTemplate I use an IValueConverter. In several of these IValueConverter(s) I need to access the control in which I am doing the Binding (for example, if I am binding the Tag property, I…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T15:40:24.177+00:00
Nathan Sokalski 4,111 Reputation points
commented 2020-01-29T02:28:48.637+00:00
Fay Wang - MSFT 5,231 Reputation points
1 answer One of the answers was accepted by the question author.

How to set a global InkToolbar for multiple InkCanvas controls in a ListView?

So I have a ListView which is a vertical list of InkCanvas controls. I know that InkToolbar allows you to set a TargetInkCanvas object to easily provide a control to change the properties of the canvas. However, I don't want to bind to as single…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-25T22:06:37.943+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-29T00:08:09.097+00:00
Daljit Singh 261 Reputation points
1 answer

x64 / x86 Combined Build with DLLs in UWP app

Hi, My team currently ship a UWP app in the store for x64 only. We're trying to get a combined x86 and x64 build available. The app makes use of DLLs that have both x86 and x64 versions. Our builds originally were: x64 Build: Package…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-28T11:28:43.75+00:00
Ross Chisholm 1 Reputation point
answered 2020-01-28T12:10:37.457+00:00
mcosmin222 1 Reputation point
0 answers

UWP Stream socket connection issue

Hi, We have created 2 UWP apps as a Server app and a Client app to be used in a classroom. There can be 30-40 students who has a device with Client app per student. Teacher uses Server app to teach students. There is a feature, when teacher…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-24T15:36:30.143+00:00
Madhu 96 Reputation points
commented 2020-01-27T07:02:46.653+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
1 answer

DateTimeFormatter is super slow

Why is UWP's DateTimeFormatter so slow at formatting times to strings? DateTimeFormatter.ShortTime.Format(time) If you try formatting 1,440 different times in a loop, that loop takes 2.5 seconds to complete. If you just use…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-25T00:16:12.877+00:00
Andrew Leader 1 Reputation point
answered 2020-01-27T02:12:04.72+00:00
Fay Wang - MSFT 5,231 Reputation points
2 answers One of the answers was accepted by the question author.

How to bind properties in a ListView?

Ok so I am a bit confused the way model-view dynamics work in UWP. Coming from Qt, things seemed a bit complicated. In my project, what I have done is the following: I have create a custom control (the delegate for my view) called CanvasPage, in…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-23T13:44:53.84+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-26T21:30:30.59+00:00
Daljit Singh 261 Reputation points
1 answer One of the answers was accepted by the question author.

How to read from TextBox LineByLine

I have a TextBox with AcceptsReturn="True" Now I want to read from it line by line I tried code: string[] modelLines; modelLines = ModelTextBox.Text.Split('\n'); But it doesnt work, how to read from TextBox…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-22T12:51:36.44+00:00
BitSmithy 2,231 Reputation points
accepted 2020-01-24T15:17:39.173+00:00
BitSmithy 2,231 Reputation points
1 answer One of the answers was accepted by the question author.

CanvasRenderTarget poor rendering quality when drawing ink

I have a ScrollViewer which contains a CanvasVirtualControl. My app does the following: Use an InkCanvas to draw wet ink Custom dry the ink and render it offscreen on a CanvasRenderTarget Then draw the appropriate portion the target onto…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-20T12:14:16.287+00:00
Daljit Singh 261 Reputation points
accepted 2020-01-22T17:11:45.28+00:00
Daljit Singh 261 Reputation points
1 answer One of the answers was accepted by the question author.

UWP. UI tasks does not running when application is hidden.

auto workItemHandler = ref new WorkItemHandler( [this]( IAsyncAction^ action ) { while ( action->Status == AsyncStatus::Started ) { WaitForSingleObjectEx( GetCurrentThread(), 1, FALSE…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-13T13:02:15.293+00:00
Andrew Gagua 21 Reputation points
commented 2020-01-21T08:20:26.377+00:00
Andrew Gagua 21 Reputation points
1 answer

System.Threading namespace is not working/appearing

I am developing a novice level test xamarin test project since I am new to this technology. I need to add a static variable of type Timer using the System.Threading namespace as follows, private static Timer timer; But, it doesn't seem to work. I…

Developer technologies | Universal Windows Platform (UWP)
asked 2020-01-20T10:57:52.813+00:00
Munem Maruf 1 Reputation point
answered 2020-01-21T06:47:04.813+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

Windows store app - How to avoid App Hang when app is doing a Server communication process for long time?

Hi, I am having a widows store app running in Windows 8.1. In that, I am doing some server communication. the process step is as below Before starting server communication, i show a loading screen by showing a UI with Progress ring in a popup. …

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-12T12:22:23.487+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points
accepted 2020-01-20T06:59:25.153+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,871 Reputation points