Updating ListView in .NET MAUI After Modifying an Item
How can a ListView be updated when an item in the bound ObservableCollection is modified while using the MVVM .NET Community Toolkit? The ListView's ItemsSource property is bound to an ObservableCollection, and the ViewModel inherits from the…
SSIS - package working only when there is breakpoint
I have a SSIS package which contains different sequence container, the problem is when I execute the whole package, it executes first 2-3 containers then gets Index out of bound error in next container (In a script task inside a data flow task). But…
How to extend execution of background task in WinUI 3 (analog of ExtendedExecutionSession in UWP)?
My application has a background task that performs a cleanup of unnecessary or unused system files selected by the user. However, this task takes more than 30 seconds to complete, which exceeds the standard time limit. Question: Is there any way to…
How is it possible to implement a complete semblance of a console (online compiler) in win fomrs?
Good time! Faced such a task as implementing code execution as in a console application in C # (with classes, methods, the ability to read data, etc.). Everything went super until I started testing my application. The problem is that I can execute code…
How to open notepad on remote computer
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; using…
Date converter, looking for good and easy way
Hello, I need to display a date in a different format. How can I achieve this easily? How do I go about it? Thanks for tips in advance. The algorithm Variant 1 //Month: 1=January, 2=February, 9=September, …, A=October, B=November //Day: standard…
How to set a time limit for speech recognition in ACS?
I want to set a limit to the time a caller has to describe their problem after StartRecognizing has started. I tried to implement this using CancellationToken, but it didn't work, and CancelAllMediaOperations doesn't seem to be effective either. Here is…
Creating a Leaderboard with Stored Procedures in an API Application
How can a leaderboard be implemented for an application that uses an API, including creating the necessary stored procedures? I am new to this technology but have some understanding of data access using ADO.NET. What steps can be taken to achieve this?
How to Detect Stylus Pen Sides (Pen Tip vs. Eraser) in WPF (C#)
Hello, I’m developing a WPF application in C# that interacts with a stylus pen on a Windows device. I need to detect which side of the stylus is being used—whether it’s the pen tip or the eraser side. Could someone guide me on how to achieve this…
Need assistance on creating Microsoft forms dynamically with questions and prefilled answers using c# MVC web app and generate form links
Hello, We have a requirement to create Microsoft forms specific to users with questions like textbox, dropdown, dropdown (multiselect) etc., and prepopulate or pre-fill the answers related to user specific data into the questions and then share the form…
Marshalling Error for WinUI 3 Application
Hello. So I've been creating a WinUI 3 app C# in visual studio. For loading the list of installed fonts, I had to install Microsoft.Graphics.Win2D NuGet package. For that, it required me to update the NuGet packages of "WindowsAppSDK" and…
How do I use resource files in a WinUI project
I'm trying to use the resource system in VS, but when I try to access a resource, it can't find it. Here's my setup... I have a WinUI project with a library DemoApp GfxToolkit In the GfxToolkit library project I have a resources file…
![](https://techprofile.blob.core.windows.net/images/GBSkt_2_AwAAAAAAAAAAAA.png?8D959C)
XC0009 Error: No Property, BindableProperty, or Event Found for Border Class in .NET MAUI
I am encountering an XC0009 error while working with .NET MAUI and would appreciate any assistance in resolving this issue. Screenshot 1: Screenshot 2: In Screenshot 1, while writing the 'Shadow' property for the "Border" class, the Build +…
![](https://techprofile.blob.core.windows.net/images/e0XhQf9lrUqN3b_DpgOpWw.png?8DC48F)
Real-time Transcription in ACS Group video calls
have been working on implementing the Azure Communication Services (ACS) real-time transcription feature and followed the steps outlined in the:…
Error loading file or assembly 'Interop.AcroPDFLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the specified file
Error Message: Could not load file or assembly 'Interop.AcroPDFLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Stack Trace…
How to Save a WPF DataGrid Back to Database after Editing
Hi, I am wondering if theirs a way to save a updated Line from WPF DataGrid back to Database . I don't Know the best way to do this without going back to WinForms Apps. I would like to use WPF, any help would be appreciated.
UWP C# app: Trouble doing drag and drop from home folder
I am working on a UWP app. I have implemented an event handler such that if you drag a PDF file onto our main page, we begin to process that document. This appears to work fine, so I'm pretty sure we are setting things up reasonably. The exception? …
.Net 5.0 - Method not found "System.Object.System.Runtime.InteropService.Marshal.GetActiveObject(Stem.String)
Hi While working with .Net 4.8, the following code works as expected: var tcObject = Marshal.GetActiveObject(toolFullName); ```But after moving my project to .Net 5.0, I'm getting the following error meager: "Method not found…
![](https://techprofile.blob.core.windows.net/images/m5buVEA_QUeJ9P_0vgAtbg.png?8DACCA)
How to Enable/Disable Windows Notification using C#?
Hi everyone, I want to enable/disable System > Notifications. I hope to enable or disable this option without restarting the computer. Change this not work. …
Get Default Display Settings stored in registry
Documentation for ChangeDisplaySettings says passing null DevMode and 0 flag will revert the monitor to the default setting stored in the registry settings. How to check what the current default setting stored in the registry is before the call?