10,502 questions with C#-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How can I set the application file description in .NET 8?

Hi, I'm building an application in .NET 8 and I can't find the option to set the exe file description, the one displayed in Task Manager as the application name. I was able to do it in .NET Framework, but now it just displays the exe file name (assembly…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,776 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,502 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,137 questions
asked 2024-06-01T15:41:05.07+00:00
Alessandro Guizzetti 20 Reputation points
accepted 2024-06-01T16:19:09.7333333+00:00
Alessandro Guizzetti 20 Reputation points
3 answers

Console app referencing excel interop RCW

Using VS2022 and Net 8 to make a console app referencing excel interop RCW. On my development machine this interop file is version 16 (MS 365) and works just fine, however on another machine with same OS, same dotnet runtime (runtime shouldn't matter as…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,615 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,502 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,652 questions
asked 2024-05-15T21:34:05.65+00:00
Magne 126 Reputation points
accepted 2024-05-31T11:09:35.9333333+00:00
Magne 126 Reputation points
0 answers

System.IO.Ports only availble on windows, but im using windows - .NET6

So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,535 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,502 questions
asked 2024-03-17T16:58:29.7233333+00:00
Borda Ákos 10 Reputation points
commented 2024-05-31T10:00:38.2566667+00:00
Sam Bartle 0 Reputation points
3 answers

Query is too complex.

Hello To delete many selected records at once: In a loop I populate question marks: QuestionMarks = QuestionMarks + "?, " Then: "DELETE FROM table WHERE theID = ? AND fld IN (" + QuestionMarks + ")" And: For Each MyRow As…

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,502 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,633 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
845 questions
asked 2024-05-24T08:22:33.26+00:00
StewartBW 645 Reputation points
commented 2024-05-31T05:48:41.7633333+00:00
Jiachen Li-MSFT 27,666 Reputation points Microsoft Vendor
1 answer

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,502 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,137 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
edited a comment 2024-05-31T05:19:23.6666667+00:00
Jiachen Li-MSFT 27,666 Reputation points Microsoft Vendor
0 answers

sourcelink switch is only supported when emitting PDB

When I am trying to build Xamarin.Android project in Azure Devops Pipeline, I am getting below errors sourcelink switch is only supported when emitting PDB embed switch is only supported when emitting a PDB Can anyone please help me to solve this

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 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,502 questions
asked 2024-05-30T10:55:57.1433333+00:00
Sk 61 Reputation points
commented 2024-05-31T03:04:18.7833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Datatime value issue

Hi, How to correct it below? tb_apply_date.Text = Datetime.Now.ToString();

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,776 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,502 questions
asked 2024-05-30T08:28:23.0166667+00:00
Peter_1985 2,586 Reputation points
accepted 2024-05-31T03:03:42.38+00:00
Peter_1985 2,586 Reputation points
1 answer

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,535 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,502 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,652 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
375 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,521 questions
asked 2024-05-15T21:16:54.8833333+00:00
AdamMorgan-1941 15 Reputation points
answered 2024-05-30T16:26:33.41+00:00
AdamMorgan-1941 15 Reputation points
2 answers

How to connect to Azure Service Bus through Private Endpoint?

I'm developing an application in our organization using C#/.NET(8.0) and have to use Azure Service Bus. My access in our organization's Azure account is mostly read-only, so I don't know actually how they created the instances. But I can see that the…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
571 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,535 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,502 questions
asked 2024-03-06T01:47:21.7933333+00:00
Bergs 0 Reputation points
answered 2024-05-30T14:02:39.5833333+00:00
Adnane 0 Reputation points
1 answer

How to create event for subclassed control

I use GestureRecognizers with Label in lots of places in an app and would like to create a new Label control that basically uses Label as the base and adds a TapGestureRecognizer that invokes an event that can be defined in XAML. I know how to subclass…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,068 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,502 questions
asked 2024-05-28T15:05:06.46+00:00
Lloyd Sheen 1,401 Reputation points
commented 2024-05-30T03:31:27.8+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
3 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,293 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,458 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,502 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 5 Reputation points
commented 2024-05-30T02:14:20.3733333+00:00
Ping Ni-MSFT 2,795 Reputation points Microsoft Vendor
2 answers

How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core

Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
711 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,293 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,502 questions
asked 2023-04-02T16:30:01.65+00:00
phani sekhar 1 Reputation point
commented 2024-05-30T02:09:18.2166667+00:00
Hutty 20 Reputation points
1 answer One of the answers was accepted by the question author.

Rename mdb table

Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a table: ALTER TABLE <table name> RENAME TO <new table name> OleDbException, anyway using ADE? Thanks

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,502 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,633 questions
asked 2024-05-29T04:01:30.4533333+00:00
StewartBW 645 Reputation points
commented 2024-05-29T23:55:20.6966667+00:00
StewartBW 645 Reputation points
3 answers

Where is system.device.location?

I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list of…

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,697 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,502 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
answered 2024-05-29T18:47:52.53+00:00
Bruce (SqlWork.com) 59,306 Reputation points
1 answer One of the answers was accepted by the question author.

How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually

I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,374 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,502 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 2,046 Reputation points
commented 2024-05-29T07:32:21.86+00:00
Gani_tpt 2,046 Reputation points
0 answers

How to upload a analyzed document done with documentAnalysisClient.AnalyzeDocumentAsync call in code, into the training dataset in code, which mimics the 'Mark as to uploaded into the training dataset' button in Azure DI

After analyzing a doc with the documentAnalysisClient.AnalyzeDocumentAsync, I need a way to upload the tested doc directly into the training dataset of its corresponding blob with the already labeled fields. Basically I need to mimic the yellow…

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,502 questions
asked 2024-05-23T09:34:07.56+00:00
edited the question 2024-05-29T05:44:38.68+00:00
romungi-MSFT 43,451 Reputation points Microsoft Employee
1 answer

Moving xamarin.ios to new SKD style issues

I am trying to move my xamarin.ios project to the new SDK style as MS is no longer supporting the previous methods. I am following the steps at https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0 But I get multiple…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,068 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,502 questions
asked 2024-04-15T17:54:17.71+00:00
Phunction 206 Reputation points
commented 2024-05-29T05:29:43.16+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,906 Reputation points Microsoft Vendor
4 answers

How to connect my c# application to my phpmyadmin database from my NAS?

Good day, I want to try to connect to my database in my NAS. Please take a look the image below. As you can see at the image, I want to access my database outside in my home network. I already installed phpmyadmin in my NAS, but the problem is I don't…

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,502 questions
asked 2024-05-26T11:07:34.2566667+00:00
BgnerNprg207 246 Reputation points
edited the question 2024-05-29T05:25:00.1366667+00:00
Jiale Xue - MSFT 41,426 Reputation points Microsoft Vendor
1 answer

Azure Function app timeout in 4 minutes (230 seconds)

I am getting 500 Timeout issue while running function app for more than 4 minutes (230 seconds). It was working for 30 minutes when we were using .net 6 version. Suddenly we started getting 500 timeout when we updated function app to .net 8 version.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,499 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,502 questions
asked 2024-05-29T03:08:44.4366667+00:00
Shirvadkar, Virendra 0 Reputation points
answered 2024-05-29T04:36:45.53+00:00
SwathiDhanwada-MSFT 18,131 Reputation points
5 answers

Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?

I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file. But when we force close the solution,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,776 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,502 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
185 questions
asked 2023-02-23T04:57:49.38+00:00
Apurva Kamshetty 25 Reputation points
answered 2024-05-28T15:13:11.97+00:00
Sean Houghton 0 Reputation points