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…
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 !=…
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?
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…
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…
when will i get exam result, badge and cdertificate i have passed it yesterday but not updated in microsoft .
i want AZ -104 badge as i completed yesterday and there is update on the microsoft.
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…
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
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…
I Saved C# Project form as a new name, now project is broken. How to fix it?
I have a C# project in Visual Studio Community 2022 with a single form for the interface. I made some changes to the form and wanted to save it as a different name so I could preserve the previous design. Now I cannot see the form in the designer, but…
Converting the PDF to a bitmap image corrupted the text content of the PDF.
I have a PDF document and using the below code logic, I am trying to convert the PDF page to an image. After converting the image, the text content in the PDF displayed as corrupted. PQ-376500-STR-FDN-KZV-00011-001.pdf |Stream PdfStream =…
Data insertion by datagridview
I have a DataGridview filled with some data in approx 100 rows and in 5 columns. I also have a button on the form. i want that whenever i click on that button, all the data from that DataGrid view gets inserted in my database but all the rows data at…
How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?
Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender…
How to store data from Excel to database?
How to store data from Excel to database in EF C# windows form Application?
System.Windows.Forms Version=8
I keep getting errors that the system is looking for Version 8 references. All I find are System.Windows.Forms.dll - version 4. How do I resolve this error? Should I change all the references to Version 4? In this folder - C:\Program…
how to fix System.TypeInitializationException : Инициализатор типа "FlaUI.Core.Tools.SystemInfo" выдал исключение. ----> System.InvalidOperationException : Не удается загрузить данные имени счетчика, поскольку в реестре обнаружен недопустимый индекс "
In university we started to work with Windows Forms и WPF. For each work we're given a pre-work with all files and tests. But when I try to start test, they fall with the same Exception: System.TypeInitializationException : Инициализатор типа…
How to easily separate people from the background with the Noizz Without Watermark application on PC?
Hello everyone, I am very passionate about video editing and I have a dream to become a professional video editor, currently I do not know how to separate people from the background with Noizz Without Watermark application. Please help me, I am using…
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…
Why does the transaction continue even though there is an error in a method?
I have three methods that are part of a single transaction, part of a transaction to register a purchase. I am testing if the transaction works. First, I deleted the Kardex table, and yes, it worked correctly, the changes are rolled back. Now, when…