10,341 questions with C#-related tags

Sort by: Updated
0 answers

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…

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,341 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,132 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
edited the question 2024-05-17T01:39:28.71+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor
1 answer

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…

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,341 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,592 questions
asked 2024-05-16T13:29:08.5166667+00:00
StewartBW 385 Reputation points
answered 2024-05-17T01:22:47.89+00:00
Jiachen Li-MSFT 26,916 Reputation points Microsoft Vendor
0 answers

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,297 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,341 questions
asked 2024-05-16T16:11:44.3566667+00:00
Gani_tpt 1,666 Reputation points
commented 2024-05-17T01:09:31.7633333+00:00
Gani_tpt 1,666 Reputation points
1 answer

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

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,341 questions
asked 2024-05-15T19:53:16.54+00:00
Wendy Liang 0 Reputation points
commented 2024-05-17T00:58:13.4233333+00:00
Wendy Liang 0 Reputation points
0 answers

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…

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,341 questions
asked 2024-05-16T22:12:50.98+00:00
edited the question 2024-05-16T22:20:26.88+00:00
2 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,297 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,341 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 196 Reputation points
commented 2024-05-16T20:00:25.26+00:00
Bruce (SqlWork.com) 57,481 Reputation points
1 answer

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

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 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,341 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,350 questions
asked 2024-05-14T12:54:55.9733333+00:00
William de 116 Reputation points
commented 2024-05-16T19:32:25.08+00:00
Michael Taylor 48,976 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,297 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,341 questions
asked 2024-05-14T17:50:12.66+00:00
Gani_tpt 1,666 Reputation points
accepted 2024-05-16T18:05:39.73+00:00
Gani_tpt 1,666 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 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,341 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,554 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
362 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,430 questions
asked 2024-05-15T21:16:54.8833333+00:00
AdamMorgan-1941 10 Reputation points
commented 2024-05-16T17:47:17.2733333+00:00
AdamMorgan-1941 10 Reputation points
0 answers

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
893 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,341 questions
asked 2024-05-16T16:50:55.1333333+00:00
BRENT MALNACK 0 Reputation points
commented 2024-05-16T17:08:48.63+00:00
BRENT MALNACK 0 Reputation points
0 answers

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…

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,341 questions
asked 2024-05-16T16:25:49.54+00:00
Noah Aas 200 Reputation points
edited the question 2024-05-16T16:31:16.77+00:00
Noah Aas 200 Reputation points
1 answer

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.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,747 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,664 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,436 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,341 questions
asked 2024-05-16T13:35:04.7966667+00:00
Thad T 6 Reputation points
answered 2024-05-16T15:33:32.97+00:00
Castorix31 81,846 Reputation points
1 answer

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…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
270 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,298 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
990 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,664 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,341 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 0 Reputation points
edited an answer 2024-05-16T14:04:19.32+00:00
SnehaAgrawal-MSFT 18,531 Reputation points
1 answer One of the answers was accepted by the question author.

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…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,297 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,341 questions
asked 2024-05-13T15:30:31.1333333+00:00
Gani_tpt 1,666 Reputation points
edited a comment 2024-05-16T14:00:02.8133333+00:00
Gani_tpt 1,666 Reputation points
0 answers

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…

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,685 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,341 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
edited a comment 2024-05-16T13:49:35.85+00:00
Hui Liu-MSFT 40,866 Reputation points Microsoft Vendor
1 answer

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…

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,341 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,592 questions
asked 2024-05-16T12:30:38.7166667+00:00
StewartBW 385 Reputation points
commented 2024-05-16T13:31:56.0866667+00:00
StewartBW 385 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,437 questions
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,685 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,341 questions
asked 2024-05-15T11:09:06.6233333+00:00
dmccric 0 Reputation points
commented 2024-05-16T12:51:10.56+00:00
dmccric 0 Reputation points
1 answer One of the answers was accepted by the question author.

Exception problem

Hi, I've got issue due to this line below. reader = cmd.ExecuteReader(); Can it be owing to no record returned?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,842 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,341 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2024-05-10T08:22:21.91+00:00
Peter_1985 2,546 Reputation points
accepted 2024-05-16T09:48:36.94+00:00
Peter_1985 2,546 Reputation points
1 answer

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…

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,685 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,436 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,341 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
commented 2024-05-16T09:10:49.81+00:00
Hongrui Yu-MSFT 165 Reputation points Microsoft Vendor
2 answers

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?

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,341 questions
asked 2024-05-09T19:00:01.6066667+00:00
Noah Aas 200 Reputation points
commented 2024-05-16T08:12:56.1466667+00:00
Jiale Xue - MSFT 34,501 Reputation points Microsoft Vendor