Questions tagged [winforms]
WinForms is the informal name given to Windows Forms, a GUI class library in the Microsoft .NET Framework and Mono. Questions in this tag should also be tagged with the target framework ([.net] or [mono]) and should ordinarily be tagged with a programming language tag.
91,101
questions
0
votes
0answers
12 views
How to open a file in a Form App without using Process.Start()
I'm working on a project that I'm only allowed to use limited number of library functions.
I have a text file in the same directory with my app and I want to open it with click of a button. But there ...
0
votes
0answers
6 views
ii have updated my app from v12 to v20 in devextreme getting these errors?
see errors
i don't know what to do , I am pretty new at c# this app is given to me to study but these errors show up.
if anyone know or previously encountered these type of error help me
0
votes
0answers
6 views
'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine on 64bit OS
I have a 32bit Office 2007 installed on Windows 10 64 bit, the issue is that if I try to install Access runtime from this link it says I have not installed any 64-bit office products and if
I install ...
-4
votes
0answers
26 views
How to reduce the size of an image, without saving it, in c#?
I am looking for a way to load hundreds of images in my WindowsForm without useing too much memory.
The images represent the pages of a pdf. using PDFium I have created an image foreach page of my Pdf....
-3
votes
0answers
24 views
How to Draw 3D cuboid in C# [closed]
I would like to generate below image using C#.
Is there any Library or Snippets available to achieve this ?
1
vote
0answers
40 views
How can I call same function using different elements like, buttons, textboxs…etc in C#?
I have this function that has different elements like buttons, textBoxes, dateTimePickers and comboBoxs. Image of the form for better understanding.
private void openLecture (object sender)
{
...
0
votes
0answers
21 views
How to hide double.NaN values in ScottPlot?
I use ScottPlot to visualize some data in WinForms. I have some null values which i use NaN instead to hide them and not to break data flow, so I want to hide them. However, in ScottPlot, they are ...
0
votes
0answers
27 views
Hi,i am using datagridview in winforms, i have load grid using database now i want to clear all the data from grid without removing data from database
I want to clear the loaded Grid without removing data from database is there anyone who can help me?
I have tried following code.
this.ProductDataGridView.Rows.Clear();
ProductDataGridView.Refresh();
-2
votes
0answers
19 views
VB.NET - Create a silent extractor while in Visual Basic for my project [closed]
My question is a bit special. I have a folder with a program (C:\MyProgram) and I want to make it so that when I run my VB.NET program it compiles the folder as a hidden installer (kind of like ...
-2
votes
1answer
23 views
Incorporating WebView2 in a WinForm Custom Control
I'm trying to incorporate a WebView2 control in a WinForm application. This application, uses a web browser in multiple pages (tabs, dialog forms) and then I have created a custom control (named ...
2
votes
1answer
35 views
Disable jumping between buttons by using arrow keys
I have a WinForms form with a TableLayoutPanel on it.
In this TableLayoutPanel, I have 2 Button controls.
I press one of these buttons.
Then I press the Up or Down arrow (ā ā) on the keyboard.
The ...
2
votes
1answer
46 views
Using PowerShell, how do I call CURL.exe using CMD.exe AND display results in WinForm
I am building a dashboard (WinForm) for internal usage, written in PS, and have a section where users can query sites using various methods/tools for inspection.
All the other methods/tools (IWR, ...
0
votes
0answers
14 views
Exception in Ml.net in image classification
It is autogenerated code from ml.net, I have only implement the open file dialog code which is on button 1. Here is the code of image detection in windows form application. two buttons and one picture ...
-2
votes
0answers
26 views
how can I make additional action while close button (x) clicked ? C++ CLR windows form
In my program I am using a generated temp files , I want to delete this file when I close the windows form (x) ... how can I perform that in C++ CLR windows form application.
here is a screenshot ...
-1
votes
1answer
24 views
Winforms MouseEventArgs - How can I get a click modifier like control-click or alt-click?
I'm trying to figure out if it's possible to detect if a combobox was clicked by control click. Using Winforms.
If I just try capturing MouseEventArgs I don't see any modifiers.
Any ideas?