10,842 questions with C#-related tags

Sort by: Updated
0 answers

Form uygulamsında dosya veya uygulama buldur(t)ma

Merhabalar. Oluşturduğum form uygulaması üzerinden yine kendi kodladığım bir uygulamayı yol belirtmeden açtırmak istiyorum. Kısacası yolunu bilmediğim uygulamanın yolunu buldurup o uygulamayı aç-tır-mak istiyorum. Teşekkür ederim.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,842 questions
asked 2021-01-09T08:05:01.083+00:00
Bilal Işık 1 Reputation point
commented 2021-01-11T01:24:51.72+00:00
Daniel Zhang-MSFT 9,626 Reputation points
2 answers One of the answers was accepted by the question author.

ToolTip show doesn't work in dialog for a pictureBox

Hello, I'm trying to set the tooltip with an autopopupdelay of 5000 and reshowdelay of 0 (for showing it permanently as long as the cursor is on the pictureBox). .Net 4 I can use the ToolTip.SetToolTip but when i use the show method…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,842 questions
asked 2021-01-10T15:16:04.273+00:00
youki 1,021 Reputation points
commented 2021-01-10T16:17:14.64+00:00
laurentcutey-3677 16 Reputation points
1 answer One of the answers was accepted by the question author.

Struct list

All, Firstly people may realise that I posted a similar question here https://video2.skills-academy.com/en-us/answers/questions/223984/struct-inheritence.html As far as I can work out this is a separate issue. If it's the same issue then I've made a mistake.…

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,842 questions
asked 2021-01-08T20:43:34.367+00:00
AS 211 Reputation points
commented 2021-01-09T15:15:50.277+00:00
Bonnie DeWitt 811 Reputation points
2 answers One of the answers was accepted by the question author.

Change gridview padding left for all rows except the column header

Can i simply change it only for the header? (If the header text is bold, the row text is too much on the left side.) The following doesn't work: for (int i = 0; i < gvTitles.Rows.Count; i++) { gvTitles.Rows[i].DefaultCellStyle.Padding =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,842 questions
asked 2021-01-09T00:46:42.067+00:00
youki 1,021 Reputation points
answered 2021-01-09T13:06:42.287+00:00
Abdulhakim M. Elrhumi 356 Reputation points
1 answer One of the answers was accepted by the question author.

Struct inheritence

All, I have a struct that I would like to define in a base class and access it from classes that inherit from it I've seen that I can't use protected with a struct. I would appreciate help with two questions: a) I think it is because Structs are…

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,842 questions
asked 2021-01-08T14:59:19.68+00:00
AS 211 Reputation points
commented 2021-01-08T19:18:42.227+00:00
Michael Taylor 53,726 Reputation points
3 answers One of the answers was accepted by the question author.

C# prevent multiple instance of console application running

I got a code which prevent multiple instance of console application running. help me to understand the below code' [STAThread] static void Main() { using(Mutex mutex = new Mutex(false, "Global\\" + appGuid)) { if(!mutex.WaitOne(0,…

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,842 questions
asked 2021-01-06T19:13:26.393+00:00
Sudip Bhatt 2,276 Reputation points
accepted 2021-01-08T15:06:18.787+00:00
Sudip Bhatt 2,276 Reputation points
1 answer

Deprecation related to OrganizationServiceProxy class and Discovery Service

According to the below link, OrganizationServiceProxy class is deprecated. https://video2.skills-academy.com/en-us/power-platform/important-changes-coming I have used the OrganizationServiceProxy class in the connector written in C# that has used the…

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,842 questions
asked 2020-12-16T11:15:59.257+00:00
MS CRM Developer 1 Reputation point
answered 2021-01-08T12:10:29.44+00:00
Julian Sharp 41 Reputation points MVP
2 answers One of the answers was accepted by the question author.

Only every third object is consumed in BlockingCollection<string>(ConcurrentQueue<string>)

Hi. I'm building a multi-threaded simulator and need to create and consume ID's in an orderly fashion. I am doing this in C# and Core 3.1 and it is a WPF application. Please note that I am just learning about multi-threading AND queues, so it is…

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,842 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,152 questions
asked 2021-01-07T20:32:50.747+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-07T21:54:35.05+00:00
Magnus Vinterhav 61 Reputation points
1 answer One of the answers was accepted by the question author.

IDE Buggy ! errors un-reported AND non-errors reported

for the last month and a half (two updates) my IDE has been driving me bonkers. it often reports 'errors' that are not errors. after wasting time trying to figure out what its problem is, I eventually kill the VS2019-IDE and launch it again to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,042 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,842 questions
asked 2021-01-04T18:33:22.857+00:00
Christ Kennedy 196 Reputation points
commented 2021-01-07T15:00:19.48+00:00
Michael Taylor 53,726 Reputation points
2 answers One of the answers was accepted by the question author.

Cannot find 'aapt.exe' - latest version of Visual Studio 2019 and Xamarin installed

