23,134 questions with .NET-related tags

Sort by: Updated
1 answer

Change the hover colour of DataGridViewComboBoxCell in winforms (Always shows blue color)

I have a datagridview which contains DataGridViewComboBoxCell, these cells are added to the grid dynamically through code. When I hover through the cells it always shows blue color (hover color), I need to set the hover color based on application theme…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-26T05:30:45.15+00:00
cool77bin 1 Reputation point
answered 2020-08-27T09:21:08.687+00:00
Daniel Zhang-MSFT 9,601 Reputation points
2 answers One of the answers was accepted by the question author.

[WPF] What control should I use to embed Excel in my app

Hello, thanks for reading, I am upgrading an app from VB6 to VB.NET using WPF, in this old VB6 app there was "OLE" objects allowing the app to show Excel graph, sheets, and more. In WPF i couldn't find any similar objects, so i found this…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-18T09:58:14.647+00:00
théo Bainée 21 Reputation points
commented 2020-08-27T07:51:52.497+00:00
théo Bainée 21 Reputation points
3 answers One of the answers was accepted by the question author.

How to debug my design form project?

Hi when I am start my debugging the cmd open and close immediately without showing the output of my design form. It show the program has exited with 0 code like this: 'ConsoleApp1.exe' (CLR v4.0.30319: DefaultDomain):…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
912 questions
asked 2020-08-19T11:13:48.16+00:00
K. MOHANA PRIYA 56 Reputation points
commented 2020-08-26T15:19:06.163+00:00
Bonnie DeWitt 811 Reputation points
0 answers

ClickOnce does not install referenced dl

I have a dll referenced in my project. I can publish successfully, but when I install, the following error occurs: DETALHES DOS ERROS Os erros a seguir foram detectados durante esta operação. * [24/08/2020 18:36:06]…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-24T22:09:41.54+00:00
Edivaldo Sousa 1 Reputation point
commented 2020-08-26T02:12:24.927+00:00
Kyle Wang 5,526 Reputation points
0 answers

Is there any way to create a virtual Speaker or Mic in C#?

And then the final Speaker/Mic can be specified through the api. Or I should ask, what is more reasonable to describe the technology or product that can do this?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,358 questions
asked 2020-08-25T03:44:15.337+00:00
Victor Chen 106 Reputation points
commented 2020-08-26T01:34:01.553+00:00
DaisyTian-1203 11,611 Reputation points
2 answers One of the answers was accepted by the question author.

end user offline guide app

hi is it a good practice to use wpf to make user Guide ( smth like pic below ) , if not ( as i expected ) , What's the proper tool to use in this case , I'm a beginner developer , thanks in advance , any help will be appreciated-

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-19T09:55:20.077+00:00
essamce 621 Reputation points
accepted 2020-08-25T21:16:32.22+00:00
essamce 621 Reputation points
1 answer One of the answers was accepted by the question author.

Where can I learn how to create a form in c++?

I am an experienced programmer learning c++. I can create a window and write text into it but can't see how to create a screen that allows the user to enter data and return it to the program. I have spend several hours trying to find something useful in…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-23T07:23:52.027+00:00
Keith Lovell 61 Reputation points
accepted 2020-08-25T05:35:20.777+00:00
Keith Lovell 61 Reputation points
1 answer

Help with: Handles WebBrowser1.DocumentCompleted , Error

Hello & Thanks ; Having prob with this statement : Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted Error…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-24T19:43:12.26+00:00
vmars316 621 Reputation points
answered 2020-08-24T20:29:30.48+00:00
Castorix31 80,911 Reputation points
1 answer

Preview 4K Camera in WinForms or WPF Component

Hi, I'm trying to preview 4K camera in WinForms application or host WPF component in WinForms if needed. I found C++ CaptureEngineVideoCapture sample in Windows-classic-samples which uses DirectX and works fine. CaptureEngineVideoCapture The…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-21T13:48:41.663+00:00
iz111 86 Reputation points
answered 2020-08-24T06:49:56.493+00:00
Daniel Zhang-MSFT 9,601 Reputation points
1 answer One of the answers was accepted by the question author.

Compare Images on double click event

Hey! Im trying to compare two images with each other but dont get it to work.. I have dynamic pictureboxes.. and want to make that if you double click one. Then it changes picture.. But i want to make that only one of them can have that picture..…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-21T10:19:33.28+00:00
Carlo Goretti 121 Reputation points
accepted 2020-08-24T06:47:01.56+00:00
Carlo Goretti 121 Reputation points
4 answers One of the answers was accepted by the question author.

[ WPF ] How to execute a * .exe with a button in a main window, whose path is in a TextBox of a second window, please help me.

