Category "winforms"

Windows forms c# connect to specific accesspoint by BSSID

I have a windows form written in c#. I've made a listview that finds and sums up every wifi network it can detect, giving the SSID, BSSID, and more. I'm using M

How can I Delete an Item from a Data Grid View and Reflect the Deletion in the MySql Database

UPDATE There has been quite a few changes in the code, but the problem still persists. I was able to delete from the customer table (and the entire row on the D

Run a different installer with my ClickOnce installer

I was searching about how to do this but no avail. I have a Winforms application and published it by mean of ClickOnce. It works, however, that application uses

How to use the Monaco editor inside a Windows Forms application?

I have a windows form app (.net framework) and I want to use Monaco editor inside it. Scouring the internet does the provide much help and stackoverflow does no

Winforms-Configuration Manager fails to replace the App.Config's AttachDbFilename |DataDirectory| with the application startup folder

App.Config <?xml version="1.0" encoding="utf-8" ?> <configuration> <connectionStrings> <add name="myConnectionName"

How to make the graphics for a Graph theory undirected graph

I have been trying for the last few days to implement a graph into a C# Windows Forms app, but I have been unsuccessful at this task. I haven't been able to fin

C# - Theard.Sleep skips over lines of code

I'm working on a small C# Windows Form application. In this application, I've used Thread.Sleep to wait on the current screen before moving to the next one. The

How to export a DevExpress PivotGridControl to Excel

I have a button click that attempts to export a DevExpress pivot grid to an excel file however when you open the file in excel or google sheets it zeroes some o

C# forms check when a specific execute has been launched and then run my program

How would I make my program check if a certain application like "notepad" has focus and ultimately open my second form when it does have focus, closing that sec

VB.Net Windows Form UserControl misplaced after location exceeds Form Height

I have a Windows Forms Application with an MDIParent Form and Windows Form. The Form has a handful of controls and on Form_Load I add a User Control. Private S

Replacing System.Windows.Forms.WebBrowser with Microsoft.Web.WebView2.WinForms.WebView2 in WinForms apps

I am upgrading a WinForms C# .NET 4.8 Framework application and replacing the embedded browser System.Windows.Forms.WebBrowser with Microsoft.Web.WebView2.WinFo

Attempting to 'permanetly' save two user inputs into two seperate arrays, and display the array data in a listbox on a different form

Apologies I am a newbie, ill try to explain as best as I can. Im creating a game for a university assignment. My game is a maths game that asks the user maths q

Passing events to the parent panel

In a Windows Forms application, I want to create a UserControl that reacts to mouse events. But in some cases, I want the event to be passed to the parent that

Mouse Cursor on tablelayoutpanel

I have winform project that it has tablelayout panel. And i added pictureboxes to all cells. I want the mouse cursor style to cross while on the tablelayoutpane

Cannot display record to DataGridView in winforms

This is what my table "Item" look like in my database: Now, I want to display it inside my winforms application. My application include the main page that look

Crossthread databinding in NotifyPropertyChanged for DataGridView Control

When trying to update a displayTimer (duration for how long a specific orderline is taking), I get a Crossthread error in NotifyPropertyChanged for my DisplayTi

Problem with pictureboxes spawning and overlapping WINFORMS C#

I dont want the pictureboxes to spawn in each other or to overlap.

C# Console-Application with no console but winforms

We have an application that is a WinForms-Application. It accepts startup parameters and can perform certain jobs with no UI by using the command line. Now, we

C# WinForms | Can I detect specific Sounds with a Microphone Input and let my program detect that specific sound and respond to it?

I'm currently trying to make a C# programm that simulates a Dial-Up Connection. So this what the programm should do: When I play a DTMF Tone like 212 5678912 or

WinForm using webview2 with SSO

I have a client application that hosts a web browser control (WebView2). The client application is configured to use SSO so the current windows user is automati