Hello, I have the latest version of Visual Studio 2019 community edition installed. A couple of days ago I installed Xamarin and Android SDK by following the instructions given in this course material "Xamarin Tutorial - Hello World in 10…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,336 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,842 questions
asked 2021-01-06T12:34:04.043+00:00
Jouni Juntunen 141 Reputation points
accepted 2021-01-07T12:28:07.71+00:00
Jouni Juntunen 141 Reputation points
1 answer One of the answers was accepted by the question author.

C# version wise new features

Sorry to ask you Microsoft has any pages where they mention c# version wise all new feature till latest version 9? 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,842 questions
asked 2021-01-05T18:12:08.613+00:00
Sudip Bhatt 2,276 Reputation points
accepted 2021-01-07T06:42:06.203+00:00
Sudip Bhatt 2,276 Reputation points
1 answer

Can I catch the lost focus (deactivation) of a PowerPoint slideshow window due to a hyperlink click?

how to catch the lost focus (deactivation) of the current slideshow. In my slideshow a slide has a hyperlink. When the link is clicked, the default browser is opened to the respective page and, of course, my slideshow losses the focus. When the browser…

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,842 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
228 questions
asked 2021-01-06T10:00:42.26+00:00
zhenhao gan 1 Reputation point
answered 2021-01-07T03:03:42.673+00:00
Timon Yang-MSFT 9,591 Reputation points
1 answer

[Bug] and [CRASH] App Crashes on startup on High Sierra. Runs fine on higher operating systems

I already raised this issue on the Xamarin.Forms github site and attached a repro project..... https://github.com/xamarin/Xamarin.Forms/issues/13071 But I've NOT had a reply. Supporting High Sierra is quite critical.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,336 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,842 questions
asked 2020-12-14T14:03:59.937+00:00
Dominique Louis 111 Reputation points
commented 2021-01-06T19:03:29.57+00:00
Rob Caplan - MSFT 5,442 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Casting data in a data table returns string rather than type inserted

I have a custom class that holds the value of a cell which is put into a data table using the following command: table.Rows.Add(error[i].GetValues()); GetValues() returns an array of a generic class: DataParcel<KeyType, DataType, ParentType>. …

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,842 questions
asked 2021-01-06T15:39:06.717+00:00
Matthew Busselberg 21 Reputation points
commented 2021-01-06T18:35:53.603+00:00
Matthew Busselberg 21 Reputation points
2 answers

Ignore JSON types

Hi, I am using MySQL at backend and I have problems with two fields when using System.Text.Json The fields are mobile which has a value for example = 026547388 and is_admin which has 0 or 1 (representing true or false in MySQL) When I use the…

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,842 questions
asked 2021-01-03T18:22:42.4+00:00
jrahma 111 Reputation points
answered 2021-01-06T10:00:27.857+00:00
Viorel 116.6K Reputation points
1 answer One of the answers was accepted by the question author.

The name 'parantheses' does not exist in the current context

New to c# and doing a little project for calculating compound interest. I have no clue how to fix this though.

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,842 questions
asked 2021-01-06T01:06:46.827+00:00
Maday Reyes 21 Reputation points
accepted 2021-01-06T01:53:01.123+00:00
Maday Reyes 21 Reputation points
2 answers One of the answers was accepted by the question author.

[SerialPort] How can I auto detect SerialPort parameters if I know SerialPort name?

Known: Port Name. Unknown: Baud Rate Parity; Data Bits; Stop Bits. Is it possible to auto detect SerialPort parameters in case if they may be differ from the default?

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,842 questions
asked 2021-01-05T16:03:51.467+00:00
Ivan Halbur 21 Reputation points
answered 2021-01-05T17:16:38.537+00:00
Castorix31 84,471 Reputation points
1 answer

Xamarin.Forms to add Body using Http GET verb

As I have tried to send data in HTTP GET verb from Postman Here is the screenshot which I am trying to achieve<Br> Postman As data is received using the above process sending with the JSON Body. I have also sent the Bearer Token in the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,336 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,842 questions
asked 2021-01-05T15:21:02.947+00:00
Akshay Dixit 21 Reputation points
answered 2021-01-05T15:49:13.507+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
1 answer

HTTPS download and Upload

Hello, We are trying to implement HTTPS protocol for getting a file from a device and putting a file on a device. We are currently using .net framework 4.5 and it is a WPF application. We need to use the below two cipher suites on TLS: …

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,761 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,842 questions
asked 2020-12-17T06:20:09.127+00:00
S Abijith 386 Reputation points
commented 2021-01-05T09:36:38.663+00:00
Timon Yang-MSFT 9,591 Reputation points
3 answers

c# Pause listening to COM port

Hello, I am trying to write a Windows form program to listen to a COM port and intercept the data stream. I have managed this, but I would now like to add the option to pause the listening. I am using the CLOSE() option, but his then also makes my…

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,842 questions
asked 2020-12-16T09:17:44.857+00:00
Gerald Oakham 101 Reputation points
answered 2021-01-05T05:54:16.127+00:00
Timon Yang-MSFT 9,591 Reputation points