1,929 questions with Windows Forms tags

Sort by: Updated
3 answers

Windows Forms Application Icon suddenly shows as default icon or does not update color after KB5051989 update

Hi, Our C# Windows Forms Application icon (in the taskbar) suddenly shows as default icon or sometimes doesn't update its color (based on the customization) after installing the KB5051989 update. This has been working for 15 years, and the issue just…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-03-06T08:36:12.63+00:00
Emmanuel Guballa 25 Reputation points
commented 2025-06-10T07:15:15.9333333+00:00
Emmanuel Guballa 25 Reputation points
1 answer One of the answers was accepted by the question author.

Need DOS ZM executable sample

Hi List of file signatures on Wikipedia shows: DOS ZM executable and its descendants (rare) magic number: 5A 4D I searched a lot on my old Dos apps but didn't find one, anyone can share a ZM exe sample? Thanks.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-06-08T22:01:53.75+00:00
StewartBW 1,720 Reputation points
accepted 2025-06-09T10:17:04.2733333+00:00
StewartBW 1,720 Reputation points
2 answers

add-adgroupmember in winfoms

I am trying to create a winform to create ___domain users . I am stuck on "add-adgroupmember" It's keep giving me error messgae" Add-ADGroupMember: Cannot convert 'Group1 Group2 Group3 Group4' to the type…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,972 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
1,044 questions
asked 2020-12-24T17:21:59.56+00:00
matt chen 1 Reputation point
edited the question 2025-05-29T21:58:58.6766667+00:00
DillanSimmons 6 Reputation points Admin
1 answer One of the answers was accepted by the question author.

File and Print Sharing on Windows 10

When I select "Add a printer" the list of printers added in Active Directory does not populate. I can however, select "The printer I want isn't listed" and then select "Find a printer in the directory" and all printers are…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,075 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
1,044 questions
asked 2020-10-06T07:07:35.197+00:00
Richard puahala 21 Reputation points
edited the question 2025-05-29T21:44:15.72+00:00
DillanSimmons 6 Reputation points Admin
1 answer

Unable to use ArrayEditor class in WinForms application with Microsoft.WinForms.Designer.SDK in NET9

