Windows Presentation Foundation (WPF) end of life
Hi All, I would like to know if anyone has any information on future roadmap for WPF. Is there any date for microsoft retiring WPF and removing future support? Thanks in advance Narayanan
How to Access and Insert into the First Element of a List <> in WPF C# ?
I have a List <> which I populate by showing available audio devices. The Audio Device List<> which is created by manipulating ancient Win32 APIs. My Code is working fine, currently there no issue present on it. But I have some requirement,…
How to create and display an Excel file?
Hello. Is it possible to create an Excel file in a WPF application in C#. At the same time, so that you can display and edit this file as in the Microsoft Excel application?
![](https://techprofile.blob.core.windows.net/images/iFN-poiNvEKTSlZULohJHA.png?8DABF6)
![](https://techprofile.blob.core.windows.net/images/iFN-poiNvEKTSlZULohJHA.png?8DABF6)
What Does the launcher.exe Do?
When I publish my application on VS 2022, I get a launcher.exe file. I cannot find any information on what it does and I am wondering if I must include the file when I distribute my application. So far, my application does not give me any errors when I…
UIAutomation throws AccessViolationException on Windows 11
Original post on stackoverflow: https://stackoverflow.com/questions/72872197/uiautomation-throws-accessviolationexception-on-windows-11 Also posting here as there might be more views, maybe from people at MSFT too. If it's considered duplicata,…
change paper tray lexmark printer in wpf c# program
Hello, how can I change the paper tray for a Lexmark XC9235 printer in a C# WPF application?
Why is my RelayCommand Parameter Not Available in the ViewModel
<ListBox DisplayMemberPath="Name" ItemsSource="{Binding Path=GeoElements}" SelectedValue="{Binding Path=RouteID}" SelectedValuePath="ElementID"> <i:Interaction.Triggers> …
![](https://techprofile.blob.core.windows.net/images/319aafad7757470c87140361047582b7.png)
Issues with BLE Gatt Services
Hi guys, We are using the BLE GATT services supplied by the Windows CSWinRT nuget package in a .net 6 WPF application. Two issues have raised their heads and I'm hoping someone could point me in the right direction. The main issue we have been facing…
WinUI - MessageDialog in App.xaml.cs does not work
Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…
How to limit translation hearing in 10 seconds
I am using microsoft speech SDF in my WPF application for continues translation.. Everything is working fine but my app listens to the speaker until he gives a break or pause. I want to set a timer so that if there is no break in 10 seconds it will start…
![](https://techprofile.blob.core.windows.net/images/VfQFAmOikEWfBHko2XlWTA.png?8D7F33)
Contents of WPF Web Browser control are overflowing the boundries of parent Data Grid Control
I am using Web Browser control in a WPF project. My development environment is Windows10 DontNet 6.0. HTML contents are coming nicely in Web Browser control. However, when I scroll down the data grid control, the contents in web browser are overflowing…
Why does my public string not change between windows in C# (.net 8) and WPF?
Hi, I am trying to make a note app, so I need to change a public string value between two windows but the string value does not persist across the windows. The strings that are not changing are in the 2nd .cs file, "string edit_File_Name",…
how to create a display form in c#
how to create an interactive form in c#
How to Avoid a RelayCommand Error
In a ViewModel for a wpf window I have the following command: Private ReadOnly Property _AddVehicle As New RelayCommand(AddressOf OnAddVehicle()) Public ReadOnly Property AddVehicle As RelayCommand Get Return _AddVehicle End Get End Property I am…
how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "
In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…
WPF in Linux
According to this blog(https://devblogs.microsoft.com/dotnet/announcing-net-5-0-preview-1/), The .NET Core and .NET 5 (latest .NET platforms) will support WPF. But looks like the support is limited only to Windows OS. Is there any recommendation to…
How to get the real target of a shortcut?
I have a shortcut on the desktop, that opens Adobe Reader XI, in the following path: C:\Users\Heiko\Desktop\Adobe Reader XI.lnk In my app, I am trying to get the destinations of various shortcuts. However, with Adobe Reader XI, I only get an ico file as…
Signing clickonce using Sectigo SHA384 EV certificate give unknown publisher and smartscreen blocker
I am trying to sign the clickonce application using Sectigo Sha384 EV Certificate using SafeNet client. Steps I am following PLEASE NOTE CSP in SignTool is CSP in SafeNet client while CSP in Mage is KSP in SafeNet client. Mage was not signing…
How to change the grey default background of a combobox in wpf in xaml
Hi how can I change the grey default background color of a combobox? Of the selected Item not the dropdown list Any help?
Text alignement is too much center
Hello, Environnement: I'm coding in WPF in .Net Framework 472 and in .Net 6 (we have the some solution for both language) I have some issue with the Text component after a Font change. Now the Text is centered perfectly but that including the possibility…