1,808 questions with Windows Forms tags

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

How to Navigate on goButton_Click in winView2 ?

Tia ; How to Navigate on goButton_Click in winView2 ? Doesnt Navigate private void goButton_Click(object sender, EventArgs e) { infoBox.Text = "goButton_Click BEFORE if"; if (webView !=…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
asked 2020-10-16T14:35:44.93+00:00
vmars316 621 Reputation points
edited the question 2024-03-19T07:01:54.64+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
1 answer

How to add a row to a DataGridView that has a ComboBox

I've been running this application for years. I just went from w10 to w11 and get the error message "DataGridViewComboBoxCell value is not valid" when loading data. The DataGridView has a ComboBox column, but I add structures that have only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,359 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,824 questions
asked 2024-03-16T19:15:22.5966667+00:00
Marc Graham 6 Reputation points
commented 2024-03-19T06:11:13.2033333+00:00
Viorel 110.3K Reputation points
2 answers One of the answers was accepted by the question author.

How do I add an existing form from another VB.NET project to my new VB.NET project? I have several forms that I want to reuse.

How do I add an existing form from another VB.NET project to my new VB.NET project? I have several forms that I want to reuse. Do I just Select the Add Existing Item and select the desired Form.vb file in my existing VB.NET project?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,528 questions
asked 2022-04-20T09:25:21.427+00:00
Marc Menzel 61 Reputation points
commented 2024-03-15T17:44:10.28+00:00
Hal Totten 0 Reputation points
2 answers One of the answers was accepted by the question author.

vb.net .vb Help, trouble with Process p.Close()

Hello & Thanks ; WIn 10 vs 2019 p.Close() not working for me . Private Sub CloseIExplore() Dim processArray As Process() = Process.GetProcessesByName("iexplore") For Each p As Process In…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
asked 2020-09-17T02:27:25.637+00:00
vmars316 621 Reputation points
edited the question 2024-03-14T07:37:28.11+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
1 answer

C# windows form crash

Hi, I'm writing my Windows forms project in C# using the latest versione available of Visual Studio Community (17.9.3). The project manages a Modbus TCP client connection using the NModbus library to a proprietary and tested server. The connection is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,054 questions
asked 2024-03-13T10:22:08.48+00:00
Isacco Simonini 0 Reputation points
commented 2024-03-13T12:01:48.07+00:00
David Lowndes 2,065 Reputation points MVP
1 answer

when will i get exam result, badge and cdertificate i have passed it yesterday but not updated in microsoft .

i want AZ -104 badge as i completed yesterday and there is update on the microsoft.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,195 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,777 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,359 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,598 questions
asked 2024-03-10T09:23:11.4233333+00:00
Abishek Iyer 0 Reputation points
commented 2024-03-11T05:53:00.0133333+00:00
ChristyZhang-MSFT 19,806 Reputation points Microsoft Vendor
1 answer

Need help with Graphics.DrawString font size for printer output

I have a Windows desktop application that creates labels to print to a laser printer.  I am using Visual Studio v17.8.6 and the template is .NET Framework. I am new to using graphics and unsure what is the best solution to use to print to the laser…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,054 questions
asked 2024-03-01T19:21:59.1166667+00:00
Pat Hanks 40 Reputation points
answered 2024-03-07T18:27:47.37+00:00
Pat Hanks 40 Reputation points
1 answer

Currently using Visual Studio 2022 for my vb.net windows form app and the designer fails to load at "Loading Designer...You can continue working while the designer is loading in the background"

I'm currently using Visual Studio Community 2022 17.7.1 and .NET 6.0

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,528 questions
asked 2023-08-19T14:21:42.4366667+00:00
Jessie Cudiamat 0 Reputation points
commented 2024-03-07T04:07:53.93+00:00
Bir Yazilim 5 Reputation points
1 answer

Hi im currently working on project that using Windows form app and im using The newest Net Framework 8.0 but why i cant add chart on my project. The worse is the menu even does not exist.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,483 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,824 questions
asked 2024-03-01T17:11:17.4766667+00:00
abdul rahman alif putra 0 Reputation points
edited a comment 2024-03-07T01:59:17.35+00:00
Tianyu Sun-MSFT 25,871 Reputation points Microsoft Vendor
2 answers

How to assign dialog control types to database fields in Data Sources Window

I have a Winforms app connected to a SQL database. In a tutorial I am working through from 3 years ago they have the Data Sources window open with the Customer table at the top followed by Address, City, etc data fields. It shows right clicking any of…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,404 questions
asked 2024-02-14T05:21:03.7666667+00:00
Michael Tadyshak 80 Reputation points
edited the question 2024-03-06T05:58:00.25+00:00
Anna Xiu-MSFT 24,141 Reputation points Microsoft Vendor
1 answer

I Saved C# Project form as a new name, now project is broken. How to fix it?

I have a C# project in Visual Studio Community 2022 with a single form for the interface. I made some changes to the form and wanted to save it as a different name so I could preserve the previous design. Now I cannot see the form in the designer, but…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,483 questions
asked 2024-03-05T02:56:24.25+00:00
Clay LaHatte 0 Reputation points
answered 2024-03-05T09:46:50.06+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
0 answers

Converting the PDF to a bitmap image corrupted the text content of the PDF.

I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted.  PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,267 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,243 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,054 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
750 questions
asked 2024-03-04T19:42:32.9566667+00:00
Vikram Devaraj 0 Reputation points
commented 2024-03-05T02:47:00.89+00:00
KOZ6.0 4,335 Reputation points
3 answers One of the answers was accepted by the question author.

Data insertion by datagridview

I have a DataGridview filled with some data in approx 100 rows and in 5 columns. I also have a button on the form. i want that whenever i click on that button, all the data from that DataGrid view gets inserted in my database but all the rows data at…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,054 questions
asked 2023-10-27T09:41:36.68+00:00
Rajkumar Rao 100 Reputation points
edited a comment 2024-03-04T22:30:43.68+00:00
Abdulaziz Mohammed Ameen Qasem 0 Reputation points
0 answers

How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?

Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,359 questions
asked 2024-02-29T12:38:41.77+00:00
Himanshu Rohilla 0 Reputation points
commented 2024-03-04T10:52:51.57+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
1 answer

How to store data from Excel to database?

How to store data from Excel to database in EF C# windows form Application?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,243 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,054 questions
asked 2024-03-02T07:36:41.3933333+00:00
Majeed Purseyedmahdi 41 Reputation points
commented 2024-03-04T07:21:41.01+00:00
Jiale Xue - MSFT 21,441 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

System.Windows.Forms Version=8

I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,483 questions
asked 2024-02-28T19:23:17.04+00:00
Simon 246 Reputation points
accepted 2024-02-29T14:54:43.96+00:00
Simon 246 Reputation points
1 answer

how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "

In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 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,638 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,483 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
321 questions
asked 2024-02-25T19:29:17.4566667+00:00
_cnehle 0 Reputation points
edited an answer 2024-02-26T03:14:31.4533333+00:00
Hui Liu-MSFT 27,991 Reputation points Microsoft Vendor
1 answer

How to easily separate people from the background with the Noizz Without Watermark application on PC?

Hello everyone, I am very passionate about video editing and I have a dream to become a professional video editor, currently I do not know how to separate people from the background with Noizz Without Watermark application. Please help me, I am using…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
asked 2021-06-17T07:38:42.677+00:00
Cavani Edison 1 Reputation point
answered 2024-02-25T14:21:58.75+00:00
DLS APK 0 Reputation points
5 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,808 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,483 questions
asked 2022-01-05T11:35:59.977+00:00
cshermak 1 Reputation point
commented 2024-02-25T02:43:03.02+00:00
Damian 0 Reputation points
1 answer One of the answers was accepted by the question author.

Why does the transaction continue even though there is an error in a method?

I have three methods that are part of a single transaction, part of a transaction to register a purchase. I am testing if the transaction works. First, I deleted the Kardex table, and yes, it worked correctly, the changes are rolled back. Now, when…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,808 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,243 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,054 questions
asked 2024-02-04T14:57:05.34+00:00
Roberto Carlos Melgar Dorado 20 Reputation points
accepted 2024-02-25T00:19:15.67+00:00
Roberto Carlos Melgar Dorado 20 Reputation points