In a simple NET9 WinForms application, I have tried to create a custom class which is derived from ArrayEditor class, and it works only before I added the Microsoft.WinForms.Designer.SDK in my application. public class MyArrayContainer : ArrayEditor { …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-05-23T06:07:18.27+00:00
Karkuvel Rajan Shanmugavel 20 Reputation points
answered 2025-05-26T14:21:33.32+00:00
Donghoon Choi 0 Reputation points
1 answer One of the answers was accepted by the question author.

Unsubmitted Test Form

I wasn't able to submit because I had one unanswered question when the timer had ran out but it says that my response has been submitted and it's labeled as completed in my assignments. I'm wondering if my teacher could see my answers.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
asked 2023-03-17T10:25:55.6133333+00:00
charles luis 25 Reputation points
commented 2025-05-24T09:11:47.48+00:00
NUAR NAGMELDIN SULIMAN ABDALLA 0 Reputation points
1 answer

Very long data display time in a DataGridView

Hello, I'm developing an application with WinForms in Windows10, and I'm using a DataGridView to display data from a local database with SQLite. The problem is, when I want to display more than 100 items, my HMI freezes for a few minutes before…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,492 questions
asked 2021-10-16T14:13:35.413+00:00
Edouard Durand 1 Reputation point
commented 2025-05-07T11:07:43.6833333+00:00
xyz mobile 0 Reputation points
1 answer One of the answers was accepted by the question author.

VB .NET USB Eject not working

Form has a ComboBox and a button. Imports System.IO Imports System.Management Imports Shell32 Public Class Form1 Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown 'Dim driveArray() As String =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-04-15T04:54:05.5333333+00:00
Devon Nullman 40 Reputation points
commented 2025-04-30T13:50:00.4966667+00:00
Devon Nullman 40 Reputation points
1 answer One of the answers was accepted by the question author.

.Net Framework 4.8 WinForms apps on store

Hello Since the Store can accept apps written with .Net Framework 4.8 WinForms, what happens to the UWP File access permissions? The WinForms app can read/write anywhere, I've tested the appx/msix. So, it will get rejected? Also, I write my app's data…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-04-02T09:37:24.7933333+00:00
StewartBW 1,720 Reputation points
accepted 2025-04-02T16:55:28.1566667+00:00
StewartBW 1,720 Reputation points
1 answer One of the answers was accepted by the question author.

D drive locked with bitlocker after windows recovery from factory

Hello, I restored Windows from the factory (windows 10), after installing, I found my D drive was automatically locked by bitlocker. This is a Dell laptop that has been used for 5 years, I also do not remember if I installed a microsoft account on the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2025-03-27T06:37:56.0633333+00:00
Đỗ Tuấn Anh_CN&QTTH 25 Reputation points
commented 2025-03-27T11:12:45.0533333+00:00
Đỗ Tuấn Anh_CN&QTTH 25 Reputation points
7 answers One of the answers was accepted by the question author.

Reopen Documents on Solution load not working since upgrade to 16.9

Since upgrading to 16.9 VS is not reopening on Solution load the files that were open at shutdown (I always use File -> Exit). I've verified "Reopen Documents on Solution load" is checked in Options and the solution's .vs folder has been…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,449 questions
asked 2021-03-13T12:46:46.1+00:00
Art Hansen 571 Reputation points
commented 2025-03-24T18:40:23.2666667+00:00
Anonymous
1 answer One of the answers was accepted by the question author.

The keyboard inputs are not updating correctly in the hosted WinForms application

Hi, We are encountering an issue in a WPF application hosted within a WinForms application. The keyboard event is triggered correctly, but the values are not updating properly in the UI.   Here’s the setup: Create a WinForms application with a user…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,854 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,449 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,549 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,845 questions
asked 2025-02-04T09:07:39.76+00:00
Yathavakrishnan 40 Reputation points
commented 2025-03-18T14:16:18.6366667+00:00
Yathavakrishnan 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to programmatically set an icon that is in resources in C#

I'm trying to programmatically set my program's icons in code using an icon in the resources in C#. This code here doesn't work: System.ComponentModel.ComponentResourceManager resources2 = new…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,549 questions
asked 2022-10-21T00:55:11.923+00:00
Spamzilla 41 Reputation points
commented 2025-03-07T11:56:18.2+00:00
1 answer

Settings.Default.Upgrade does not copy over the user settings to new release

Hello, I'm writing a console app in Winform with Visual Studio 2019. I want the user settings to persist every time I release a new version. I'm using this piece of code to do that. if (Properties.Settings.Default.UpgradeRequired) …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,449 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,549 questions
asked 2021-04-12T10:06:38.903+00:00
Dinh Ton 1 Reputation point
commented 2025-03-06T10:10:47.1733333+00:00
Nick Brown 0 Reputation points
3 answers

How is it possible to implement a complete semblance of a console (online compiler) in win fomrs?

Good time! Faced such a task as implementing code execution as in a console application in C # (with classes, methods, the ability to read data, etc.). Everything went super until I started testing my application. The problem is that I can execute code…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,549 questions
asked 2025-02-11T14:53:37.4833333+00:00
Efrem 20 Reputation points
commented 2025-02-20T03:24:14.08+00:00
Anonymous
0 answers

How to fix the problem of controls disappearing from the screen design window.

I am using Visual Studio Community 2022 version. In the C# WinForm framework environment, when changing the position or size of the screen design window control, an error occurs where the control disappears. In that case, if I close and open the Form…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,449 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,549 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,845 questions
asked 2025-02-18T01:56:00.6033333+00:00
재웅 이 0 Reputation points
commented 2025-02-19T03:14:30.5666667+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

Can not move my buttons in forms

i am learning C# and i got to microsoft forms. so in my book it tells me to create a "TabControl" and add 3 simple buttons in the first tab of the TabControl. everytime i add a button, i can not reposition it anymore within the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2021-08-15T23:55:51.45+00:00
Artjom Schmitke 26 Reputation points
commented 2025-02-12T08:23:34.05+00:00
John Hola 0 Reputation points
4 answers One of the answers was accepted by the question author.

How to display menu by NotifyIcon without displaying the form in Taskbar

I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,772 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,889 questions
asked 2024-08-10T19:15:01.1466667+00:00
Mansour_Dalir 2,036 Reputation points
answered 2025-02-06T10:38:05.2+00:00
Stephan Berger 0 Reputation points
1 answer

Attempting to register a 64-bit Enterprise Architect DLL with built-in windows

Hello, I am attempting to create a 64-bit DLL as an add-in for Enterprise Architect. However, in order to do what I need it to, I have to include some form of additional window. Is there any possible way to add in these extra windows in a way so that…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 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,549 questions
asked 2025-02-04T10:17:45.18+00:00
Alun Buss 0 Reputation points
commented 2025-02-04T15:35:56.39+00:00
RLWA32 49,311 Reputation points
1 answer One of the answers was accepted by the question author.

setWindowCompositionAttribute After setting transparency, how to restore

When I use setWindowCompositionAttribute to set a window to be transparent, what is the correct way to restore the window to its original state when I can not make the window transparent

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,929 questions
asked 2022-12-10T14:22:59.777+00:00
XUWANBIN 201 Reputation points
commented 2025-02-02T14:08:51.36+00:00
szx0427 101 Reputation points