1,875 questions with Windows Forms tags

Sort by: Updated
0 answers

how can my pc allow certain apps to work without ruinning my router?

hello so i have docker and another app and whenever i launch them the internet in the house stop working, some websites like telegram or so still work but other then that the internet doesnt work at all, my question is can i allow the pc in settings or…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Internet Information Services
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,846 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-04-16T22:33:22.31+00:00
MadGhost21 0 Reputation points
edited the question 2024-04-16T23:23:37.63+00:00
ChaitanyaNaykodi-MSFT 24,681 Reputation points Microsoft Employee
0 answers

The Application installed on customer not responding on developer environment working properly

My application working, with limitation of a beginner in Visual Studio C# programmer, working properly from 10 months. After last security updates of March the application not responding. I have developped three programs: the first program is a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2024-04-13T09:53:08.9533333+00:00
Org-Inf 0 Reputation points
commented 2024-04-15T09:31:14.33+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer

issue on toolbox menu. im now working on a project that need videosource player on my windows form. i already add it but why the menu didn't show up in toolbox. and already try to repeat it too but the result is still same. or there is another way to add

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-03-31T05:50:17.7+00:00
abdul rahman alif putra 0 Reputation points
commented 2024-04-10T09:40:54.25+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer

C# Webview2 WebMessageReceived event not firing anymore after update of MS Edge browser and Webview2 runtime

I am developing a WinForms project using VS2022 IDE. as per our requirement I am using Webview2 to embed the browser in our WinForms. web site load properly. my requirement was if user select any data from Webview2 at runtime then I need to capture the…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,242 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 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,656 questions
asked 2024-03-20T19:43:04.9433333+00:00
T.Zacks 3,986 Reputation points
edited a comment 2024-04-10T05:40:02.0833333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

Visual Studio 2022 considering Desktop application as ASP.Net & generating errors

I have developed a desktop application using Visual Studio 2022. I then developed a web application ASP.net with Visual Studio 2022. Now, whenever I launch the desktop application, VS considers it an ASP.net application, and is generating errors by the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,418 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,894 questions
asked 2024-04-02T23:56:19.5466667+00:00
Simon 286 Reputation points
accepted 2024-04-09T17:41:01.4533333+00:00
Simon 286 Reputation points
1 answer

l cannot find the Windows.Devices.Sensors Namespace.

l wish to access the Windows Ambient lights sensors on a windows forms app using C# but l cannot find the reference for system device sensors

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,656 questions
asked 2023-09-14T23:56:15.7266667+00:00
kil_dren 02 0 Reputation points
edited an answer 2024-04-09T09:53:23.5966667+00:00
Castorix31 83,286 Reputation points
1 answer

System.ArgumentException: 'Password not Supported: 'trust server certificate'.'

SqlConnection conn = new SqlConnection(@"Data Source=<SERVERNAME>;User ID=erp;Password=***********;Encrypt=True;Trust Server Certificate=True"); This is the line of code where i get the error, i have tried taking off the Trust Server…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 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.
13,372 questions
asked 2024-03-27T15:36:45.3766667+00:00
Gonçalo Cruz 0 Reputation points
edited the question 2024-04-09T08:37:49.09+00:00
Anna Xiu-MSFT 27,966 Reputation points Microsoft Vendor
1 answer

ClickOnce Publishing Issues-Cannot Copy Files

I keep getting this error when publishing files. It does not matter if its to a local directory or URL server. The project builds correctly, and I can run the application. I have administrator rights to all locations. I've tried to delete bin an obj…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2023-03-07T00:42:35.89+00:00
Groz 5 Reputation points
commented 2024-03-28T13:55:04.0533333+00:00
Groz 5 Reputation points
2 answers One of the answers was accepted by the question author.

What is the alternative of GetWebLoginClientContext in the current PnP.Framework?

Following this issue, I have copied the code for GetWebLoginClientContext and implemented it in my project. However, I get this out-of-date browser error because the code uses System.Windows.Forms.WebBrowser which uses the old built-in browser. What…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 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,656 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,809 questions
asked 2023-02-03T01:04:49.1433333+00:00
Jack Le 45 Reputation points
commented 2024-03-28T02:33:58.0566667+00:00
Ken Netherland 16 Reputation points
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,875 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,656 questions
asked 2024-03-13T10:22:08.48+00:00
Isacco Simonini 0 Reputation points
commented 2024-03-26T07:50:43.0666667+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
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,875 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,894 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-03-01T17:11:17.4766667+00:00
abdul rahman alif putra 0 Reputation points
edited a comment 2024-03-26T02:38:04.9966667+00:00
Tianyu Sun-MSFT 29,451 Reputation points Microsoft Vendor
0 answers

How to fix the error on my form design on a c# windows form code? I can only access the code (designer) but cannot access the design due to complications

I am unable to access the design of my form on c# windows form due to errors I am unaware of and I could lose my work.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 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,656 questions
asked 2024-03-23T14:49:34.59+00:00
Busisiwe Juwele 0 Reputation points
commented 2024-03-25T02:44:03.1133333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
2 answers

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,875 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,208 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-03-16T19:15:22.5966667+00:00
Marc Graham 26 Reputation points
edited a comment 2024-03-22T18:21:08.0766667+00:00
KOZ6.0 6,300 Reputation points
2 answers One of the answers was accepted by the question author.

How to Display multiple columns in WinForms combobox?

This picture is Access 2010.Data come from SQL. I tried to move to Winform. I know how to bind data sources. Can WinForms combobox do the same? Show 3 columns and titles, When a row is selected, return only Plan_no. I am new, maybe I need more detailed…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 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.
13,372 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,656 questions
asked 2023-03-22T05:43:11.3733333+00:00
Kerry Ou 226 Reputation points
commented 2024-03-20T13:47:32.9866667+00:00
Karen Payne MVP 35,386 Reputation points
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,875 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 43,046 Reputation points Microsoft Vendor
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,875 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,671 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 5 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,875 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 43,046 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,875 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,656 questions
asked 2024-03-01T19:21:59.1166667+00:00
Pat Hanks 60 Reputation points
answered 2024-03-07T18:27:47.37+00:00
Pat Hanks 60 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,875 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,671 questions
asked 2023-08-19T14:21:42.4366667+00:00
Jessie Cudiamat 5 Reputation points
commented 2024-03-07T04:07:53.93+00:00
Bir Yazilim 5 Reputation points
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,875 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.
13,372 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 27,966 Reputation points Microsoft Vendor