HttpContext is null in production but working currently in development Blazor Web App .Net 8
hello, HttpContext after successful login, it is null in production but working currently in development Blazor Web App .Net 8 Interactive Auto. I have added this authorizationhandler and assigned to httpClient in program.cs public class…
Developer technologies | .NET | Blazor

How to build an app to check if any file is opened by another program(C#, Windows)?
I tried my best to build an app to check if a file is opened by another program. I used ChatGPT, Gemini to do so. But their solutions didn't work. Now I need your help: using System; using System.Collections.Generic; using System.Diagnostics; using…
Developer technologies | C#
After VS installation, where are the VS environment variables (e.g. VS_INSTALL_DIR)?
After I install Visual Studio Community, where are the VS environment variables (e.g. VS_INSTALL_DIR)?
Developer technologies | Visual Studio | Setup
Why does the post-increment/decrement operator precede the pre-increment/decrement operator?
Hi! I was checking out the Microsoft article for operator precedence in C# (https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/#operator-precedence), and I saw that in the table, x++ and x-- precede ++x and --x. I didn't really…
Developer technologies | C#
how to use DASH or HLS to play video in asp.net core?
how to upload video and then play it using DASH or HLS?
Developer technologies | ASP.NET | ASP.NET Core
MFC opening dialog, find starting position
Windows 11, Visual Studio 2022, C++ MFC This line is in OnInitDialog() of the class that starts when the app is started in debug mode. CWnd::GetWindowRect( &m_dialog_location_size );`` ``// Get the window rectangle The .left and .top…
Developer technologies | Visual Studio | Debugging

How to use SUM or other functions to sum the cells of the established IF function in Excel?
The cell formula of the established IF function is =IF(O2+P2+Q2<=80,"80",IF(O2+P2+Q2<=110,"150",IF(O2+P2+Q2<=140 ,"190",IF(O2+P2+Q2<=140,"190","230")))) I want to add up these result values,…
Microsoft 365 and Office | Development | Other

Microsoft 365 and Office | Excel | For business | Windows

Developer technologies | Visual Basic for Applications

NET9 MAUi connection from Visual Studio to iMac
In my iMac, I have installed NET9 and the workload for MAUI, latest version. I created a shiny MAUI project based on NET9. When I try to run the application from Visual Studio to a simulator such as iPhone 15 iOS 18.1, I get this error MSBuild was…
Developer technologies | Visual Studio | Setup

XSLT/XSL-FO transformation function stops working (Exception from HRESULT: 0x80131401)
Hello, My Visual Studio is again not working for XSLT/XSL-FO transformations. The error message that displays is: FileLoadException Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401). All…
Developer technologies | Visual Studio | Other
Unique ID of MAUI device
Hello IT gurus I need some unique identifier of MAUI device (platforms: iPhone/Windows/Android/Tizen/MacCatalyst...) like MAC address of device, whatever... I want answer on this question: Is it the first (self) app instalation on this device? Yes/No…
Developer technologies | .NET | .NET MAUI
How do I get Microsoft Code to come up in my right click menu?
When I right button click on a folder in Windows Explorer, the option to launch that new and empty folder in Microsoft Visual Studio Code is not available to me as it appears in a youtube tutorial like so. How do I get it there as a menu option If I…
Developer technologies | Visual Studio | Setup

The correct CChildFrame is not activated after the predecessor is closed.
MFC MDI application. Opened several CChildFrame s. (To illustrate better my issue I identified every CChildFrame with an unique id.) Opened, lets say, 5 CChildFrame. 1, 2, 3, 4, 5. List the order of the CChildFrame by menu: About: List…
Developer technologies | C++
Unable to Hide Buttons in Custom Toolbar with UI Context in Visual Studio Extension
I have created a custom toolbar in my Visual Studio extension that appears only with specific files, using a defined UI context. I want to hide certain buttons in this toolbar programmatically. However, setting the .Hidden = true property does not hide…
Developer technologies | Visual Studio | Extensions
iOS Setting SemanticFocus on ContentPage
I am testing the voiceover function for iOS. For this I have a ContentPage which contains: An AccessibilityTitle set to describe the page itself AccessbilityText for every element within the page (these elements can be Labels, ContentViews etc What…
Developer technologies | .NET | .NET MAUI
How to load Langauge Server (LSP) when loading the extension package
I have a requirement of loading the Language Server (LSP) explcitly without opening any file (of the Language Server's content type). But currently the Langauge Server gets loaded only when a file of this content type is opened. Is there a way to load…
Developer technologies | Visual Studio | Extensions
Access database set Default Value of a short text field of another short text field
Hi there I have an access database with a short text field called TM Description. I have created another short text field called BrandingDescription that I want to set the Default Value to the text entered in TM Description, ie the two fields would show…
Developer technologies | VB
Help fixing template logging code
In the line return $log, "testVoid4"; I'm getting this compile error: 'void' function returning a value I don't understand why when $log, is called with just a single argument void_wrapper is returning anything else than void. How I could make…
Developer technologies | C++
How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging

How to open a new file in memory in visual studio using my editory factory
I want to open a new .sql file in memory not in the disc and also when the file is open i want to use my editory factory to it I tried this method to create a new .sql in memory file but using this way I am not able to use my editory factory to it. var…
Developer technologies | Visual Studio | Extensions
Attaching to WSL process from a visual studio extension.
I can attach to a WSL process in visual studio by going Debug -> 'Attach To Process' in the menu, then setting the 'Connection type' to 'Windows subsystem for Linux', selecting the process from the list, and clicking the 'attach' button. How can I do…