Multiple Instances of App
Hi UWP experts, So i have enabled multiple instances of my app through the package manifest desktop4:SupportsMultipleInstances="true" and it works perfectly fine when the app is selected from the windows start menu and opens up multiple…
Loading data and splash screen time
Hello, I am loading data to the app using such code now: private async void Page_Loaded(object sender, RoutedEventArgs e) { await CreateDataBaseIfNotExists(); //creates database if it doesn't already exists. await LoadData(); //loads data to…
We have a query regarding UWP as outlined
We have a client query regarding UWP as outlined below: Utilize the UWP API to expose Geolocation functions for use within Java through JNI. Prepare a resulting DLL and a JNI wrapper to be used in a Java application. Our team encountered a set of…
GridView - item remove from source collation not shown on Windows 11
I am using GridView to implement list of games with cover arts. All grid items are binded to ObservableCollection by ItemsSource="{x:Bind StoreInfo.GameInfos}" I added an option to update the game cover art. To show updated item in live I…
GridView - no frame at item selection on Windows 11
I am using GridView control in my UWP app. The grid shows games cover arts gallery. On Windows 10 i see the grid item gets a frame at item selection, but on Windows 11 no frame appears. How to make it working the same way like on Windows 10?
Custom themes and dynamic UI styles for UWP app
Hello UWP experts , We have 6 resource dictionaries having different themes , particulary app background, button colors etc... And initially from the application resources it loads the default one if user didn't select any other theme.…
How do I get the campaign ID in a UWP app?
Hi Microsoft Team, In our app, we are fetching the campaign ID using the code provided by Microsoft, and we are getting a result like this: CampaignId : storeBingAd_ec6594e9b0f2191046fbf10f55fb0122 The ExtendedJsonData looks like this: { …
using readAllBytes throws "file not accessible error"
I trying to read an encrypted file using the following: and getting access not allowed error. // would prefer to use the following instead of picker" // AuthFile = @"C:\vbscripts\pid.txt"; // if…
c# UWP resource directory DataTemplate with x:DataType not working
HI, using VS2022 UWP c# I am trying to put a DataTemplate into a ResourceDictionary using a x:DataType I get a compile error Severity Code Description Project File Line Suppression State Error The XAML Binary Format (XBF) generator reported syntax…
Uninstalling optional package also uninstalls main app
I'm testing the usage of the optional package using this UWP sample. With this sample I just deploy the main app and it's optional package. In the Windows "Settings/Apps/Installed apps" I see the optional package and I uninstall it, and the…
Secure Storage of Data in a WinUI Application
How can I securely store data in Windows App SDK when other applications can access it? DPAPI doesn't offer sufficient protection and adding entropy is not enough. Where can I store the entropy? Can someone explain the mechanism for secure data storage…
UWP Windows.System.Launcher.LaunchUriAsync is not opening correctly in browser when the URI supports opening the link in other uwp app and browser.
Hi I'm using Windows.System.Launcher.LaunchUriAsync to open a URI, I'm prompted with a dialogue when the URI can be opened in other uwp app and browser. If chosen browser, it opens the local path - AppData/Local/Microsoft/Windows/INetCache instead of…
UWP DataGrid Scrollbar Issue: Unable to Scroll Using Touch on Touch Screen Devices
I'm developing a UWP app and I'm utilizing the DataGrid control from Microsoft.Toolkit.Uwp.UI.Controls to display data. While I can scroll using the mouse using both the scrollbar and its buttons, on a touch screen device, I can only scroll via finger…
In a UWP application using WebView2, the CoreWebView2 method returns null after changing the region at runtime in C#
The CoreWebView2 method works fine the first time, but after changing the app region, the CoreWebView2 method returns null after initialization. Please help to fix this issue. Code: XAML <muxc:WebView2 x:Name="PDFViewer"…
UWP How to cancel a file search
I have a code to search for files in a user's selected folder, the file search takes some time and I need to be able to cancel it if the user changes the folder QueryOptions options = new QueryOptions(CommonFileQuery.OrderByName, filesExtensions) {…
How to resolve "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or invalid issue?
Im trying to run an application developed using VB6. When trying to run the .exe I am getting Run time error code "339" with the "Component "MSFLXGRD.OCX" or one of its dependencies not correctly registered a file is missing or…
Wi-Fi 2.4Ghz interference, when BlueTooth is working
Hello, I want to know, if there's any way to make bluetooth not interfere with Wi-Fi of 2.4 Ghz frequency, when using Windows.Media.Casting CastingDevicePicker in UWP application via C# Code? P.S. Without changing frequency to 5Ghz on Wi-Fi
ProgressRing is not visible on Windows 11 inside the ContentDialog
In my UWP app I have a ContentDialog where I show ProgressRing while loading data. On Windows 10 the ProgressRing shown as expected but on Windows 11 the ProgressRing is not shown. Any way to make it working?
What are the steps to create an exe from UWP WinRT code that will not be added to the Windows Store
I did this once, but I having difficulty remembering or finding the web page that gives the steps on how to perform this. Could someone help me. I remember that I had to create a certificate to do this, but beyond that, I don't remember much. Thanks for…
How to convert an IOutputStream object to an ISequentialStream?
I want to convert an IOutputStream object to an ISequentialStream, the following is my sample code: ComPtr<ISequentialStream> ConvertOutputStreamToSequentialStream(_In_ IOutputStream^ outputStream) { ComPtr<ISequentialStream>…