1,920 questions with Windows Forms tags

Sort by: Updated
1 answer

How to troubleshoot "designer load encountered an error"

Is there a good reference to assist with design time form load errors?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
asked 2025-01-26T19:04:53.7533333+00:00
Henriksen, Keith (NTSHQ) 0 Reputation points
answered 2025-01-27T01:37:28.6966667+00:00
Jiachen Li-MSFT 33,196 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix SystemLoadExecption

Exception has occurred: CLR/System.TypeLoadException An unhandled exception of type 'System.TypeLoadException' occurred in Winappli.dll: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.NotificationActivator' from assembly…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,537 questions
asked 2024-07-23T23:13:08.8466667+00:00
Nat323 25 Reputation points
commented 2025-01-24T15:38:19.6066667+00:00
Max Schmidt 0 Reputation points
0 answers

How to fix error while sending email from windows from?

System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
asked 2025-01-23T10:36:57.5933333+00:00
SIC Team 0 Reputation points
commented 2025-01-23T12:17:14.5+00:00
Jiale Xue - MSFT 48,856 Reputation points Microsoft Vendor
1 answer

windows.opener() handling with WebView2

In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
Universal Windows Platform (UWP)
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,237 questions
asked 2025-01-13T06:37:06.7133333+00:00
Neha 20 Reputation points
commented 2025-01-22T02:15:22.47+00:00
Roy Li - MSFT 33,591 Reputation points Microsoft Vendor
6 answers One of the answers was accepted by the question author.

How To Post Question On social.msdn.microsoft.com?

I am trying to post on social.msdn.microsoft.com but every time I click on ask question it redirects me to learn.microsoft.com. Please help.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
asked 2021-04-08T13:48:49.163+00:00
feddea cbrolleru 26 Reputation points
answered 2025-01-21T04:52:58.8566667+00:00
akams suthapp 0 Reputation points
0 answers

Ordinal 129 could not be located in DLL (loadlibrary | peak PCAN passthru | winforms application)

Hello all, I'm facing an issue with latest version of Peak PCAN driver, when I try to load the DLL of the latest driver in my winforms project the above error is shown. The catch is using the same loadlibrary function in any other project…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,002 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,377 questions
asked 2025-01-17T06:04:13.94+00:00
Soul 0 Reputation points
commented 2025-01-20T20:21:29.9766667+00:00
RLWA32 46,561 Reputation points
2 answers

Visual Studio: Publishing Windows Application to ftp no longer works - please help!

I have been successfully publishing my Windows Applications built in Visual Studio for years now, to my website with an ftp account. I can connect to the ftp with Filezilla and Windows 10, no problem, but not in the publish. I've looked online for…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,377 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,076 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,618 questions
asked 2021-05-21T06:52:20.72+00:00
James Parsons 1 Reputation point
answered 2025-01-17T20:07:50.9633333+00:00
Márton Görög 0 Reputation points
1 answer

how to fix To prevent possible data loss before loading the designer, the following errors must be resolved: ?

|Here is the call stack:at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateVariableKindUnknownException(XmlElementData xmlElement, String name)at …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
asked 2023-09-09T17:39:10.5133333+00:00
cdog78 0 Reputation points
commented 2025-01-14T19:32:25.9533333+00:00
Roque, Rudy 21 Reputation points
1 answer One of the answers was accepted by the question author.

Close and then open a new tab page or window asks authentication

I am trying to embed a webform application in WinForm using Webview2 control. The new window opens in a tab page with webview2 child ( e.handled=true). But when destroying the child tab wm_destroy is not calling properly. so each time while open a new…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,741 questions
Universal Windows Platform (UWP)
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,237 questions
asked 2025-01-11T04:26:32.7333333+00:00
Neha 20 Reputation points
accepted 2025-01-13T02:00:16.2866667+00:00
Neha 20 Reputation points
2 answers One of the answers was accepted by the question author.

visual studio windows form call error

when i try to add windows form to my project , it outputs errors i make clr empty project .net framework Instances of this error (1) Hide Call Stack at Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider() …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,834 questions
asked 2021-04-26T10:43:01.043+00:00
shams 21 Reputation points
commented 2025-01-03T10:50:28.1133333+00:00
Giovanni Arzedi 0 Reputation points
2 answers

How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)

Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
asked 2024-12-27T06:00:17.44+00:00
dorian tester 0 Reputation points
edited the question 2025-01-02T02:52:02.77+00:00
Tianyu Sun-MSFT 32,426 Reputation points Microsoft Vendor
2 answers

