1,867 questions with Windows Forms tags

Sort by: Updated
1 answer

Send email from a .Net Framework Winforms application and service using Microsoft accounts.

Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
Microsoft Entra
asked 2024-06-28T11:56:45.4266667+00:00
Fortecho Solutions Ltd 0 Reputation points
commented 2024-06-29T11:25:47.6733333+00:00
Fortecho Solutions Ltd 0 Reputation points
1 answer

Can we create the attached model like datagridview in C#.net Windows Form Application.

We are planning a desktop application using c#.net. One of our challenges is to create an attached type of DataGridView.Unfortunately, we are not getting any solution for designing customized types of DataGridView.If possible above type of DataGridView…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,986 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,554 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,641 questions
asked 2024-06-19T05:42:33.01+00:00
muralee raman 0 Reputation points
commented 2024-06-26T13:05:38.8433333+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to Load a file which is saved using BinaryFormatter.

In our Control, we have used BinaryFormatter serialization to Save and Load. But in Net 9 BinaryFormatter is completely removed. Due to that, we are planned to write our Serialization logic using DataContractSerialization. But we need to deserialize…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,986 questions
asked 2024-06-20T10:37:56.68+00:00
Karkuvel Rajan Shanmugavel 20 Reputation points
accepted 2024-06-26T05:55:50.45+00:00
Karkuvel Rajan Shanmugavel 20 Reputation points
1 answer

How to inherit form in .net design time (there is no inheritance picker)?

How can I correctly inherit from some template form at design time in VS, on .net? In .net framework there was Inheritance Picker but I do not find it in .net 8.0. When I create simple inheritance from another form, like this: public partial class…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,554 questions
asked 2024-06-23T12:50:32.3366667+00:00
Slobodan Krejaković 36 Reputation points
commented 2024-06-25T08:33:31.68+00:00
KOZ6.0 6,300 Reputation points
2 answers One of the answers was accepted by the question author.

Deletion from a datagridview on the second attempt returns null exception if the column is hidden, but works fine if vissible.

my program loads a table from sqlite3 and displays the content in a datagridview form with c#. I am sorting the table entries according to name and some values which gives out of order ID's to display in the datagridview. The program works fine if the ID…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,554 questions
asked 2024-06-17T16:30:40.47+00:00
George Panayiotou 20 Reputation points
answered 2024-06-18T16:16:52.3933333+00:00
George Panayiotou 20 Reputation points
0 answers

async Task method with await Task.Run make application crash shutdown without any errors/exceptions. how to solve?

when running the application, it starts doing the code in the method but then after few seconds the application crash shutdown without showing any errors or exceptions and it's never reaching any of the catch places. maybe there is a deadlock? not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,554 questions
asked 2024-06-14T00:32:37.6766667+00:00
Chocolade 516 Reputation points
commented 2024-06-14T01:42:04.2133333+00:00
KOZ6.0 6,300 Reputation points
0 answers

Controls projecting shadow out of form bounds

Problem2.pngProblem.pngHello, I woriking in windows 8.1 os for alot of years with visual studio. I have the latest version of visual studio 2019. Im working with c# winforms.The problem that i found is that whenever i drag and drop a control onto form…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,806 questions
asked 2024-06-06T20:16:22.01+00:00
Vasilis Katsikis 0 Reputation points
commented 2024-06-11T07:00:44.1166667+00:00
Tianyu Sun-MSFT 28,851 Reputation points Microsoft Vendor
1 answer

Enabling Winforms Application Windows authentication service

Hi, I want to add windows authentication to my Winforms Application. I have gone to properties and enabled this as shown in the screenshot. Want to test if its working or not. How do i proceed?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
asked 2024-06-09T08:49:58.2+00:00
Aditya Bhattacharjee 0 Reputation points
answered 2024-06-10T06:21:33.88+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

CA1416 Warning after upgrading from .NET Framework 4.8 to .NET 8 with Windows Forms

Hello, I recently upgraded my project from .NET Framework 4.8 to .NET 8 and I’m using Windows Forms. Although I’m not getting any errors, I’m seeing some warnings that I would like to resolve. One of the warnings is CA1416, which indicates that…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,554 questions
asked 2024-06-08T02:59:37.03+00:00
Roberto C 120 Reputation points
accepted 2024-06-08T20:54:47.2766667+00:00
Roberto C 120 Reputation points
6 answers

Toolbox has no items

