windows.opener() handling with WebView2
In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…
How To Post Question On social.msdn.microsoft.com?
I am trying to post on social.msdn.microsoft.com but every time I click on ask question it redirects me to zcusa.951200.xyz. Please help.
Concern About Windows 24H2 Issue
Sir, I have some questions about this iso'sWindowss 11 Iot loss, Windows Server 2022 and Windows Server 2025(24H2) Which one isn't any issue at this moment? How can I make multiple iso bootable pendrive without any other software?
Close and then open a new tab page or window asks authentication
I am trying to embed a webform application in WinForm using Webview2 control. The new window opens in a tab page with webview2 child ( e.handled=true). But when destroying the child tab wm_destroy is not calling properly. so each time while open a new…
visual studio windows form call error
when i try to add windows form to my project , it outputs errors i make clr empty project .net framework Instances of this error (1) Hide Call Stack at Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider() …
How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)
Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…
Advice on Signing and Certificate Options for a WPF Project
Hi, I have a WPF project based in Dublin, initially intended for approximately 100 users in Ireland, with plans to expand both inside and outside the EU over the long term. The business was established in September 2022. I’d like advice on the best…
Visual Studio 2019 Crashes When Closing Windows Form in Design View
Maintaining a Windows Forms application in Visual Studio 2019 (version 16.11.42) that uses Janus controls. Recently, there is a form within the application that when opened in design view indicates there are changes as soon as it is opened. Closing and…
Testing a Windows Form @ design time
Hi All, When you're working on a dialog under the resource view for a Windows Desktop Application/C++ you can any time test your dialog at design time simply clicking Ctrl+T. There is no need to build the project and run it. I tried to find…
How to Append Data to a Text File in a Windows Forms Application?
In a Windows Forms application, data is read from a text file and displayed in a list box. The goal is to add a new item from a textbox to the same text file when a button is pressed, but the item is not being appended to the file as expected. The button…
Visual Studio 2022 WinForm Designer throws 'Object reference not set to an instance of an object' exception when loading child Winform Window
Hi all, I have a C# project in .Net Framework 4.8 with WinForm as UI. I use upgrade assistent to convert the project from .Net Framework 4.8 to .Net 6.0. The project is able to compile an execute and run. However, when I try to open the WinForm in…
visual C# windows form project, cannot assign to a "using variable"
Hi, this code I want to identify the ID of the PC (processor + motherboard), so that I can use later for the database of the users. Here code: using (ManagementObjectCollection objectList = null) { ManagementObjectSearcher objectSearcher = new…
Windows Form Project c#, checking if Key exist in Registry
Hi, I tried various things does not seem to work if key does not exist it gives exceptional error, but if it does it works. Here Code: private void Form1_Load(object sender, EventArgs e) { RegistryKey Key =…
Creating and displaying forms in VS 2022 Community 17.12.3
Hello I reopen under VS 2022 Community 17.12.3 an old WinForm application developed by me under VS 2010, which targets .Net Framework 4.0. Under VS 2022 it now targets .Net Framework 4.8.1. The compilation is Ok and I start the execution (in Debug and…
Exception when using Firebase streaming
Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeptionn this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…
i am getting this error
please give me some solution for SqlConnection, SqlCommand and Clear ()
DataGridView column alignment header vs data
In the pic below, the DataGridView column header (Column1) is misaligned with the data cell text below it (XXX). The misalignment is nearly one character width. It is more visually obvious with a larger font. The pic comes from a minimal Forms app. …
How to enable TCP protocol of SQL Server Express 2019 through C# code?
I have MS SQLExpress 2019 installed in Windows 11 desktop. I want to enable SQLExpress TCP protocol programmatically from Windows Application using c#. So, I have written following simple code. using…
'Form5' does not contain a definition for 'radioButton13' and no accessible extension method 'radioButton13' accepting a first argument of type 'Form5' could be found (are you missing a using directive or an assembly reference?)
how can i solve this to prevent me from creating a whole new windows form
4.6.1 migrating to .Net Core 7 – How do I resolve error MC1000- cannot find type System.Management.Instrumentation.InstrumentedAttribute in Assembly ..path \.nuget\packages\system.management\7.0.0\lib\net6.0\SystemManagement.dll – Microsoft.WinFx.Targets
I am migrating a .netFramework 4.6.1 application to core. I have been able to get rid of all of the build errors except this one: Error MC1000 Unknown build error, 'Could not find type 'System.Management.Instrumentation.InstrumentedAttribute' in…