25,059 questions with .NET-related tags

Sort by: Updated
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,875 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
1 answer One of the answers was accepted by the question author.

Uploading Files on MS Forms takes too much time

My teacher took a test on MS Forms where we had to upload a file (2 in fact). But when we attached the file it just kept showing "loading". It never got uploaded, and we couldn't submit the form. How do I fix this? Is it a problem from my…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2020-08-13T05:58:42.743+00:00
Samyukta Sreekanth -Student 21 Reputation points
commented 2020-08-13T07:06:58.747+00:00
Samyukta Sreekanth -Student 21 Reputation points
1 answer One of the answers was accepted by the question author.

SOS What'd I Do!

hi, What can I do to diagnose any and all issues I'm having with my pc? Info. that I could clearly explain to someone trying to help me fix it. Half my prob is not being able to explain the issue. Thank you in advance.

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,716 questions
asked 2020-08-11T17:24:18.257+00:00
RyRy 21 Reputation points
commented 2020-08-12T18:09:55.563+00:00
MotoX80 32,986 Reputation points
1 answer

Windows App Certification Test Kit Failing

When I am running the test kit on my Windows App Certification Kit my application is failing in just one area. The error message I get from the Windows App Certification Test Kit is that my exe file "is marked as either…

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,716 questions
asked 2020-08-05T12:32:15.82+00:00
T1000 6 Reputation points
commented 2020-08-12T12:23:52.7+00:00
T1000 6 Reputation points
3 answers One of the answers was accepted by the question author.

How to set value of a textbox field in UserControlA from UserControlB

Hi I have a got a window that has UserControl A. This User Control A contains a TextBoxUCA field. I have got another UserControl, which is named as UserControlB. I would need to set the value TextBoxUCA from UserControlB. How can I achieve that, so…

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,716 questions
asked 2020-08-06T08:23:32.253+00:00
Kalpana 286 Reputation points
commented 2020-08-12T03:55:37.243+00:00
Kalpana 286 Reputation points
1 answer One of the answers was accepted by the question author.

C# - WPF App static - class or only function

Hello, a) public static class Logger { public static void Write(string message) => Log.Write(message); public static void Close() => Log.Close(); private static LogIntern Log = new LogIntern(); public…

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,716 questions
asked 2020-08-04T14:00:49.227+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-10T13:29:27.867+00:00
Markus Freitag 3,786 Reputation points
0 answers

How do I show "Finished installing" notification after silently installing apps with InPlaceHostingManager

I have used InPlaceHostingManager to install one or several apps silently on the client-side. And now I want them to know when it finishes installing so they can start using it. I don't plan on using any progress bar or anything, just needed to install…

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,716 questions
asked 2020-08-04T06:42:11.56+00:00
Enkhbold Munkhbold 136 Reputation points
commented 2020-08-10T06:21:28.547+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

Screen DPI vs Printer DPI

Generally printers may have better dpi rating than screen dpi. Consider a situation where my screen has 300 dpi and the printer has 600 dpi, I'm wondering if I can take advantage of this when printing from C# WPF app. If I had a box image on the screen,…

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,716 questions
asked 2020-08-01T22:24:32.78+00:00
Matthew Armshaw 21 Reputation points
commented 2020-08-09T22:33:30.583+00:00
Matthew Armshaw 21 Reputation points
1 answer One of the answers was accepted by the question author.

Trigger for one control, set the focus.

Hello, One more questions. A) I have a control, a button and only this button should set the focus on another control of a TextBox after the mouse click. Can't I assign the trigger directly to the control, see code? B) 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,716 questions
asked 2020-08-06T15:02:52.897+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-07T10:44:24.943+00:00
Markus Freitag 3,786 Reputation points
1 answer

C# How to monitor WiFi connection in WPF?

I have a C# WPF desktop application that connects to a camera via WiFi, and downloads pictures to a 'HotFolder'. If the camera is moved too far from the PC, the WiFi disconnects. How can I monitor the WiFi connection?

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,716 questions
asked 2020-08-06T19:16:49.547+00:00
Jeff Nygren 121 Reputation points
answered 2020-08-07T02:56:55.197+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

WPF loading page into frame but missing button?

