Content
Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?
I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD. Is there any event handler available for the same? If yes, how to register for the…


How do I make my WebView2 web browser get recognised by Window's Settings to get set as default?
I've been making a Web Browser using WebView2 and I would like to make it so users can set it as their default. It isnt recognised by Windows Settings though. Any tips? -Toby


How to System.BadImageFormatException (No string associated with token) error solved
Our Web Application build in .NET 4.8 and hosted as an azure app service throws this exception in some views. Here is the stack trace for one of these exceptions. We have run out of options to try certain things but it is stuck like that. We have tried…


how to get parameter name in c#?
public string BuildParameter(object[] para) { var parameters = ""; for (var i = 0; i < para.Length; i++) { if (para[i] != null) { …
How to marshal an array of fixed size structs from unmanaged to managed memory
.Net 7 Having an IntPtr (nint) pointing to an array of fixed size and blittable structs in unmanaged memory. Marshal.Copy does not seem to have any method like: Copy(myPointer, myStrcuctArray, 0, myStructArray.Length) (It accepts an array of int,…
Why can't run my app after visual studio update?
I have updated Visual Studio 2019 from 16.6.1 version to 16.11.23 version. The update operation was finished successfully. When I want to run my MVC project in Debug mode, nothing happens. No error is displayed, the app is not running. What do I have to…


Check installed .NET runtime version from C#
Hello, what is the best way how to check all installed .NET runtime versions from C# code? Is there some registry key I could read? e.g. SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x86\hostfxr Or do I need to call "dotnet…


what is `LPSERVICE_MAIN_FUNCTIONA ` in .net?
I want to use c++ func in .net there is a parameter LPSERVICE_MAIN_FUNCTIONA what is it in .net?


Distributed Transaction support - has it been implemented for Net 7?
My understanding is that Net 7 would have distributed transaction support enabled for Windows only. I installed Net 7 and distributed transaction support does not appear to work. Windows 10 , WPF/MVVM application. Currently running under .Net 6, but the…


Show/Hide Console or HowTo Write to Console in a Windows Application in .NET 5.0
Hi There I plan to make a mixed application, means, the user can start them to open a black console window or to open it with a WPF-GUI. The user can select with a start option like -console or -window. Thus I created a WPF-application and set the…


Support for English (United Arab Emirates) in Azure App Services or possibly VMs
We have a customer in the UAE we would like to support. They would like AED currency but English dates which are supported in the English (United Arab Emirates) locale. It appears this locale is not yet available in Windows Server (other than v2004)…


System.DirectoryServices is not support dot net core 3.1 version on linux container.
I'm trying to put a .NET Core 3.1 application listing users in an AD group into a .NET Core Runtime Docker container. Accessing the AD is being done with the help of a DirectorySearcher from the System.DirectoryServices namespace. Out of the box, .NET…


Where do I put the "MSV1160CP10" file on my Windows PC if I wanted to download it?
To start things off with, when I open BeamNG Drive on my Windows PC—after installing it—I suddenly received an error message on a pop-up dialog box, stating that the software cannot open the library file, "MSV1160CP10.dll" from the DISM Package…


How can I set up a many-formed WinForms application to know when it's being switched out to and in from another app, including possibly another instance of itself?
WHAT I HAVE: Visual Basic 2019, WinForms, .NET Framework 4.6+ MY ISSUE: I have a WinForms app with several forms where, in order to avoid behavioral conflicts with other apps, including other instances of itself (same program, different process), I need…


.NET Runtime 1026, Application Error 1000, Application crashes
Hello! I originally had the application on my computer, and when it tried to update it crashed. So I uninstalled it to start fresh. When I try to install the Hearthstone Deck Tracker (HDT) application on my computer; however, I continue to get two…


.NET not found by multiple programs
I've had this VScode error for a while now: "The .NET Core SDK cannot be located: A valid dotnet installation could not be found. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.", …


Portability analyzer tool reports not compatible for Array.Reverse example but Microsoft API documentation has it in the examples
I have created .NET core 2.0 project and added the below code int nMonths = DateTimeFormatInfo.CurrentInfo.Calendar.GetMonthsInYear(DateTime.Now.Year); int[][] months = new int[nMonths][]; Array.Reverse(months); (complete code is…


Halabtech tool error
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. …


Server Error in '/' Application Web.config
HI I need this problem solution. If anybody have this solution then pls reply to it. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the…


how to use ServiceBase in .net core 3.1?
can not use ServiceBase in .netcore 3.1 right? I want to create windows services in .net core 3.1 how to do it?