Advice on Signing and Certificate Options for a WPF Project

Hi, I have a WPF project based in Dublin, initially intended for approximately 100 users in Ireland, with plans to expand both inside and outside the EU over the long term. The business was established in September 2022. I’d like advice on the best…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,817 questions
Azure Trusted Signing
Azure Trusted Signing
Trusted Signing is a Microsoft fully managed, end-to-end signing solution that simplifies the certificate signing process and helps partner developers more easily build and distribute applications.
148 questions
asked 2024-12-21T17:48:00.1666667+00:00
Mustafa Walid 0 Reputation points
answered 2024-12-26T22:09:36.44+00:00
Ken Tucker 5,856 Reputation points
1 answer

Visual Studio 2019 Crashes When Closing Windows Form in Design View

Maintaining a Windows Forms application in Visual Studio 2019 (version 16.11.42) that uses Janus controls. Recently, there is a form within the application that when opened in design view indicates there are changes as soon as it is opened. Closing and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,377 questions
asked 2024-12-12T20:49:16.4+00:00
Euris 0 Reputation points
commented 2024-12-24T07:05:11.7633333+00:00
Anna Xiu-MSFT 30,801 Reputation points Microsoft Vendor
1 answer

Testing a Windows Form @ design time

Hi All, When you're working on a dialog under the resource view for a Windows Desktop Application/C++ you can any time test your dialog at design time simply clicking Ctrl+T. There is no need to build the project and run it. I tried to find…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
asked 2022-11-09T20:43:56.423+00:00
C V 46 Reputation points
commented 2024-12-23T16:22:22.96+00:00
Marton Bardos 0 Reputation points
2 answers

How to Append Data to a Text File in a Windows Forms Application?

In a Windows Forms application, data is read from a text file and displayed in a list box. The goal is to add a new item from a textbox to the same text file when a button is pressed, but the item is not being appended to the file as expected. The button…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
asked 2024-12-21T19:15:40.1266667+00:00
Cenk 1,026 Reputation points
answered 2024-12-23T11:16:33.8466667+00:00
Karen Payne MVP 35,476 Reputation points
2 answers

Visual Studio 2022 WinForm Designer throws 'Object reference not set to an instance of an object' exception when loading child Winform Window

Hi all, I have a C# project in .Net Framework 4.8 with WinForm as UI. I use upgrade assistent to convert the project from .Net Framework 4.8 to .Net 6.0. The project is able to compile an execute and run. However, when I try to open the WinForm in…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,377 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,237 questions
asked 2023-04-28T10:39:42.7766667+00:00
KaLun Leung 0 Reputation points
answered 2024-12-21T21:34:42.8066667+00:00
reasra 0 Reputation points
2 answers One of the answers was accepted by the question author.

visual C# windows form project, cannot assign to a "using variable"

Hi, this code I want to identify the ID of the PC (processor + motherboard), so that I can use later for the database of the users. Here code: using (ManagementObjectCollection objectList = null) { ManagementObjectSearcher objectSearcher = new…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
asked 2024-12-17T21:21:39.8366667+00:00
Gennady Gurin 81 Reputation points
accepted 2024-12-19T23:40:43.94+00:00
Gennady Gurin 81 Reputation points
1 answer One of the answers was accepted by the question author.

Windows Form Project c#, checking if Key exist in Registry

Hi, I tried various things does not seem to work if key does not exist it gives exceptional error, but if it does it works. Here Code: private void Form1_Load(object sender, EventArgs e) {        RegistryKey Key =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,237 questions
asked 2024-12-12T23:44:37.34+00:00
Gennady Gurin 81 Reputation points
commented 2024-12-15T01:54:03.4633333+00:00
Gennady Gurin 81 Reputation points
2 answers One of the answers was accepted by the question author.

Creating and displaying forms in VS 2022 Community 17.12.3

Hello I reopen under VS 2022 Community 17.12.3 an old WinForm application developed by me under VS 2010, which targets .Net Framework 4.0. Under VS 2022 it now targets .Net Framework 4.8.1. The compilation is Ok and I start the execution (in Debug and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 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,377 questions
asked 2024-12-12T16:35:14.8133333+00:00
Amyco 35 40 Reputation points
commented 2024-12-13T17:14:50.0033333+00:00
Amyco 35 40 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 exeptionn 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,920 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,768 questions
asked 2024-10-18T05:54:17.3033333+00:00
Yusuf-3141 50 Reputation points
edited the question 2024-12-13T12:18:35.1866667+00:00
TP 102K Reputation points