24,199 questions with .NET-related tags

Sort by: Updated
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,688 questions
asked 2020-08-21T18:58:01.527+00:00
RogerSchlueter-7899 1,236 Reputation points
answered 2020-08-22T06:26:33.27+00:00
Peter Fleischer (former MVP) 19,231 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,850 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,850 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,621 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,850 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,850 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,688 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
1 answer One of the answers was accepted by the question author.

Getting weird WLAN_AVAILABLE_NETWORK_FLAGS value from WlanGetAvailableNetworkList()

I am working on software that is supposed to check a wireless network connection to a DSLR camera. When I call WlanGetAvailableNetworkList(), the entry for my local wifi network looks fine. (dwFlags = 3. WLAN_AVAILABLE_NETWORK_CONNECTED and…

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,688 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,678 questions
asked 2020-08-18T20:49:08.02+00:00
JN Lifetouch 21 Reputation points
accepted 2020-08-19T12:38:33.617+00:00
JN Lifetouch 21 Reputation points
4 answers One of the answers was accepted by the question author.

change itemscontrol checkbox foreground color based on textbox chacter length

Hi, In my WPF view I have one textbox and checkbox collection - binding in view model ObsevableCollection<MyClass> for itemscontrol. I would like to change the colour and font size of the itemscontrol items based on the sum of lengths on checkbox…

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,688 questions
asked 2020-08-14T08:45:55.163+00:00
harry777 61 Reputation points
commented 2020-08-19T09:56:48.993+00:00
harry777 61 Reputation points
1 answer

ClickOnce: How to turn on update checking if app was installed without update checking (UpdateEnabled=false)

I have a ClickOnce app. In ClickOnce Update parameters flag was set - so app is checking for updates: App was published and 100+ users installed it. When publishing new version of app, this flag was unset by mistake. So users received app, that…

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,688 questions
asked 2020-08-14T11:05:48.91+00:00
Сергей 1 Reputation point
commented 2020-08-18T11:43:58.767+00:00
Сергей 1 Reputation point
0 answers

C# combo box text with last character coming to the front

When developing c# winform, there is a symptom that when Korean is entered in the combobox and clicked on another space with the mouse, the last character of the text comes to the front. only Korean, not English ex) 마우스 -> 스마우 This symptom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,850 questions
asked 2020-08-18T02:25:28.423+00:00
명진 마 1 Reputation point
commented 2020-08-18T07:16:37.743+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer One of the answers was accepted by the question author.

C# .Net Framework 2.0 Use RegistryView

[Turkish / TR] C# .Net Framework 2.0da .Net Framework Kontrolü Yapmam Gerek Bunun İçin Biraz Ayarlamalar Yaptım. Gördüğüm Kodlardan Birini Aldım Biraz Ayarladım Ama RegistryView Microsoft.Win32.Registry Nuget Paketinde Var Oda .Net 4.5 Üstü…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,850 questions
asked 2020-08-17T19:29:36.897+00:00
kaan faruk 21 Reputation points
accepted 2020-08-18T05:03:18.54+00:00
kaan faruk 21 Reputation points
3 answers One of the answers was accepted by the question author.

Difference between Window.DataContext and Window.Resources

Hello, Can someone tell me what the difference is and when to take what?

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,688 questions
asked 2020-08-14T06:57:52.563+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-17T11:32:44.823+00:00
Markus Freitag 3,786 Reputation points
0 answers

WPF app Deployed using ClickOnce doesn't pop-up in front when run

I have a WPF app that is deployed using ClickOnce. The program works as intended but on some(on most of the enterprise computers used) computers it won't become "Active" as in, it seems to start and creates its form but doesn't pop-up on the…

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,688 questions
asked 2020-08-14T03:48:28.797+00:00
Enkhbold Munkhbold 136 Reputation points
commented 2020-08-17T07:07:29.567+00:00
Enkhbold Munkhbold 136 Reputation points
3 answers

How to submit WACK (Wndows App Certification Kit) XML reports for Desktop application certification to Microsoft

I have run Windows Application Certification Kit in windows 10 to make my Desktop App Microsoft Certified, I have passed all test, Generate XML Report, Now i need to submit it to Microsoft for further Process. Can you help to out? Thanks in Advanced

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,688 questions
asked 2020-06-24T11:24:58.36+00:00
ERP Consulting team 1 Reputation point
answered 2020-08-17T05:24:45.667+00:00
ERP Consulting team 1 Reputation point
1 answer

Displaying a WPF Window from ViewModel in C#

I have a C#/WPF app based on MVVM pattern. The app has a window with a tool bar. On clicking a button on this toolbar, I need to show a Window like a settings window. The toolbar button is bound to a command that should load the settings window. I have…

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,688 questions
asked 2020-08-14T07:52:57.84+00:00
winprofessional 41 Reputation points
answered 2020-08-16T07:30:13.053+00:00
Peter Fleischer (former MVP) 19,231 Reputation points
1 answer One of the answers was accepted by the question author.

How do I have to adjust the settings to create both variants (x86/x64) or just x64?

Hello, How do I have to adjust the settings to create both variants or just x64? At moment AnyCPU and is only x86

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,688 questions
asked 2020-08-14T09:10:57.027+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-16T06:50:34.277+00:00
Markus Freitag 3,786 Reputation points
1 answer One of the answers was accepted by the question author.

Does System.Text.Json Deserialize into DataTable?

Hello .Net Gurus - I have checked MS Documentation and I couldn't find any example of serialize json data using System.Text.JSON into DataTable. I have .Net Framwork 4.7.2 and did install the System.Text.Json NuGet package. The desrialization is…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,850 questions
asked 2020-08-13T21:11:57.34+00:00
Khushi Shaikh 86 Reputation points
commented 2020-08-14T15:31:43.253+00:00
Khushi Shaikh 86 Reputation points
0 answers

FilgraphManagerClass Freeze in windows Form Application

My Windows form Application got freeze while creating an instance of FilgraphmanagerClass The problem occurs when I click menubar on the picture box panel and when the video trying to start it tries to create an instance of FilgraphManagerClass and got…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,850 questions
asked 2020-08-08T18:00:47.763+00:00
Muhammad Asad Ashraf 1 Reputation point
commented 2020-08-14T09:55:49.72+00:00
Daniel Zhang-MSFT 9,621 Reputation points
7 answers One of the answers was accepted by the question author.

WPF, ComboBox, Tooltip or text, return value should be int or enum

Hello, <ComboBox Name="cbStatus" HorizontalAlignment="Left" Margin="660,13,0,0" VerticalAlignment="Top" Width="48" SelectionChanged="CbStatus_SelectionChanged"> …

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,688 questions
asked 2020-08-11T08:20:07.04+00:00
Markus Freitag 3,786 Reputation points
answered 2020-08-14T06:15:44.92+00:00
Markus Freitag 3,786 Reputation points
2 answers One of the answers was accepted by the question author.

Which .Net Framework needed to use System.Text.Json

Hello .Net Gurus - I am working in Windows forms where I am receiving data in JSON format from a web service. I need to de-serialize into DataSet. I have come accross with System.Text.JSON. Currently I have 4.5.2 .NET Framework. Which .Net Framework…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,850 questions
asked 2020-08-12T16:46:07.737+00:00
Khushi Shaikh 86 Reputation points
answered 2020-08-13T19:26:23.683+00:00
Khushi Shaikh 86 Reputation points