10,357 questions with C#-related tags

Sort by: Updated
2 answers

How to make loader image show on every page when user click on any task

I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 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,357 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 46 Reputation points
answered 2024-05-20T07:24:30.4733333+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
0 answers

how to make an object from txt file ?

hi I want to read line by line this kind of file. and make object from each TEXT tag how can I do that? file contents: TEXT 8 GT_1 10 748.286 20 495.939 40 3.25000 1 EPPPSP1510AZZ01S8 41 1.02000 7 HTX1 0 TEXT 8 GT_1 10 804.000 20 495.939 …

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,357 questions
asked 2024-05-20T05:48:17.8233333+00:00
Farshad Valizade 381 Reputation points
edited a comment 2024-05-20T07:20:25.8366667+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
2 answers

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,357 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,598 questions
asked 2024-05-16T12:30:38.7166667+00:00
StewartBW 425 Reputation points
commented 2024-05-20T07:18:28.5166667+00:00
Jiachen Li-MSFT 26,921 Reputation points Microsoft Vendor
0 answers

Unable to restore a deleted user with graph API

I am trying to restore a deleted user via graph API. I am following the documentation here: https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-restore?view=graph-rest-1.0&tabs=http I have created an azure application and add…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,774 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,357 questions
asked 2024-05-20T07:01:27.64+00:00
Yasitha Pandithawatta 121 Reputation points
0 answers

root is missing error, while making frontend using window form application in VS 2022 using C#

Root is missing error, while making frontend using window form application in VS 2022 using C#. How to troubleshoot this issue.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,848 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,672 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,357 questions
asked 2024-05-20T04:10:28.07+00:00
DevNinja 0 Reputation points
edited a comment 2024-05-20T06:29:14.73+00:00
Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor
1 answer

How to write C# based Azure Container without starting a Web

Hi all. I need to write an app that connects to a third-party vendor application via a Web Socket. I am using C# in Visual Studio 2022 to write my app. I have it running in my Visual Studio locally. My question: how do I suppress the website window from…

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,357 questions
asked 2024-05-15T15:32:06.1+00:00
Leonard Bernstein 45 Reputation points
edited the question 2024-05-20T05:51:30.2466667+00:00
MayankBargali-MSFT 69,416 Reputation points
1 answer

Div <li> menu color not updating properly in ASP.NET master page c#

I am using menu control using <ul> and <li> tag. I am trying to apply some different color while menu selected. But, applying color not reflected in menu. (particularly white color for text in the menu) what will be the problem in the below…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,357 questions
asked 2024-05-18T13:29:33.9266667+00:00
Gani_tpt 1,686 Reputation points
answered 2024-05-20T05:49:29.9766667+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
1 answer

Submitting EXE to Microsoft Store: Uninstall Policy 10.2.7

I've submitted an app-EXE to Microsoft Store. It was rejected. App review report says EXE does not comply with Security policy 10.2.7: Products need to clearly communicate how they can be removed. There is either no entry for your product in the Add or…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,672 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
886 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,357 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
975 questions
asked 2023-02-08T18:16:30.34+00:00
TamSoft 0 Reputation points
commented 2024-05-20T05:18:19.83+00:00
Sai Jarugula 0 Reputation points
2 answers

Javascript Gridview checkbox alert message not working properly.

I am using javascript validation in gridview. I have selected checkboxes in the gridview. but, still it's throwing alert message unncessarily. where is the problem in the below code. kindly update asap if anyone identified the issues. or pls. provide…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,357 questions
asked 2024-05-19T14:52:29.7566667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-20T04:19:22.4566667+00:00
Albert Kallal 4,896 Reputation points
1 answer One of the answers was accepted by the question author.

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,299 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.
978 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,672 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,357 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 20 Reputation points
edited a comment 2024-05-20T04:12:19.6566667+00:00
Sri Gayathri Gopalakrishnan 20 Reputation points
1 answer

manage Exchange Mailbox permission using C# windows application

hi folks, i would like to design a windows application which will do below. is it possible to develop using C# ? Connect to Exchange Online. Add/Remove mailbox fullaccess. Add/Remove SendAs or Sendonbehalf access. Set mailbox forwarding Thanks …

Microsoft Exchange Online
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,848 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,357 questions
asked 2024-05-17T12:23:46.4633333+00:00
Meher, Shankar (CORP) 0 Reputation points
answered 2024-05-20T03:24:52.1633333+00:00
Jiale Xue - MSFT 35,556 Reputation points Microsoft Vendor
1 answer

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,961 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,357 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 206 Reputation points
answered 2024-05-20T03:09:57.92+00:00
wire_jp 206 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,440 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,357 questions
asked 2024-05-13T21:28:00.4833333+00:00
MERUN KUMAR MAITY 511 Reputation points
commented 2024-05-20T02:35:47.34+00:00
Hongrui Yu-MSFT 170 Reputation points Microsoft Vendor
1 answer

How to create backend application using Asp.net C# Web API Core

How to create backend application using web api core application followed by standards using desing pattern, Depedency injection and solid principle I am new to web api core how to start following things JWT token authentical and authorization simple…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,227 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,357 questions
asked 2024-05-17T06:22:52.4166667+00:00
coder rock 196 Reputation points
commented 2024-05-20T02:13:19.64+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
2 answers

How to maintain ajax text box calander control value after save button clicked

I am using asp.net text box control for date picking..for that, i am using ajax calander extender. Here, is facing issue that, date control values will be clearing after save button clicked...here I want to maintain the date values till I manually…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,357 questions
asked 2024-05-18T04:24:53.3166667+00:00
Gani_tpt 1,686 Reputation points
commented 2024-05-20T02:13:14.03+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add the reference system.web.dll ?

I am unable add the reference to system.web.dll ? can anyone suggest me to add this reference. Thanks in advance

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,848 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,439 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,357 questions
asked 2023-01-24T11:31:25.1666667+00:00
Dineshkumar.S 446 Reputation points
commented 2024-05-20T01:40:02.0333333+00:00
Dan 0 Reputation points
1 answer

how to clear selected check box in gridview when click clear button

how to clear selected check box in gridview. when i click clear button, all paging selected check box should clear by default. How to do this..?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,303 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,357 questions
asked 2024-05-18T13:34:00.7266667+00:00
Gani_tpt 1,686 Reputation points
answered 2024-05-20T01:36:27.23+00:00
Lan Huang-MSFT 26,121 Reputation points Microsoft Vendor
0 answers

Detecting a word while using the Part of Speech enumeration.

I would like to know how I could use the Part of Speech enumeration while accessing the Synonym Info object. Can anyone provide me some examples? For example, looking up the part of speech type for the word, big. This would be very helpful if anyone can…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
686 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,357 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,562 questions
asked 2024-05-18T20:00:13.5533333+00:00
John 426 Reputation points
edited the question 2024-05-20T01:31:42.0666667+00:00
Anna Xiu-MSFT 26,481 Reputation points Microsoft Vendor
1 answer

Rename mdb column

Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a column: "ALTER TABLE xc RENAME Column old new LONG" Searched and found ADE might not support it, what if I add a new column and drop the old…

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,357 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,598 questions
asked 2024-05-17T23:55:41.8966667+00:00
StewartBW 425 Reputation points
answered 2024-05-20T01:28:16.28+00:00
Jiachen Li-MSFT 26,921 Reputation points Microsoft Vendor
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,357 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,130 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
commented 2024-05-20T01:15:47.2566667+00:00
Jiachen Li-MSFT 26,921 Reputation points Microsoft Vendor