Solve Transparent/Black background BMP image file generate via C# code
I create to design membership card with data(memebership ID, member photo, Firstname,lastnema, expire dateand level) via using CanvasDevice to draw all text with position declaration. after i generate to save (BMP) image to local storage, the stored…
How organize UWP image resources based on theme
According to this article (https://learn.microsoft.com/en-us/windows/uwp/app-resources/images-tailored-for-scale-theme-contrast), I organized images like below in my…
how to send data to the pre-printed template card in Evolis card printer
I generate BMP image file to send the Evolis card printer with transparent/no background settings only I send Memeber ID, Name, Expire date,member photo, for pre-printed template card on feeder, but my result is set black shade on back of the data to be…
My Own Developed UWP App Crashes on Launch while Microsoft Store Tested for Me but Works Fine Locally
Hello, I’m experiencing an issue with my developed UWP application. The application works perfectly on my local machines, but it crashes on launch during Microsoft Store’s certification testing. Here are the details: Local Environment: The first…
Dropped file/folder is readonly
I want to enable user drag & drop folders onto a listbox based on this example (https://www.c-sharpcorner.com/UploadFile/6d1860/implementing-file-drag-drop-in-your-windows-10-uwp-applica/). But it seems the dropped folder has Attributes set to…
UWP Designer not showing in Windows 10 22h2
I am using Windows 10 22h2 (19045.4170) and have the latest Windows 11 SDK (22621.0) and Windows 10 SDK (20348.0). In Visual Studio (UWP Project), my target version is Windows 10 version 2104, but I am unable to view the designer and it tells me to…
How to get DependencyProperty from PropertyName in Runtime
Hello, How to get DependencyProperty from PropertyName in Runtime. I want to write such code: TextBox tbx = new TextBox(); tbx.SetValue(TextBox.TextProperty, "ssss"); more gerneral. I want to do something like that: TextBox tbx;…
How to create simple UWP application using windows-rs crate from rust?
Trying to use a capture object picker which requires to have a main processor loop which is only run in a window so the uwp unlike win32 requires a window to be created from. How am I supposed to instantiate that window using windows-rs/the windows…
Xamarin.UWP: Release build failed when solution has many class and generic types
I have two solutions base on the same framework, has the same NuGet packages, and all can run in debug model and be release to android. The bigger one failed on release build, but the other one build success. The build log shows: …
error : RHBIND : error RHB0002: Failed to write PDB.
A UWP app has been in the store a quite a few years and working well. I am trying to publish an update. The code change is minor. The major change is probably that target Windows 11. I also updated some NuGet packages. Everything still works fine with…
How to sign Console App inside Windows Application Packaging Project
I have a Windows Application Packaging Project that contains UWP and Console App. UWP app is set as entry point and in defined condition it starts Console App with FullTrustProcessLauncher. When this happens - Console requests admin rights and user…
UWP: Get content type from file extension
In .NET Core I have FileExtensionContentTypeProvider which maps file extension to content type. What do I have in UWP? Though I can use StorageFile.ContentType after StorageFile.GetFolderFromPathAsync but it's an overkill.
UWP, c++\cx, Memory leak with file and folder management
UWP application, c++\cx language, 10.0.17763.0 target platform: if I create a loop that creates and then destroys a directory then the committed memory of the process grows indefinitely. On a machine with 32GB of RAM and 1T of disk I got up to 5GB of…
Bluetooth low energy API improvement request - managing and reading peripheral bonds
We work with BLE programmers that as part of their API provide the ability to serialize, deserialize, and read the bond keys exchanged with a BLE peripheral when paired. This includes things like EDIV/RAND/LTK/CSRK/IRK. I would like to request an API in…
UWP App thumbnail preview custom title
I have an UWP app and i have option to open different pages in separate window and i want to each window with different title and i achieve it using "ApplicationView.GetForCurrentView()". But for the thumbnail preview it shows the display name…
UWP Blank app throws error code: The app didn't start.. Activation phase: COM ActivateExtension
I'm trying to integrate a native DLL project (has huge code with 3rd party dependencies) to Blank UWP. The Blank App project build fine but throws error when it is lauched. In Event Viewer, log suggests Error code: The app didn't start.. Activation…
How to know which WiFi adapter will be used with a "WiFiDirectAdvertisementPublisher" when multiple WiFi adapters are available
I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality that prevents internet access, if 2 WiFi adapters are connected how can I tell/define which one will/should be used? This is the API I am referring…
How to convert a UWP app to an .exe or .msi file.
How to convert a UWP app to an .exe or .msi file.
I get error AuthHost disallowed UrlAction: 0x2101 for URL: https://challenges.cloudflare.com/turnstile/v0/g/dc6b543c1346/api.js
I have UWP app. Recently I have moved from google captcha to cloudflare turnstile for one website. In the application I use WebAuthenticationBroker to perform oauth2 like this: WebAuthenticationResult webAuthenticationResult = await…
How to determine Original BLE device from ScanResponse packet
Hello, I am trying to filter for a certain list of devices based on Service UUIDs available from the BLE advertising data. From what I understand, this is possible to do by enabling a watcher's scanner mode to be Active. By doing this, I am able to see…