user32.dll!UserCallWinProcCheckWow()
My MFC embed WPF, and sometimes I want to show a WPF dialog, it will crash. I find below difference, and want to know when execute the two functions. there is not parameter in the crashed call stack: user32.dll!UserCallWinProcCheckWow() there are…
How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)
Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…
Add Signature while replying using Selection c# vsto addin
I am new to C# VSTO Add-In development and am trying to add a signature at the cursor's location. However, I'm unable to insert HTML and can only add plain text. How can I append HTML instead? I tried the code below and was able to add text. How can I…
I am unable to create index in Azure AI search using C#
I have followed below git repo to create index in Azure AI Search (Line 231 - 307) https://github.com/Azure/azure-search-vector-samples/blob/main/demo-dotnet/DotNetVectorDemo/Program.cs I am not using SemanticSearch so removed code from Line 266 -…
Dependency Properties in User Controls
I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…
Blazor 8.0 NavigateTo throws an exception
Hello, I have a language selector that calls the following code and it works like a charm. On other hand, I want to change the language from within the MainLayout on Initialized event (async) but then the very same code throws an exception of type…
C# - Interface Reimplementation
Hello, I've read an article about Interface implementation, I don't understand the second reason. Could you please explain and write an example? I really appreciate any help you can provide. Alternatives to interface reimplementation Even with explicit…
preventing c# listview items from disappearing
I have a ListView in a form in c#. There was info about an error in the ListView implementation that causes the items to disappear the first time the mouse hovers over the ListView, and there is a solution to prevent that which works fine. However, my…
Multiple HTTPs Requests
Hello All, We have a WPF application built on .Net Framework 4.8. This application communicates with an HTTPs server to perform a list of commands. These commands must be executed one after another and must not be sent in on go. This communication is…
The "CreateAppHost" task failed unexpectedly. How do I fix this?
I opened a project I worked on a few months and a few updates ago. Now I can't open the form designer. The error list states: MSB4018 The "CreateAppHost" task failed unexpectedly. System.IO.IOException: The requested operation cannot be…
FirebaseApp Initialization Error in MAUI .NET 8
Hello, I am encountering an issue with initializing Firebase in my MAUI Android and iOS projects. The error message I am receiving on Android is: [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.IllegalStateException: Default FirebaseApp is not…
Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication
Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…
Adding Blazor Identity to existing Blazer project fails with a 'null path' exception
Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…
An odd issue where VS2022 is not able to bring Apps list from Microsoft Store.
Hello Everyone, Everything was working fine all these years, but suddenly, for no apparent reason, I'm unable to associate my application with the Microsoft Store. Whenever I try, I receive the following error. I have no network issues and I can login…
Can we convert .eml file to pdf , .docx or any image format
I am fetching the email from exchange server through graph api and then saving it to .eml , for which i didn't got any way to directly convert it into pdf , .docx or any image format . But while going through outlook when we open any message and go to…
How to run asp.net web application using visual studio code ?
I work on .NET 4.7. I have an issue: I can't run applications in Visual Studio Code. I don't know how to run it. Startup page is http://localhost:22851/WebPages/loginT.aspx This page opens in Visual Studio 2019, but how to open the page logint.aspx in…
Microsoft Authenticator
Hello, I am currently experiencing issues with the Microsoft Authenticator app. When I try to log in to an application, it asks me to enter a security code generated by Microsoft Authenticator. Unfortunately, I have forgotten the security code, and I did…
Why am I Only Seeing Warning Level Logs in Application Insights?
I am working on an ASP.NET Core application and have integrated Application Insights for logging. However, I'm facing an issue where only Warning level logs (severity level 2) are being sent to Application Insights, even though I expect to see logs of…
MAUI stops keeping the display up to date when an HTTP request is made
I am new to MAUI programming as well as parallel Thread programming. I have retrieved a MAUI application that I am trying to modify. The application captures a sound sample and transmits it to a server to identifies its origin among a set of determined…
Regex for QRCode Information
Hello everyone and thanks for the help in advance. I am developing a program to read information scanned by a QRCode reader. Here is a sample of the input (01)00358160740213(17)260515(10)32PF3(21)5HZ6R1PX8C The input includes the GS1 separator fields…