1,869 questions with Windows Forms tags

Sort by: Updated
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,869 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,869 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,619 questions
asked 2024-04-24T20:48:56.4066667+00:00
Roberto C 120 Reputation points
accepted 2024-04-25T20:02:00.6933333+00:00
Roberto C 120 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,869 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,309 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,619 questions
asked 2024-04-23T16:21:18.7333333+00:00
Roberto C 120 Reputation points
accepted 2024-04-24T14:52:18.47+00:00
Roberto C 120 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,869 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,619 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,869 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,619 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 42,731 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,869 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,577 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,061 questions
asked 2022-10-19T11:03:25.353+00:00
IBN 4,376 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,869 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,590 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,777 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.
643 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,918 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,869 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,869 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,511 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,619 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
1 answer

Microsoft point of sales for .net solution's can't create new PosExplorer Object

I'm Trying to use Microsoft point of sales for .net 1.14.1 version and trying to use it's Cash drawer capabilities for my Windows form application. But when i'm trying to create PosExplorer new object it throws "System.NullReferenceException:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
asked 2024-04-17T12:11:00.1366667+00:00
Lasitha Lankajeewa 0 Reputation points
answered 2024-04-18T09:36:23.16+00:00
Jiale Xue - MSFT 42,731 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Multiple forms with common buttons

I need to create multiple winforms in an application with two buttons previous and next. When I click on the next button in a form the next form should open up. Similarly when I click on previous button previous form should open up. I don't want to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
asked 2024-04-16T11:10:28.12+00:00
Prash 61 Reputation points
accepted 2024-04-18T08:40:51.2833333+00:00
Prash 61 Reputation points
1 answer One of the answers was accepted by the question author.

Is control.TrayLocation in resource file is really required?

whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
asked 2024-04-18T05:31:12.0666667+00:00
Prash 61 Reputation points
accepted 2024-04-18T08:38:51.3533333+00:00
Prash 61 Reputation points
1 answer

i cannot open windows default application?

i am trying to open snipping tool ,Paint and Notepad but attached will pop up.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,062 questions
asked 2024-04-15T06:21:15.2+00:00
Askari Hassan 0 Reputation points
edited the question 2024-04-17T08:45:21.9433333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
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,869 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,837 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,918 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,486 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,869 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 42,731 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,869 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 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 42,731 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,233 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 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,619 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 42,731 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,869 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,408 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,867 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,869 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 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,619 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,101 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,869 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,309 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,731 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,869 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