The keyboard inputs are not updating correctly in the hosted WinForms application
Hi, We are encountering an issue in a WPF application hosted within a WinForms application. The keyboard event is triggered correctly, but the values are not updating properly in the UI. Here’s the setup: Create a WinForms application with a user…
Why MSDN deprecates the AddWithValue method
I am trying to connect to a SQL Server table and update or register data in a program created in C#. In order to create a program that can take measures against SQL injection and support N prefixes, I am thinking of using the AddWithValue method, a…
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…
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…
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…

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?
New outlook (2024) drag drop problem
Hello, I have an application where a user drops a mail (from outlook 365) and I make a copy of the mail) for archive purpose. All is working perfectly but I have seen a message telling me that there will be a new outlook in 2024 (that I can try) and it…

Sorted number inside in the textbox
I want to sort the value of textbox1 automatically and display into textbox2. I have a code but it not working properly. I insert this code into textbox2. private void textBox2_TextChanged(object sender, EventArgs e) { var count =…
How will I Remove Border From MultiSelect_Chosen Input Form
Please show me what I am doing wrongly with this Multiselect_Chosen Form border removal. My Razor View Below <div class="row"> <div class="col-md-12 col-sm-8 col-xs-12 col-xs-offset-0"> …
listbox auto scroll down
I have a listbox and checkbox, Now I want is If I click the checkbox name scroll down the listbox well be scroll down automatically with a normal speed, not to fast and not to slow. I have a sample code: private void checkBox1_CheckedChanged(object…
Issue with Install and configure Visual Studio Code for C# development
I have Visual Studio installed and up to date with .NET desktop development workload. When I go to extensions I cannot find C# Dev Kit nor any of the others listed in the tutorial. Are these no longer available and should I skip this lesson and move on…
Missing client certificate
I am using GetHttp2ClientCertificateAsync() to get the client certificate for authentication.When there are a lot of requests, the client certificates is seen to be missing.It is verified that the client does add the certificate for sure.What could be…
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…