Hi, I'm still a newbie. I have my project, in which I have 2 windows, a Main Window (Launcher.xaml) and another Second Window (Configuration.xaml). In the Main Window I have 2 buttons; a button that executes an * .exe (start game), whose path or address…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-18T20:57:51.9+00:00
jack pelon 96 Reputation points
commented 2020-08-24T06:41:07.677+00:00
jack pelon 96 Reputation points
2 answers

Global variables using in other forms

I am making a software i want a global variable so that i can use across one form to other so basically i want to call roll no. that is written in an event datagridview row header event: Roll_No =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,301 questions
asked 2020-08-21T07:00:59.377+00:00
Zeeshan Haider 21 Reputation points
answered 2020-08-24T05:23:58.037+00:00
Daniel Zhang-MSFT 9,601 Reputation points
0 answers

i can't install wpf app after publish

PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.42000 System.Deployment.dll : 4.6.1590.0 built by: NETFXREL2 clr.dll : 4.6.1590.0 built by: NETFXREL2 dfdll.dll : 4.6.1590.0 built by: NETFXREL2 dfshim.dll …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-23T23:37:01.067+00:00
khaled collo 21 Reputation points
commented 2020-08-24T01:54:59.447+00:00
DaisyTian-1203 11,611 Reputation points
2 answers One of the answers was accepted by the question author.

Where to find .vb atatement syntax and Examples ?

Hello & Thanks ; Newbie says : I spent hours searching for docs on syntax of this statement : variable = TextBox2.Lines(i) this part TextBox2.Lines(i) There are plenty of docs for C# , but zero so far for .vb in vb,net . Can…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-21T15:12:51.84+00:00
vmars316 621 Reputation points
accepted 2020-08-22T14:30:18.777+00:00
vmars316 621 Reputation points
1 answer

How to wait for an Async Call

I get elevations for a set of map locations by: Private Async Sub ProcessElementsAsync() Await GetElevationsAsync() .... End Sub where: Private Async Function GetElevationsAsync() As System.Threading.Tasks.Task Dim Reply As Response = Await …

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-21T18:58:01.527+00:00
RogerSchlueter-7899 1,176 Reputation points
answered 2020-08-22T06:26:33.27+00:00
Peter Fleischer (former MVP) 19,056 Reputation points
1 answer

Visual Studio 2019 - Load from XML (C#)

Hi everyone, I'm just starting with Visual 2019 but I'm familiar with C++, but only on hardware devices, not computers! My goal is to build a Windows Forms Application with C# that does network connection checks and then update a status panel and…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-17T19:10:54.537+00:00
sgt_johnny 1 Reputation point
answered 2020-08-21T15:00:20.713+00:00
Muthukrishnan Ramasamy 1 Reputation point
1 answer

How to properly create a Word or PDF document with values from DataBase

Hello, I would like to ask for an advice. I have this model below that I need to create and fill it with some values from my DataBase. What is the best way to accomplish this type of job? I've already tried to design the table directly on the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-06T14:51:43.713+00:00
mite nikolov 1 Reputation point
commented 2020-08-21T06:25:50.51+00:00
Daniel Zhang-MSFT 9,601 Reputation points
0 answers

Minimizing Treenode redrawing?

I ask this on stackover flow but this might be a more appropite place to post After working with this treeview below I noticed that when I comment out Application.EnableVisualStyles(); the tree node are drawn significantly less which reduces…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-17T17:25:07.65+00:00
Tendy 1 Reputation point
commented 2020-08-20T12:58:52.297+00:00
Tendy 1 Reputation point
2 answers One of the answers was accepted by the question author.

vs 16.7.2 update = No Toolbox. How to get back ? Today ?

Hello & Thanks ; I just installed MS Visual Studio Community 2019 Version 16.7.2' , and now there is no Populated ToolBox window . Only this msg: "There are no usable controls in this group . Drag an item onto this text to add it to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
asked 2020-08-19T14:55:06.357+00:00
vmars316 621 Reputation points
commented 2020-08-19T22:45:50.823+00:00
Bonnie DeWitt 811 Reputation points
1 answer One of the answers was accepted by the question author.

highlight the item with same text if already in itemscontrol collection

18829-xxx.txtHi, I have two textboxes where user enters prefix and suffix to be appended in already existing itemscontrol of checkboxes. I want the functionality if the name already exists s.t. prefixText+any item+ suffixText then make the existing…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,635 questions
asked 2020-08-19T13:44:01.3+00:00
harry777 61 Reputation points
commented 2020-08-19T15:02:23.387+00:00
harry777 61 Reputation points