Hi everyone, I'm creating a very basic application that lets you flick between pages using buttons. It starts off by loading each page onto a frame, however it only seems to be loading the image and not the buttons? Here is my MainWindow.xaml.cs 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,716 questions
asked 2020-08-06T17:47:07.35+00:00
Waller, Reece (Student) 1 Reputation point
commented 2020-08-07T01:48:43.633+00:00
DaisyTian-1203 11,621 Reputation points
2 answers One of the answers was accepted by the question author.

Can Windows.Devices.WiFi.WiFiAdapter API be used in a WPF desktop app

From my WPF desktop application, I need to list available WiFi access points, and monitor a WiFi connection. Can this API provide the services I need?

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,716 questions
asked 2020-07-28T13:13:03.72+00:00
Jeff Nygren 121 Reputation points
commented 2020-08-06T19:00:31.3+00:00
Jeff Nygren 121 Reputation points
2 answers One of the answers was accepted by the question author.

Trigger, Datatrigger - what's the difference?

Hi , my goal is select the first row inside the Datagrid. Works well with MoveCurrentToFirst. Only if the control get the focus is it blue. Is there a way to control it from the code? And if the focus is the DataGrid, the default…

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,716 questions
asked 2020-08-06T05:55:32.053+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-06T13:45:16.57+00:00
Markus Freitag 3,786 Reputation points
1 answer

how make a program to manage the PC

Hello. I want to make a program to manage the PC. Like screensavers, active directories. Q1. Only authorized users can use the PC. The lock screen is displayed and the lock is unlocked online with the specified ID and PW. When the usage time…

Universal Windows Platform (UWP)
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,716 questions
asked 2020-07-31T01:25:55.047+00:00
Victor Jo 1 Reputation point
commented 2020-08-06T07:11:13.747+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

C#, WPF Desktop, set focus to a textbox after mouse button click

Hello, Is there a way to set the focus on a TextBox control after a mouse click on a button? Right now, I'm taking the long way around. Button click. Delete Textbox Set the focus because length is 0, but works well.

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,716 questions
asked 2020-08-05T06:28:42.077+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-06T06:45:47.167+00:00
Markus Freitag 3,786 Reputation points
2 answers One of the answers was accepted by the question author.

C#, WPF Desktop DataGrid select first row.

Hello, <DataGrid Grid.Column="0" ItemsSource="{Binding View1}" IsReadOnly="True" AutoGenerateColumns="False" FontSize="18"…

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,716 questions
asked 2020-08-04T13:14:59.92+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-06T05:51:38.427+00:00
Markus Freitag 3,786 Reputation points
2 answers One of the answers was accepted by the question author.

Fade In/Out Window Transition In WPF

Hi, I am trying to create a transition between two windows, as one fades in the other fades out, in WPF. Below is my attempt to do this but have become stuck as I don't know what parameter I need to pass to the Begin() method in my PlayTransition()…

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,716 questions
asked 2020-08-04T03:27:33.077+00:00
Code Adze 21 Reputation points
accepted 2020-08-06T03:21:05.743+00:00
Code Adze 21 Reputation points
2 answers One of the answers was accepted by the question author.

WPF C# Desktop App - Multilingualism, opportunities

Hello, Which possibilities do I have to deliver an application multilingual? Switching during runtime. Read out when the app starts With language identifier? Textfile? Thanks for good tips with examples. Greetings Markus

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,716 questions
asked 2020-08-04T05:47:26.847+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-08-05T18:32:22.35+00:00
Markus Freitag 3,786 Reputation points
2 answers

Find Window Form App design view on Visual Studio

Hi, Months ago, I downloaded a sample project from github, then I make a few changes to the UI of a WFA in that project (add some buttons, labels, ...). The problem is: I'm trying to re open the WFA design view to make some modification to that UI, but…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2020-08-04T04:18:07.057+00:00
SalimMuvak 11 Reputation points
commented 2020-08-05T01:47:53.103+00:00
Charles He-MSFT 96 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How do I install multiple clickonce(online only) apps from one clickOnce app? Preferably silently because i don't want a prompt for each installing app

My company has several ClickOnce(online only) apps that are actively in use and my job is to make an app that installs the necessary apps from one location(my app). All of which run from our local intranet server. I have found a way to silently install…

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,716 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,922 questions
asked 2020-07-28T02:28:40.113+00:00
Enkhbold Munkhbold 136 Reputation points
accepted 2020-08-04T03:13:04.243+00:00
Enkhbold Munkhbold 136 Reputation points