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…
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…
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…
![](https://techprofile.blob.core.windows.net/images/e5989e51565a44e795179b034df77542.png)
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…
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…
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…
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…
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:…
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…
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?
i cannot open windows default application?
i am trying to open snipping tool ,Paint and Notepad but attached will pop up.
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…
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…
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…
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…
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
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
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…
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…