1,834 questions with Windows Forms tags

Sort by: Updated
1 answer

Visual Studio problem

I am using Visual Studio 2019. And in the toolbox, there is this thing called "NavigationMenu". But I don't see it in the toolbox, and I need it for my project. Please help me

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,657 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,622 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,277 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
asked 2024-05-04T04:29:26.4733333+00:00
Hamoude Assaf 0 Reputation points
answered 2024-05-04T09:21:03.2033333+00:00
Karen Payne MVP 35,036 Reputation points
1 answer

How to copy current project & assign New Name ?

Hello & Thanks ; I have a current project named GetElementsByTagname and from it I would like to make a new project named GetElementsByTagname-Copy-01 . I want to try different versions of same code . Thanks for your Help...

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2020-08-28T17:03:25.297+00:00
vmars316 621 Reputation points
commented 2024-05-03T18:52:19.21+00:00
RM Haley 11 Reputation points
0 answers

New Form is not shown while drag & drop a Custom Control from toolbox to Designer in WinForms in NetCore

In our Control, we have opened a new form to update the content of our control in the Designer. The new Form is not shown in the NetCore but works properly in the NetFrameWork. I have replicated the same issue in a simple control. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
asked 2024-05-03T14:04:08.6633333+00:00
Karkuvel Rajan Shanmugavel 0 Reputation points
edited a comment 2024-05-03T17:22:10.59+00:00
Viorel 112.5K Reputation points
0 answers

CTRL Commands Not Working with Winforms Web Browser

Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,676 questions
asked 2024-04-22T20:38:22.62+00:00
Lpatz-4663 20 Reputation points
commented 2024-05-03T16:00:20.7533333+00:00
Lpatz-4663 20 Reputation points
2 answers One of the answers was accepted by the question author.

In the .Net framework, I am using a large panel in Form1. In this panel, I call up Form3 and in this Form3, I have created a chart control function. How is it that the chart, which has been placed and sized as desired, is visible during testing but not in

first picture = code second = form3 third = Test run what i try to do is in Form1, add a panel, and in that panel ill switch forms 2,3 and 4 with buttons and in form3 i call Control Chart and use enough space as in picture 2 and i must say all…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,395 questions
asked 2024-05-02T23:33:52.27+00:00
Dinant Baan 20 Reputation points
answered 2024-05-03T07:15:05.19+00:00
Dinant Baan 20 Reputation points
1 answer

How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?

I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2024-05-01T18:51:36.1366667+00:00
DaveF 21 Reputation points
answered 2024-05-02T14:46:39.7133333+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to validate textbox with empty field in wpf forms

Hi Team I have these two fields i want to validate, does anyone knows how to achieve this in wpf on the forms? The bottom seal and TopSeal fields, if empty it must prompt a window dialog message.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2024-04-24T11:21:49.9533333+00:00
Gcobani Mkontwana 20 Reputation points
accepted 2024-05-02T05:58:01.2066667+00:00
Gcobani Mkontwana 20 Reputation points
2 answers

Debug profile does not exist - How to get it?

I am new to Visual Studio 2019 and am attempting to make a data input application using a Windows Form App. I keep getting an error that won't let my app launch saying that "The debug executable {file path to where the debug executable should…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
asked 2022-02-24T22:16:47.297+00:00
Justin Cooley 6 Reputation points
commented 2024-05-01T11:40:49.7966667+00:00
abofazl jalil 0 Reputation points
1 answer

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
commented 2024-04-30T14:44:45.1566667+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
1 answer

Visual Studio Designer Copy With Name

I created a new label. It came with "label1" name. I changed the name "label1" to "myLabel1". I'm copying this: "myLabel1" When I paste it comes as: "label1" It wasn't like this before. When I paste must…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,622 questions
asked 2024-04-27T05:37:43.91+00:00
Doğukan Topaloğlu 0 Reputation points
commented 2024-04-30T04:14:03.3333333+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
1 answer

Why WebBrowser doesn't show up in toolbox?

I want to make an own custom web browser so i looked for tutorial, when i at the insert WebBrowser extension, it's not shown up. I tried to reset and added it again, but it shows up "Added sucessfully but can't see or use in designer". I tried…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,622 questions
asked 2024-04-19T08:05:06.3166667+00:00
Ocean 0 Reputation points
commented 2024-04-30T02:44:34.6+00:00
Tianyu Sun-MSFT 27,356 Reputation points Microsoft Vendor
3 answers

