I cant locate HKEY_CLASSES_ROOT\AppID\{F72671A9-012C-4725-9D2F-2A4D32D65169}
Hi, so i keep getting application crashes only on specific games that im playing. Some games run totally smooth and others wont run at at all, in the system logs in event viewer im getting this error The application-specific permission settings do not…
Cannot add USB DeviceCapability in WinUI 3 App Package.appxmanifest
I have a UWP app that I am porting to WinUI 3 I want to specify the restricted set of capability so it can be published in the app store. I am unable to add a USB DeviceCapability The error I get is during the packaging phase saying the manifest…
WinUI3 : Add contents during runtime to ListView during scroll
Hi, I am working on WinUI 3 desktop application in C++. I was trying to achieve an experience where when we scroll ListView, we will add rows to end of the listviews dropdown during runtime. I was not able to get any scroll based events in ListView…
How to make Projection UserControl (XAML resource) in C++/WinRT (as WRC) to C#?
Hello! I'm trying to add a SwapChainPanel-based XAML UserControl WRC the code on this docs but have reference error saying; "Error WMC0001 Unknown type 'BoxRenderer' in XML namespace 'using:SimpleMathProjection' StubWinUI3Desktop…
Set MTA Thread on WinUI3
Hi, In winform, we have: [MTAThread] static void Main() { Application.Run(new Main()); } How can we set [MTAThread] in winUI3? Thanks.
[Winui3]How to show a model window?
PrivacyWindow::PrivacyWindow() { InitializeComponent(); //...... window_handle_ = GetWindowHandle(); auto window_id = winrt::Microsoft::UI::GetWindowIdFromWindow(window_handle_); app_window_ =…
Does WinUI3 C# project really need .net runtime?
I have a C# WinUI3 project, target framework is .net 6. And I setup a brand new Windows10 system, no .net 6 runtime is installed, but why this project can still running? Does WinUI3 project really need .net runtime?
WinUI 3 Desktop App - Directory.Exists/File.Exists not worked in folder AppData/Roaming
I am trying to perform checks on a directory and file in the AppData/Roaming (C:\Users\MyUser\AppData\MyFolder\myFile.config) directory in a WinUI 3 Desktop Application. Neither the subdirectory "MyFolder" not the file "MyFile.config"…
Winui media player element PlayToEnd()
Sorry for my bal english ! On Microsoft store i have an app Horloge parlante, it is an UWP app works only if langage French is installed on Windows 10 / 11 I try to build a new one with Winui Desktop Micorosft.WindowsAppsSDK the problem is mediaPlayer…
File Access issue during denied build job ( MT.exe)
Hi Everyone, An executable has been successfully built. In the next step the build wants to update the manifest of the executable. This update fails occasionally because access is denied somehow by the operating system. There is most likely an…
C\C++ RESOURCE VERSION RESOURCE VS_VERSION_INFO from resource .rc ==> in c#
In c\c++ in the resource editor there is version information that the windows file explorer can see: == ///////////////////////////////////////////////////////////////////////////// // // Version // VS_VERSION_INFO VERSIONINFO FILEVERSION…
Cannot deploy Windows 10 21H2
When creating a new task sequence using the latest Windows 10 21H2 Enterprise Right click the newly created task sequence > Os info > edit unattend.txt (which runs) Import-Module "C:\Program Files\Microsoft Deployment…
How do I make the result of RichTextBox to be multilines?
Hello. I need your help. Visual Studio Community 2019, Visual Basic, for Windows I have RichTextBox and button "PrintPreview". My code for PrintPreview is: *Private Sub Button3_Click(sender As Object, e As EventArgs) Handles…
How to fix AppWindow.TitleBar.SetDragRectangles not working in Windows App SDK 1.4.230822000?
As shown in the image, I wrote these codes, which contain AppWindow.TitleBar.SetDragRectangles, and I'm sure that this code is working correctly, but these codes are not doing what they are supposed to do. Why is this? I would like an answer from…
WinUI3 Getting the index where the item was moved in a ListView
Having ListView, how can I get the index in the list where the item from the same list was dropped?(Reordering) I tried using the following callbacks, but neither DragItemsCompletedEventArgs or OnDropIntoStagedPhotos seem to have an appropriate…
How to call SlideNavigationTransitionEffect of SlideNavigationTransitionInfo in WinUI3 (sliding effect issue?!)
How can i call SlideNavigationTransitionEffect by the navigate Method as parameter in C++, I can't figure it…
cannot change the size of a dialog
I manage to display a dialog, passing a XamlRoot from the view to the view model ViewModel = viewModel; viewModel.xamlRoot = Content.XamlRoot; ExtendsContentIntoTitleBar = true; SetTitleBar(AppBar); …
How to handle ImageFailed event in custom control in WinUI3?
I create a "custom control" in WinUI3 project: public sealed class BINPersonPicture2 : Control { public ImageSource PortraitUrl { get => (ImageSource)GetValue(PortraitUrlProperty); set =>…
WPF or UWP?
I am a newbie developer. I have a requirement to develop a Windows application: Able to read data from RFID reader(Hardware) Use third party C# libraries Rich gauge UI(third party component) Read data from exist Web API …
Close button freezes by injected input in WinUI3?
Hi, The application and anything else freezes, if i click the close button by my own MOUSEEVENTF_LEFTDOWN/UP. I'm blocking WM_LBUTTONDOWN/ UP by a mouse hook to forward my own injected input. I can click everything (buttons, listview items)…