[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,…
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…
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…
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…
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…
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…
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: …
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…
[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
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…
[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…
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…
[UWP][cpp] c++ winrt uwp show loading during long operations.
given a ProgressRing in the xaml such as, ProgressRing x:Name="MyLoadingRing" What is the recommended way to set this value to true, update the UI and then do a long running operation. For example a sqlite query. I've tried …
Unhandled Exception: System.TypeLoadException Working with UWP in Xamarin.Forms
Here is my error. Things I've done: Clean solution Restart IDE Build solution Close IDE Delete obj & bin folders Restart IDE .... ... Unfortunately, these methods did not work at all. Only UWP Local Machine could…
[UWP][C#] How to check updates of a side-loaded app in code?
One can set up auto-updates for a side-loaded UWP app . This means the update checking function is already there. How can this update checking function be called in code? I do not plan to use auto-updates and would like to have a button for users to…
UWP - Switch Usercontrol depending on Property
i'm trying to implement an Widget, that consists of two UserControls. So basic idea to have ViewModel for Page, and switch usercontrol depending on the Property: public class SearchViewModel : Observable { private…
UWP Windows Cert Kit
Greeting, Trying to certify my UWP app. Runs fine on PC and tablet. Creates package. All tests pass except 2 "stupid" ones: 1) Image reference "logo.png": The image "logo.png" failed the size restrictions of 50 X 50. Of…
Can Routes list be modified when Vpn is already connected using VpnNativeProfile?
Hi, This question is regarding , VPN Client (UWP App) development for Windows - 10S. I am trying to implement split tunneling and using VpnNativeProfile(Windows.networking.vpn). I want to modify the Routes list when the VPN is already connected. …
UWP - Webview with borders
Hi, In our UWP app, we show data using web views. We have added a border around the web view. Now when the data loads, we see the empty borders before the text loads. Please check this. Can you please let us know how to solve this issue. …