All Questions
6,189
questions
0
votes
0
answers
25
views
Getting Windows user's name in "Firstname Lastname" format when user is part of a group
I'm trying to get the name of the currently logged in Windows user in the format "John Doe". I'm not sure if there's an accepted term for this, but think, the name you see when you bring up ...
-1
votes
0
answers
33
views
Problem building Windows Service project using CLI (C#)
I want to build a Windows Service project using CLI (dotnet or msbuild) to be able to make continuous delivery of a new project.
No problem to build a Windows Application, but, if I use dotnet build ...
0
votes
1
answer
22
views
Can anyone explain this error message ? C5275
I am facing a bad situation while trying to build an assembly DLL from C++ code, for .NET 7.0.
The compiler reports the messages below, even before it attempts to compile. (By the way, this should be ...
0
votes
0
answers
23
views
Enabling Efficiency Mode (EcoQoS) for a Process by PID in C++ and Verifying in Task Manager
I'm trying to enable Efficiency Mode (EcoQoS) for a process given its process ID (PID). I have referred to this similar question on Stack Overflow, but I'm still facing issues.
Issue:
Although the ...
0
votes
0
answers
10
views
Dot Net framework error initialization problem
enter image description here
Error displayed when turn on pc , and install windows apps
I tried to install . Net frewoek v4. D
How can I fix it , I have windows 10 . Please I want to know if the ...
0
votes
0
answers
9
views
.NET solution that uses third party hardware and DLLs
My team and I are writing a .NET application to run in a Windows environment.
We will be using hardware from four-ish different vendors, that each comes with their own dll (the term is unmanaged dlls, ...
-1
votes
0
answers
25
views
How to do performance test of a windows .net application [closed]
I have to do performance testing of a windows application just to check whenever we add a data in it where it is taking time and and show the detailed reports of it. Jmeter is not helping in this as I ...
2
votes
0
answers
107
views
Should I implement a C# destructor (aka finalizer) to unsubscribe from a system event? [duplicate]
Answer to "duplicate" - while a weak event may be the best solution here. The question is very different.
In this answer we are told to (almost) never write a destructor by someone who ...
0
votes
2
answers
39
views
Streaming an Updating Folder of Images with FFmpeg Without Restarting the Script
I'm working on a project where I need to stream a series of images stored in a folder using FFmpeg.
My current command looks like this:
ffmpeg -stream_loop -1 -f image2 -framerate 5 -i "C:\Images\...
0
votes
0
answers
28
views
Windows Memory Usage much larger than sum of managed heap objects [duplicate]
I have a proces which comsunes around 16GB of memory. I have made a dump file which has a size of around 20GB. When i analyse the file i get a total size of 1,7GB of used managed memory by my objects.
...
0
votes
0
answers
33
views
Incorporating .NET 3.5 framework and developer pack in a Docker image
I am trying to install / enable .NET 3.5 framework along with its developer pack in a windows Docker image.
I researched and found that there is no installer for .NET3.5 Please see https://dotnet....
-2
votes
0
answers
46
views
Try to run a program in VS Code with dotnet it don't work it say directions not found
This is the error I get whenever I try to run my C# code:
dotnet run --project ProjectName.csproj
Unhandled exception. System.IO.FileNotFoundException: The resource avares://ProjectName/Assets/...
1
vote
0
answers
60
views
How to create a shadow with rounded corners
I'm making a borderless form based on WinForms with rounded corners on Windows 7. To make its edges are visible, I used the following code to drop a shadow on it. This does work, but I'm finding that ...
1
vote
1
answer
65
views
Removing the strikethrough line in CalendarView in WinUI
I am implementing a custom control based on CalendarView and have an undesired strikethrough line going through today, like this:
My CalendarViewDayItemStyle is defined as following:
<CalendarView....
1
vote
0
answers
47
views
C# Retrieve a user attribute exclusively accessible from its own security context
In the context of a C# application on Windows running under an AD account, let's say UserA. I'm desperate to know if there is a way to get an attribute or information, no matter which one, belonging ...