1,860 questions with Windows Forms tags

Sort by: Updated
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,860 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,735 questions
asked 2024-06-06T20:16:22.01+00:00
Vasilis Katsikis 0 Reputation points
edited the question 2024-06-07T08:58:43.0866667+00:00
Jiale Xue - MSFT 39,411 Reputation points Microsoft Vendor
1 answer

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,860 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,735 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,436 questions
asked 2024-06-06T19:12:04.4133333+00:00
Gennady Gurin 21 Reputation points
answered 2024-06-07T08:37:08.4766667+00:00
Jiale Xue - MSFT 39,411 Reputation points Microsoft Vendor
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,860 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,463 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,614 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,226 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,860 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,614 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,016 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,860 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,436 questions
asked 2024-04-12T17:01:22.2533333+00:00
Santos, Mark Jairo (Student) 5 Reputation points
commented 2024-06-06T15:23:35.8466667+00:00
mikefinch87@gmail.com 60 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,860 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,795 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,528 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,436 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
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,860 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,735 questions
asked 2022-01-05T11:35:59.977+00:00
cshermak 1 Reputation point
answered 2024-06-06T00:09:25.2133333+00:00
WickIT 0 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,860 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 16,986 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,860 questions
Azure SQL Database
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,893 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,493 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,436 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,860 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,735 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,436 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,341 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,860 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,735 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,456 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,860 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
1 answer

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,493 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
commented 2024-05-28T09:39:43.0066667+00:00
Jiale Xue - MSFT 39,411 Reputation points Microsoft Vendor
3 answers

Rename a form in Visual Studio 2022

Hello, trying to rename a form. The guidance here appears to still be good but even though I renamed the form in solution explorer, told VS2022 to rename it everywhere, and set the startup object in project properties, I still get the error,…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 questions
asked 2023-03-27T21:23:08.4866667+00:00
Steev43230 5 Reputation points
answered 2024-05-27T23:01:11.3866667+00:00
Tuấn Anh 0 Reputation points
1 answer One of the answers was accepted by the question author.

DataGridView column alignment header vs data

In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,493 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,614 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 461 Reputation points
commented 2024-05-27T21:00:43.62+00:00
KOZ6.0 5,545 Reputation points
1 answer One of the answers was accepted by the question author.

Need help with DataGridViewComboBox and selecting the next control

I need some help to achieve some functionality in a DataGridView. This Windows app is written in C# using the Windows Form App (.NET Framework). The DataGridView uses a mix of DataGridViewTextBoxColumn & DataGridViewComboBoxColumn. The need is to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 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,436 questions
asked 2024-05-24T17:30:04.13+00:00
Pat Hanks 60 Reputation points
commented 2024-05-27T17:43:07.8366667+00:00
Pat Hanks 60 Reputation points
1 answer

How to get specific image coordinates from within bitmap

hi Is there a special (Library/Class) for such an achievement? which can find and return the coordinates by giving a symbol of a specific image from within the larger image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 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,463 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,614 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,676 Reputation points
commented 2024-05-27T03:36:02.4133333+00:00
Jiachen Li-MSFT 27,496 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to bring app to front, if already open?

How to bring the app to front, if already open? My app is Windows Form application c#

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 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,436 questions
asked 2024-05-22T13:25:34.1033333+00:00
Hussnain Fareed 20 Reputation points
edited a comment 2024-05-23T14:05:09.5666667+00:00
KOZ6.0 5,545 Reputation points
1 answer One of the answers was accepted by the question author.

How to Joint elements from within the array with specified Step and the array result LINQ

hi Dim ByStep as integer=3 Dim MyArray as Integer()={2,5,4,0,0,4,24,6,5,2,5} need Result As String()={"254","004","2465","25"}

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 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,614 questions
asked 2024-05-22T16:00:56.13+00:00
Mansour_Dalir 1,676 Reputation points
accepted 2024-05-22T18:52:06.3566667+00:00
Mansour_Dalir 1,676 Reputation points
0 answers

Every time I open File location it updates LastAccessTime Since I updated to the newest windows 10 version, but wasnt before it

I noticed that after the recent update for windows 10 22H2(5/18/2024) I noticed that every time i opened a file location lets say CS2 folder or PureVPN File location it updated the LastAccessTime for the Files of that Application that was in the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,860 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,893 questions
asked 2024-05-20T11:09:25.1766667+00:00
LuzuVlogs Gamer 0 Reputation points
edited a comment 2024-05-22T10:35:47.0666667+00:00
Viorel 113.7K Reputation points