Visual Studio 22 Windows Forms App has the following message in the Toolbox, "There are no usable controls in this group. Drag an item onto this text to add it to the toolbox." I have tried the reset toolbox and choosing items but neither…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,806 questions
asked 2022-01-05T11:35:59.977+00:00
cshermak 1 Reputation point
commented 2024-06-07T22:43:06.76+00:00
Roman Zakharchuk 0 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio C# Windows Forms Application touch screen exception error

I have Windows Forms Visual Studio Project; I have added the code to be able to use a finger instead of the mouse on touch screen monitor. When I use a mouse, everything is working, but when I use a finger to top and double top on the screen also working…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,806 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,554 questions
asked 2024-06-06T19:12:04.4133333+00:00
Gennady Gurin 41 Reputation points
accepted 2024-06-07T17:13:11.9766667+00:00
Gennady Gurin 41 Reputation points
1 answer

How to get the text from the label by the handle with specific coordinates on any part of the desktop screen

I want to extract the text inside the label by giving certain coordinates from the screen, if the type of the coordinates is from the label, then extract the part of the obtained part.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,491 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,641 questions
asked 2024-06-06T07:48:09.8966667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-06-07T08:13:40.7266667+00:00
Castorix31 82,661 Reputation points
1 answer

How to get the index of duplicate elements along with the range of empty elements after it. LINQ

hi Dim ComplexArray As String() = Split("A C A B C A B A B C") Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}), ({"B", ({"10-12",…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,641 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,676 Reputation points
edited the question 2024-06-07T05:57:14.88+00:00
Anna Xiu-MSFT 27,551 Reputation points Microsoft Vendor
0 answers

how to fix "Designer load encountered and error. Please ensure that the project can be built successfully."

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,554 questions
asked 2024-04-12T17:01:22.2533333+00:00
Santos, Mark Jairo (Student) 15 Reputation points
commented 2024-06-06T15:23:35.8466667+00:00
mikefinch87 85 Reputation points
1 answer One of the answers was accepted by the question author.

How to replace OperationContext in new V12 SDK Azure.Storage.Blobs

I'm switching from Microsoft.WindowsAzure.Storage to Azure.Storage.Blobs. In the former versions I could log retries, this seems to be missing in the new SDK. I used OperationContext for this: var context = new OperationContext(); …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,854 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,570 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,554 questions
asked 2024-06-04T11:18:12.8033333+00:00
Becker, W 66 Reputation points
accepted 2024-06-06T11:02:12.6966667+00:00
Becker, W 66 Reputation points
0 answers

Issue Connecting With An Azure SQL Database from .NET WinForms Application

I'm having an issue connecting to an Azure SQL database from a WinForms application after it has been packaged using InstallShield. The database exists on a virtual network and I'm using a virtual network gateway point-to-site connection. The database is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Azure SQL Database
asked 2024-05-22T16:37:29.1633333+00:00
Tom 1 Reputation point
edited a comment 2024-06-04T15:38:10.7733333+00:00
Oury Ba-MSFT 17,556 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to identify usage of Azure SQL Database 2014-04-01 APIs

I have a very old windows forms project using azure database and I'm very unsure if this project is affected by the API retirement. The project uses DataSets, TableAdapters and the old library Microsoft.Practices.TransientFaultHandling. Is this going to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Azure SQL Database
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,031 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,554 questions
asked 2023-12-05T10:46:25.9466667+00:00
Becker, W 66 Reputation points
accepted 2024-06-03T10:07:03.01+00:00
Becker, W 66 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,867 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,806 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,554 questions
asked 2024-05-20T04:10:28.07+00:00
DevNinja 0 Reputation points
commented 2024-06-03T09:23:03.1033333+00:00
Tianyu Sun-MSFT 28,851 Reputation points Microsoft Vendor
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 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,806 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-06-03T06:43:07.3333333+00:00
Minxin Yu 10,781 Reputation points Microsoft Vendor
1 answer

Visual Studio theming not applied correctly to custom Control property's UITypeEditor

Visual Studio: 2022 Community (17.10.0) Visual Experience Color Theme: Dark I'm working on a custom UITypeEditor (drop-down control) for a custom type that's a part of my custom control. When I trigger the UITypeEditor to drop down, I can see it in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
asked 2024-05-29T19:27:50.2633333+00:00
gb 66 Reputation points
commented 2024-05-30T17:44:31.7633333+00:00
gb 66 Reputation points