1,931 questions with Developer technologies | Windows Forms tags
Visual Studio 2022 Not Responding after adding ContextMenu
I'm using VS 2022 v17.14.7 developing a WinForms app using .Net 8.0 and C#. When I add a ContextMenu to any form and try to add a menu item under it, Visual Studio stops responding and has to be killed via the Task Manager. This also happens when using…
Developer technologies Windows Forms
in dlt pipeline , after dlt.except_all("rules") , the dlt.table can not filter the column("_dlt_valid")
in my DLT pipeline , I want load the bronze table data into silver table after validation , other non-valid data load into reject table . in silver silver use the function dlt.except_all("rules") , but in silver layer part , the pipeline can…
Developer technologies Windows Forms
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…
Developer technologies Windows Forms
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.
Developer technologies Windows Forms
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…
Developer technologies Windows Forms
Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other

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…
Developer technologies Windows Forms
Windows for business Windows Server User experience Other
Windows for business Windows Client for IT Pros User experience Other

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 { …
Developer technologies Windows Forms
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.
Developer technologies Windows Forms
Microsoft Teams Microsoft Teams for business Other
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…
Developer technologies Windows Forms
SQL Server Other
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 =…
Developer technologies Windows Forms
.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…
Developer technologies Windows Forms
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…
Developer technologies Windows Forms
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…
Developer technologies Windows Forms
Developer technologies Visual Studio Other

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…
Developer technologies Windows Forms
Developer technologies Windows Presentation Foundation
Windows for business Windows Client for IT Pros User experience Other
Developer technologies Visual Studio Other
Developer technologies C#
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…
Developer technologies Windows Forms
Developer technologies C#


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) …
Developer technologies Windows Forms
Developer technologies Visual Studio Other
Developer technologies C#
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…
Developer technologies Windows Forms
Developer technologies C#
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…
Developer technologies Windows Forms
Windows for business Windows Client for IT Pros User experience Other
Developer technologies Visual Studio Other
Developer technologies C#
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…
Developer technologies Windows Forms
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…
Developer technologies Windows Forms
Windows development Windows API - Win32
Developer technologies VB
