1,879 questions with Windows Forms tags

Sort by: Updated
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,879 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,963 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 11,271 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,879 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,879 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,734 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 43,696 Reputation points Microsoft Vendor
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,879 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,734 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,696 questions
asked 2024-05-23T15:21:45.1333333+00:00
Andrew Mercer 481 Reputation points
commented 2024-05-27T21:00:43.62+00:00
KOZ6.0 6,315 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,879 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,732 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,879 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,547 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,696 questions
asked 2024-05-21T03:56:04.6666667+00:00
Mansour_Dalir 1,796 Reputation points
commented 2024-05-27T03:36:02.4133333+00:00
Jiachen Li-MSFT 30,286 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,879 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,732 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 6,315 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,879 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,696 questions
asked 2024-05-22T16:00:56.13+00:00
Mansour_Dalir 1,796 Reputation points
accepted 2024-05-22T18:52:06.3566667+00:00
Mansour_Dalir 1,796 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,879 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,330 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 115.9K 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,879 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,732 questions
asked 2024-05-17T12:23:46.4633333+00:00
Meher, Shankar (CORP) 0 Reputation points
commented 2024-05-21T09:39:34.01+00:00
Jiale Xue - MSFT 43,696 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,879 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,734 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,732 questions
asked 2023-01-24T11:31:25.1666667+00:00
Dineshkumar.S 451 Reputation points
commented 2024-05-20T01:40:02.0333333+00:00
Dan 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to programmatically display the Windows taskbar using C#

I would like to know what C# code/instructions are necessary to make the Windows taskbar appear so that I can use a specific item on it. Can someone provide a concise example or resource to help me accomplish this? Thank you.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,330 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,963 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,547 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,732 questions
asked 2024-05-16T13:35:04.7966667+00:00
Thad T 26 Reputation points
accepted 2024-05-19T23:47:12.7933333+00:00
Thad T 26 Reputation points
2 answers

How to get the position of NotifyIcon at runtime?

Hi, I want to retrieve the location and size of notifyIcon whenever it be clicked. The purpose is to set the application UI above the notifyIcon like the below photo. Please show me how I can do this with C#. Thank you!

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,734 questions
asked 2024-05-15T04:06:34.3866667+00:00
Việt Trần 0 Reputation points
edited a comment 2024-05-19T17:44:54.82+00:00
KOZ6.0 6,315 Reputation points
1 answer

I can not see the form any more

Hi When I open the form I get error Timed out while connecting to named pipe. What it mean and how to fix ? Thanks

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 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,732 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,224 questions
asked 2024-05-14T12:54:55.9733333+00:00
William de 116 Reputation points
commented 2024-05-16T19:32:25.08+00:00
Michael Taylor 52,721 Reputation points
1 answer One of the answers was accepted by the question author.

How can I change the icon of an MSI file?

Is it possible to customize the icon of an MSI file created using the WiX tool for a .NET project, rather than using the default icon suggested by the Windows system?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
67 questions
asked 2024-05-06T10:20:10.0866667+00:00
india-drive 20 Reputation points
accepted 2024-05-16T09:41:11.0333333+00:00
india-drive 20 Reputation points
3 answers

what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?

what's the difference between windows forms app and windows forms app (.netframework) in vs 2022?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
asked 2023-03-30T06:15:45.95+00:00
Alick Wang 266 Reputation points
answered 2024-05-14T13:43:26.0466667+00:00
Alee Jee 0 Reputation points
3 answers One of the answers was accepted by the question author.

Debugging the Painting code of a control - stepping through System.Drawing code?

I'm working on a custom control that has a fairly hard-to-diagnose bug in its Painting/Drawing code, which is using GDI+ System.Drawing tools. This is in a sub-method being called from an overridden OnPaintBackground method. It would be much easier if I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
asked 2024-05-11T18:18:22.0666667+00:00
gb 66 Reputation points
accepted 2024-05-13T18:43:23.0733333+00:00
gb 66 Reputation points
2 answers One of the answers was accepted by the question author.

permanent footer row in datagridview

hi , is there a way by which our datagridview control could have a footer row below exactly after the 12 rows and if the rows in the datagridview increases , suppose by 2 . it should always be at last position but it always should be after 12 rows . the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 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,732 questions
asked 2023-09-21T12:32:58.41+00:00
ankit goel 766 Reputation points
commented 2024-05-13T18:35:41.33+00:00
KOZ6.0 6,315 Reputation points
1 answer

Unwanted Space and Margins are surrounding the control in designer when Integrating WPF User-Control into Form using ElementHost

When integrating the WPF user-control (For Example: The UserControl contains the button) into a form using ElementHost, there are unwanted spaces and margins surrounding the control in the designer. It works fine in runtime; reported issue is reproduced…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 questions
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,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,732 questions
asked 2023-06-21T06:32:40.6233333+00:00
bagavathi basker 0 Reputation points
commented 2024-05-13T12:40:53.9366667+00:00
Karthick Arjunan 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to extract part of the text from the line with a special format

hi Bolded areas need to be extracted. I don't know how to use Regex library. my Format [One of the tags] is Sample '10LBA04CT004-XQ01' Start text with 150,000 lines and have different tags. thank { N 3-SH 3-sh 3-sh 3-SH N 10LBB09 EQUIPMENT =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,879 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,963 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,696 questions
asked 2024-05-13T02:00:27.6033333+00:00
Mansour_Dalir 1,796 Reputation points
commented 2024-05-13T07:48:47.7066667+00:00
Mansour_Dalir 1,796 Reputation points