1,904 questions with Windows Forms tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Why my Visual Studio 2022 Crashes when added new Windows Form UI in CLR Project?

Following This Tutorial Video, I'm keep Experiencing fatal crash at Adding new WinForm UI item. (at 3:10~ in video) followed Exactly the video's tutorial.(the video gets an Error too, but It's not fatal as I crash.) I Made new CLI Empty Project(.NET…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,220 questions
asked 2024-10-24T07:15:20.41+00:00
Gyumin Kang 25 Reputation points
edited a comment 2024-11-15T16:39:03.5533333+00:00
shiey 0 Reputation points
1 answer One of the answers was accepted by the question author.

Chart control. I need to show the Label of the bar in the middle of the bar not on top

I need to show the Label of the bar in the middle of the bar not on top. To get the original photo below, I have set the series flag IsValueShownAsLabel to true. The desired label position is shown in the second screenshot. Original: Desired:

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-11-12T17:50:08.4466667+00:00
Alvord, Timothy 256 Reputation points
accepted 2024-11-13T17:38:19.77+00:00
Alvord, Timothy 256 Reputation points
1 answer

Windows defender blocking signed apps

Hi, I have created some windows forms apps, the apps are all signed with a Sectigo code signing certificate but when I download them from my own website, I initially get the windows defender warning that the app has been blocked for my protection, once I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 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.
5,533 questions
asked 2024-11-06T20:40:52.93+00:00
SeanPress 206 Reputation points
answered 2024-11-08T02:38:07.42+00:00
Yanhong Liu 12,585 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

how to get the encoding of text?

how to get the encoding? if I have text like this:Καλώς ήρθατε στην επίσκεψη how to get its encoding? I know it is in windows-1253 but if there is textBox and user input some text how to get the encoding?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,940 questions
asked 2024-11-07T04:41:04.5733333+00:00
mc 4,696 Reputation points
commented 2024-11-07T08:43:45.7766667+00:00
SurferOnWww 3,276 Reputation points
0 answers

How to solve: You have reached the maximum number of connections for the sendmail API.

Trying to use power automate to flow the response but getting the error message when using sending mail funciton v3 You have reached the maximum number of connections for the sendmail API.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-11-04T02:53:11.5333333+00:00
Sheila 0 Reputation points
commented 2024-11-04T06:57:06.17+00:00
Jiale Xue - MSFT 46,636 Reputation points Microsoft Vendor
2 answers

How do i download Windows XP Pro Embedded ?

I have very old model of IPC with Windows XP Pro Embedded license, unfortunately the HDD has been crashed, Now i have to reinstall XP Pro Embedded, but can't find or download the ISO from web. Can anyone suggest me how can i do this? Thanks in advance…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 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.
5,533 questions
asked 2024-11-03T06:54:53.6666667+00:00
Topon Kumar Pal 0 Reputation points
answered 2024-11-04T01:25:26.8766667+00:00
Hania Lian 17,776 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix the error

Severity Code Description Project File Line Suppression State Error (active) NETSDK1004 Assets file 'C:\Users\User\source\repos\WinFormsApp1\WinFormsApp1\obj\project.assets.json' not found. Run a NuGet package restore to generate this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-11-03T16:34:49.49+00:00
Laurette Yiantet 20 Reputation points
accepted 2024-11-03T17:29:27.7666667+00:00
Laurette Yiantet 20 Reputation points
2 answers

4D Linked list Text Editer using Winform

My task is to use a 4D linked list and display Linked List in Windows form and store data in a .txt file using file handling. and how can I input my data in linked list because console .read is not available in winform How can I display my linked…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2021-01-04T02:12:26.45+00:00
just-umair 1 Reputation point
answered 2024-11-01T13:27:05.49+00:00
rewat verma 0 Reputation points
1 answer One of the answers was accepted by the question author.

Visual studio Resource files are being stored as string

I updated to vs2022 17.11.5. In the older vs2022, i was able to add a resource file through project properties. The set up was almost automatic. And when I needed the resource file I just call it using My.resource.[fileName] and get a byte() stream of…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,220 questions
asked 2024-10-24T16:15:29.2066667+00:00
Merc 20 Reputation points
edited the question 2024-11-01T02:54:45.69+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer

How to debug unexpected behavior in tree view navigation after implementing lazy loading and caching in Winforms and C#?

I am creating a taxonomy as a tree view in Visual Studio Winforms with C#, which already holds some 40,000+ items in an SQLServer data base, and its nodes details are translated into 15 languages into a data grid. The latency for directly loading the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-10-28T16:36:43.7566667+00:00
Yves Chaix 0 Reputation points
answered 2024-10-29T12:27:02.3066667+00:00
Jiale Xue - MSFT 46,636 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How should I use the Visual Studio 2022 Image Library?

I am developing a WinForm application using C# in VS2022, targeting .NET 8.0. I downloaded the "Visual Studio 2022 Image Library," which contains PNG and SVG files. I want to use the PNG files to add images to my buttons, but the resolution…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,220 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.
11,042 questions
asked 2024-10-11T09:49:00.7266667+00:00
霖松 胡 40 Reputation points
edited the question 2024-10-28T02:17:56.68+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
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,904 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,220 questions
asked 2022-01-05T11:35:59.977+00:00
cshermak 1 Reputation point
commented 2024-10-27T21:12:05.3433333+00:00
Norton, Mark 0 Reputation points
3 answers

How do you prevent form closing when events or methods are still running?

I'm struggling with the issue of user prematurely closing (using the Red X button) a form while it is processing an event or another process is calling a method in it. Object references inside the running event or method might become invalid because the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,940 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.
11,042 questions
asked 2024-10-23T21:26:27.7133333+00:00
Joseph Querijero 0 Reputation points
answered 2024-10-25T16:28:36.6433333+00:00
Karen Payne MVP 35,441 Reputation points
2 answers

Exception when using Firebase streaming

Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeption this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 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,741 questions
asked 2024-10-18T05:54:17.3033333+00:00
Yusuf-3141 45 Reputation points
edited the question 2024-10-21T02:26:16.0966667+00:00
Yusuf-3141 45 Reputation points
1 answer

Clickonce setup app crashes

on a windows 7,64 bit, Sp1 can a C#.net winform application build on framework 4.8 be installed ? it was possible to install framework 4.8 on windows 7 sp1, 64 bit pc the clickonce setup also ran sucsesfully. but application starts and stops…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-10-10T15:46:30.5933333+00:00
Sushil Agarwal 406 Reputation points
edited an answer 2024-10-20T02:01:54.2466667+00:00
Sushil Agarwal 406 Reputation points
3 answers One of the answers was accepted by the question author.

Get Results from Task.WhenAll for multiple tasks

Hi Folks, I am trying to get the results back from running multiple tasks. Each task point to a function and returns either true or false. Here is my code: var t1 = new Task(() => { CheckNC(); }) ; var t2 = new Task(() => { CheckNL(); }); var t3…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,760 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.
11,042 questions
asked 2024-10-03T10:19:58.7366667+00:00
john noble 161 Reputation points
commented 2024-10-18T07:48:56.5366667+00:00
Jiale Xue - MSFT 46,636 Reputation points Microsoft Vendor
2 answers

Assistance Required for Resolving "System.OutOfMemoryException" in Visual Studio

Subject: Help Needed with System Out-of-Memory Issue in Visual Studio Hello Everyone, I hope you're all doing well. I'm working on a project in Visual Studio that includes a large number of forms, user controls, and images used as icons. However, I am…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,940 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,220 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.
11,042 questions
asked 2024-10-03T23:49:42.52+00:00
Hoshyar Hussein 0 Reputation points
commented 2024-10-15T07:42:13.35+00:00
Jiachen Li-MSFT 32,451 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file

vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,040 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,741 questions
asked 2023-06-03T22:17:41.8+00:00
Ahmed Ramadan 20 Reputation points
accepted 2024-10-12T15:43:45.2433333+00:00
Ahmed Ramadan 20 Reputation points
2 answers

How to Fix: Method "Form1_Load" not Found

just got started using visual basic and I don't know how to fix this

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 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,741 questions
asked 2024-09-27T04:32:34.6266667+00:00
Kaz 0 Reputation points
commented 2024-10-10T06:45:03.8466667+00:00
Jiachen Li-MSFT 32,451 Reputation points Microsoft Vendor
2 answers

GUI using Windows Forms and Powershell

I am building a GUI using Windows Forms in Powershell. I have created 4 Radio Buttons with a line of text to the right of each button to describe the purpose . The text is long (22 Characters) and it is being wrapped onto two lines when I want it to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
asked 2024-09-08T18:03:07.94+00:00
Dave Turnbull 20 Reputation points
commented 2024-10-10T01:59:21.4433333+00:00
Jiale Xue - MSFT 46,636 Reputation points Microsoft Vendor