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. …
Painting on UWP app
Hi, We are building a UWP app which needs the user to write on top of the content of our app using touch. For e.g it is similar to some teaching app on a big screen, and while teaching he wants to mark on some content etc.. The features related…
When Frame control navigate to other page encounter a crash
Because of UWP application limit too much, I try to use WPF with XAML Island. When I try to navigate to other page, I encounter a crash. May be it's a bug? I upload my project on cloud: https://share.weiyun.com/5cGsibY
UWP Web view get blinks one time after loading
How can we fix web view blink issue? XAML code util:WebViewCustomProperties.HtmlContent="{Binding CourseDescription}" WebViewCustomProperties Class // "HtmlContent" attached property for a WebView public static readonly…
Visual studio 2017: Debugging a UWP app works in debug mode, but not in release mode
Hello, I am developing a UWP application with Visual Studio 2017. When I run this application in Debug - x86 mode, it runs correctly from VS, and also from the start menu. On the other hand, when I run it in Release - x86 mode, sometimes it runs,…
Stream Sockets
Hi, We have two different UWP apps used in our project. From one App to the other we need to send some notification for a particular event. The 2 apps will always be running in 2 devices. App1 will be used by certain set of users in some devices and…
Declared package dependency unavailable: Microsoft.VCLibs.140.00.UWPDesktop, Neutral, Universal,Universal
Hi, I have a wpf app and I have converted it to uwp app using Windows application packaging project from Visual Studio. I am trying to submit appxupload package on store but at last when validation happens I am getting the error like : Declared…
[UWP] Serialize app local settings
I want to be able to take the settings for my app and copy them so that they can be shared by different users on different machines. Is there a way to serialize or some how copy the app settings to a different location?