581 questions with Windows App SDK tags

Sort by: Answers
7 answers One of the answers was accepted by the question author.

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 questions
asked 2021-12-03T19:23:27.477+00:00
hester , ethan 21 Reputation points
answered 2021-12-04T21:36:58.21+00:00
Dave Patrick 426.3K Reputation points MVP
6 answers One of the answers was accepted by the question author.

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2022-06-04T08:11:10.35+00:00
rhubarb.geek.nz 61 Reputation points
answered 2022-06-11T13:43:49.44+00:00
rhubarb.geek.nz 61 Reputation points
5 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2023-01-23T11:45:08.22+00:00
Harshithraj1871 1,516 Reputation points
commented 2023-07-10T13:16:45.6933333+00:00
Jader Souza 0 Reputation points
5 answers One of the answers was accepted by the question author.

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2022-09-03T04:35:18.93+00:00
Volker Veidt 36 Reputation points
commented 2023-01-05T07:53:18.72+00:00
Junjie Zhu - MSFT 15,991 Reputation points Microsoft Vendor
4 answers

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.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2022-07-06T10:31:38.17+00:00
Khoa Bui 51 Reputation points
commented 2024-05-15T05:35:29.6166667+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

[Winui3]How to show a model window?

PrivacyWindow::PrivacyWindow() { InitializeComponent(); //...... window_handle_ = GetWindowHandle(); auto window_id = winrt::Microsoft::UI::GetWindowIdFromWindow(window_handle_); app_window_ =…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2022-07-01T08:22:42.937+00:00
lei han 46 Reputation points
answered 2024-05-13T07:15:02.6066667+00:00
Torsten Krause 0 Reputation points
4 answers One of the answers was accepted by the question author.

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?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,480 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2023-10-13T05:25:53.0466667+00:00
aluzi liu 486 Reputation points
accepted 2023-10-16T06:22:14.0166667+00:00
aluzi liu 486 Reputation points
4 answers

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"…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,417 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
637 questions
asked 2022-03-06T16:38:20.517+00:00
Andreas Mazatis 131 Reputation points
edited an answer 2023-04-16T14:54:55.8+00:00
CyberSteve 156 Reputation points
4 answers One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,480 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2023-03-03T14:55:32.03+00:00
Fernand Delavy 20 Reputation points
answered 2023-03-20T13:18:12.8633333+00:00
Fernand Delavy 20 Reputation points
4 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,337 questions
asked 2022-06-10T20:52:06.473+00:00
Chindanur Channakesa 6 Reputation points
commented 2022-06-28T07:03:01.19+00:00
Jeanine Zhang-MSFT 9,341 Reputation points Microsoft Vendor
4 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,417 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,663 questions
asked 2022-03-02T19:15:57.697+00:00
Boyd Mills 21 Reputation points
commented 2022-03-03T13:10:52.607+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
4 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
842 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,913 questions
asked 2021-12-09T16:12:56.473+00:00
Matthew Lane 11 Reputation points
commented 2021-12-20T01:53:59.077+00:00
AllenLiu-MSFT 41,451 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,612 questions
asked 2021-11-17T14:14:29.853+00:00
ВЕСЕЛИН ДИМОВ 41 Reputation points
commented 2021-11-18T20:53:54.13+00:00
ВЕСЕЛИН ДИМОВ 41 Reputation points
3 answers One of the answers was accepted by the question author.

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,417 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,489 questions
asked 2023-09-08T03:59:06.27+00:00
Starcloudsea 60 Reputation points
commented 2023-12-06T01:55:35.4633333+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
3 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2023-10-25T11:45:42.5+00:00
Cosmin Mihai 35 Reputation points
answered 2023-11-02T05:17:43.2366667+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
3 answers

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…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,417 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2023-08-24T09:25:58.3333333+00:00
youki 996 Reputation points
answered 2023-08-25T10:00:59.77+00:00
youki 996 Reputation points
3 answers One of the answers was accepted by the question author.

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); …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2023-07-06T12:59:45.74+00:00
Eduardo Gomez 3,416 Reputation points
commented 2023-07-21T08:01:35.5233333+00:00
Poramin 0 Reputation points
3 answers One of the answers was accepted by the question author.

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 =>…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,480 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2023-05-13T19:09:45.36+00:00
aluzi liu 486 Reputation points
commented 2023-05-26T08:50:44.84+00:00
aluzi liu 486 Reputation points
3 answers

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 …

Universal Windows Platform (UWP)
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
asked 2022-11-01T08:35:06.667+00:00
franklinhsu-6084 1 Reputation point
answered 2022-11-17T08:51:18.087+00:00
Roy Li - MSFT 32,491 Reputation points Microsoft Vendor
3 answers

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)…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
735 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2022-10-23T03:11:59.197+00:00
youki 996 Reputation points
commented 2022-10-29T02:23:20.92+00:00
youki 996 Reputation points