Rendering issues with our .Net application post windows patch
Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…
ToUpper and ToLower first char and first word
Hello, Going to convert the first letter of each word to upper and lower case, to upper is simple, but to lower? System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(---) And to convert the first word of string to upper and lower case, no…
Gridview TextBox value getting null (blank) after button click
i am selecting some checkboxes and trying to enter some feedback value in the corresponding cell of textboxes. But, I am unable to get Gridview textbox value in all paging when i click save button. Getting blank value always. below is my…
How to point to a specific .editorconfig in a solution file?
I see in the Roslyn open source project, Roslyn.sln points to the .editorconfig it wants to use. How does it work for me if I want to do the same: pointing to a specific .editorconfig in my solution file?…
I'm struggling to run Qt's C# examples. Please assist.
As https://www.reddit.com/user/rokejulianlockhart/comments/1ctpc4v/im_struggling_to_run_qts_c_examples_please_assist/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button states: I'm attempting to run…
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
I can not see the form any more
Hi When I open the form I get error Timed out while connecting to named pipe. What it mean and how to fix ? Thanks
Taking long time when handling large amount of data in gridview
I have been developing ASP.NET application. i am storing the image to sql table as binary format. i have more than 5000 customer records in the table. every customer will have the medical certificate as image in will be stored in SQL table in binary…
Getting a 10054 error when calling a Cognitive Services API from VSTO Word Add-in
I am developing a Word VSTO add-in so that I can call a Cognitive Services knowledgebase service. The code is pretty straight-forward and works fine when I run it from a windows console app (a similar call in python also works without…
Issue with webView2 control not sending messages until form has been resized
Hello, I've written an app that generates a SVG graphic in a second form. That form contains a webView2 control. I was not able to ever get a message to the webMessageReceived block until I switched from a window.external.notify command to a…
REST Interface XML, request / response, possibilities
I have received from the customer. Three requests ToDo: Server: sapbcprod1.xc-automation.co.at Port: 8087 Folder: /invoke/COATING/ User (Base64): COAT Password (Base64): to be defined Encoding: UTF-8 A) Replace data <biztalk_1…
How to programmatically display the Windows taskbar using C#
I would like to know what C# code/instructions are necessary to make the Windows taskbar appear so that I can use a specific item on it. Can someone provide a concise example or resource to help me accomplish this? Thank you.
How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated
Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…
Not able to get all paging checkbox checked records in gridview asp.net c#
I am using gridview with paging. i done all the pagination code and selected checkbox. Checkbox "CheclALL" is working fine with every page. But, when i save the record, it will be saving only last page checkbox checked values. What is the…
Certificate Revocation List
Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…
Create accdb or mdb from code
Hello I can create a new xls or xlsx Excel file with this: "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\x.xls;Extended Properties=""Excel 8.0""" Using ExcelConnection As New OleDbConnection(AboveString) But how to…
Displaying Fast Data
C# -> WPF -> .NET 6 Windows 10 64-bit, Visual Studio Community 2022 v17.9.2 I am writing a program in which I want to see the current from a 3-phase brushless DC Motor. Each phase will be displayed in a different colour to differentiate them. I…
Exception problem
Hi, I've got issue due to this line below. reader = cmd.ExecuteReader(); Can it be owing to no record returned?
How to Increase/Decrease mouse pointer moving speed on a WPF application surface?
Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…
Func, Action, Predicate delegates, events in C#
Hello! I am looking for a good short guide on when and how to take what. Do you have any examples or do you know a good site?