Using SQL Server Read/Write Image Ever Day With A Table

I've a case that need to save Image in database, than user can search/upload site(DB) to site(DB) ever day from winform. Every image size average 250kb - 350kb, The total usage with image perhaps growth 110GB/year without delete form database. I'll…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2024-04-25T12:58:15.02+00:00
LRC1006 0 Reputation points
commented 2024-04-29T20:57:40.3133333+00:00
Erland Sommarskog 101.4K Reputation points MVP
2 answers One of the answers was accepted by the question author.

Error loading report.rdlc,Unable to copy bin\debug\

Good afternoon again, I have already searched for information online, but I have not been able to find the error. The error is the following: An error occurred during local report processing. The report definition has not been specified, the file is not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,806 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,277 questions
asked 2024-04-24T20:48:56.4066667+00:00
Roberto Carlos Melgar Dorado 80 Reputation points
accepted 2024-04-25T20:02:00.6933333+00:00
Roberto Carlos Melgar Dorado 80 Reputation points
2 answers One of the answers was accepted by the question author.

VS 2022 ReportViewer Error: "The report cannot be displayed. The report viewer could not find a report definition."

Please help me with this problem I'm having. I'll start by explaining my problem: I need to load reports, and for that I'm using the native reports of VS 2022. Here's what I've done so far: I created my .xsd file called DataSetInformes.xsd I added my…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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.
12,757 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,277 questions
asked 2024-04-23T16:21:18.7333333+00:00
Roberto Carlos Melgar Dorado 80 Reputation points
accepted 2024-04-24T14:52:18.47+00:00
Roberto Carlos Melgar Dorado 80 Reputation points
4 answers

List SQL Server Instances

Good afternoon, I have a windows form that I am working with. When I first wrote this code it worked and was able to pull a list of SQL Servers for a ComboBox, and then as I changed servers it would populate another ComboBox with databases. I…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,277 questions
asked 2022-08-18T19:33:09.817+00:00
Michael Mastro II 51 Reputation points
commented 2024-04-22T09:56:55.08+00:00
Brendan Daunt 0 Reputation points
1 answer

All Toolbox Options Greyed in Visual Studio 2022

I have recently upgraded my WinForm C# application from .Net 4.7.x to .Net 6 I wish to make a change to one of the Forms, however when I try to add any control to any form, I find that all options are greyed out in the Toolbox, so I can modify any of the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,277 questions
asked 2024-04-20T11:10:48.4966667+00:00
Tony Hedge 1 Reputation point
commented 2024-04-22T09:39:34.93+00:00
Jiale Xue - MSFT 33,686 Reputation points Microsoft Vendor
1 answer

Unable to Unblock Form - Health ] Message Center

Hello Please i need your help on this issue. The form is legit. As a global admin and I want to unblock it. But I cannot see the Unblock button, there is only an option to delete the form I also see this error This form can't be…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,120 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,010 questions
asked 2022-10-19T11:03:25.353+00:00
IBN 4,336 Reputation points
edited a comment 2024-04-21T04:53:13.83+00:00
Angine Abedian 0 Reputation points
1 answer

hello when i try to update my device its an error how can i fix it ?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,170 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,728 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
631 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,218 questions
asked 2024-04-20T14:53:51.4233333+00:00
office 0 Reputation points
accepted 2024-04-20T14:54:46.9433333+00:00
office 0 Reputation points
2 answers One of the answers was accepted by the question author.

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 20 Reputation points
accepted 2024-04-19T17:56:13.59+00:00
Zach M 20 Reputation points
2 answers

Appropreate message to initiate window move with the mouse button up

Unfortunately I was asking the wrong way. I know how to move the form by setting its Location property. I have a working solution without p/invoke on github although quite convoluted for my taste. My question is "can I avoid this convolution by…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 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,426 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,277 questions
asked 2022-12-17T11:19:29.73+00:00
adamstyl 1 Reputation point
edited an answer 2024-04-18T22:03:36.0866667+00:00
Gavin Landon 0 Reputation points