Content
ASP.NET Web API : How Can I Return Object of System.Type
I have an assembly which is created using ASP.Net Framework Class Library Project. This assembly has lot of Types. Each Types has its own Methods, Fields and Properties. Now I have written an ASP.Net Web API in which I am loading this assembly using…
InvalidProgramException in Windows Forms application
Hello, I'm a developer of the desktop .NET Windows Forms application. I faced a strange exception thrown by .NET runtime on a single production PC. On a component initialization phase .NET throws the following: System.InvalidProgramException: Common…
After adding webview 2 control to one of the tab in my winforms app using c# while running the application is closing automatically
I made my application to have a webview 2 control inside one of the tabs page and whenever the user opens the tab a particular web page will be opened and from the web page i have link that will redirect the user to open some of the tasks in the WinForms…
C# Winforms how to set Datagridview DataGridViewCheckBoxCell via code
I am stumped on finding a solution to allow me to set a hidden DataGridViewCheckBoxCell checked state with code. The application is using a DataGridView to present a recipe on the form. Users are allowed to add/change the rows of the recipe. I want…
Windows Forms Designer Problem When Renaming New Form Before Adding Controls
Note: I have reported the problem below in Visual Studio 2022 Feedback. Just wanted to see if any of you have a suggestion. Normally, when you create a new Form in Windows Forms and add controls to the form, the Designer automatically fills in the…
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
Unable to select a month from the date picker list of months in report viewer.
In a WPF application, we are using report viewer to remotely connect to SSRS reports. In report viewer the month selection is not working in the date picker, however it works fine in reporting server. I am able to click on the arrows to change the month…
Why "Choose toolbox items" window fail to load items and makes Visual Studio 2022 version 17.7.1 restart
I recently updated my Visual Studio 2022 to version 17.7.1. The problem is that when I right-click the Toolbox to select 'Choose Toolbox items' window appears for a moment, then Visual Studio just restarts without indicating anything. I am using windows…
How to fix the password reset in windows application using C#
In My Windows application developed using C# if the user resets the password using the reset token and the reset token is valid for 24 hours and after successfully resetting the password. The new password is getting reverted to the old password…
Can I host my dotnet winform application to azure app service?
I have my winform application created in Visual studio 2022. I am trying to publish it to azure app service. I successfully deployed and published it but when I access the url it shows nothing on the page but message "Your web app is running and…
Visual Studio 2022 not responding when saving a design file
I am trying to add a new component to a design file, but whenever I try to save after adding it, Visual Studio stops responding and I have to close it. I have tried even deleting things from the design, but saving after that also leads to the same…
c# Dynamic Linq Query
How can i get compoiste primpary key value at run time for a audit purpose. in my application when user modies record i save that tables old and modied values for audit purpose . using two tables ChangeRecord and crdetail table. for simple single key…
how can i encrypt app.config when deploying a windows forms app?
The app.config file is plain language and contains passwords for data connection strings. How can I encrypt it for deployment?
VS2022 C# rdlc(report view) can't display data in some cells
I using VS2022 C# RDLC(report viewer), the running result can't display data in some cells , but I can view the data record in the sql query analyzer; Please refer to the following figure for details, I can't found the reason,help me please, thank you…
Can Maui display a WinForms app that is built as a dll?
We have a WinForms application that loads sub applications as dlls. Can Maui load a dll that is a WinForm app and display it?
How to refresh the form icon?
When I edit the form icon, how to reflect the new changes on the old forms?
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…
How can i deploy my custom fonts with my Hybrid (Windows Form & WPF) C# setup?
I currently created a Desktop Hybrid C# project which its User Interface is using Fonts that are not available in my Users Computer, Using Advanced Installer i created the setup and after running the setup on another machine i found the fonts missing…
DatagridView BindingList PropertyChanged
When the button_click changed the NIndex property ,And i want to change the cell's background . The problem is the CellValueChanged don't work. Could tell me how to change the cell'background when the cell's value changed,please.