54,053 questions with Developer technologies-related tags

Sort by: Updated
1 answer

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
asked Jul 25, 2025, 1:05 PM
Prathamesh Shende 441 Reputation points
edited a comment Jul 26, 2025, 10:00 PM
Bruce (SqlWork.com) 78,591 Reputation points Volunteer Moderator
1 answer

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#
asked Jul 22, 2025, 3:16 PM
Rahmatulloh 40 Reputation points
answered Jul 26, 2025, 5:27 PM
Bruce (SqlWork.com) 78,591 Reputation points Volunteer Moderator
1 answer

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
asked Jul 14, 2025, 5:45 PM
Ken Woolridge 0 Reputation points
commented Jul 26, 2025, 3:56 PM
ishaq safwah 0 Reputation points
1 answer One of the answers was accepted by the question author.

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#
asked Jul 26, 2025, 1:09 PM
Vajk Vas 20 Reputation points
commented Jul 26, 2025, 2:06 PM
Vajk Vas 20 Reputation points
0 answers

MAUI USE OF BING FOR ERROR REPORTING

With the latest releases, when debug deploying my MAUI app to an Android phone, during the early execution Chrome appears targeting Bing with the following URL: "https://www.bing.com/?ref=aka&shorturl=View/SystemErrors/1". The browser…

Developer technologies | .NET | .NET MAUI
asked Jul 26, 2025, 11:41 AM
Marc George 191 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked Sep 1, 2023, 2:44 AM
mc 5,611 Reputation points
commented Jul 26, 2025, 11:12 AM
Stamati Crook 0 Reputation points
0 answers

How to build an app to check if a file is opened by another program using C#

Hello, I want to build an app to check if a file is opened by another program.

Developer technologies | C#
asked Jul 22, 2025, 3:22 PM
Rahmatulloh 40 Reputation points
edited the question Jul 26, 2025, 10:02 AM
Gérard Oomens 97,675 Reputation points Volunteer Moderator
1 answer

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
asked Jul 24, 2025, 7:47 PM
Bryan Kelly 516 Reputation points
edited an answer Jul 26, 2025, 10:00 AM
RLWA32 50,051 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked Apr 20, 2022, 6:03 AM
尉寧 羅 21 Reputation points
answered Jul 26, 2025, 7:15 AM
Ashish Mathur 99,490 Reputation points Volunteer Moderator
0 answers

How to remove server from server explorer list in Visual Studio

I am sorry if the tag is wrong. I could not find a visual studio tag. The issue is that I have by mistake connected to my own pc as a 'Windows Server' and now it is showing up in the Server Explorer of Visual Studio 2022. I am able to view 'Event Logs',…

Developer technologies | Visual Studio | Setup
asked Jul 25, 2025, 3:15 PM
gagrim808 91 Reputation points
commented Jul 25, 2025, 9:42 PM
Erland Sommarskog 123.3K Reputation points MVP Volunteer Moderator
1 answer

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
asked Jul 23, 2025, 4:19 PM
Enrico Rossini 201 Reputation points
commented Jul 25, 2025, 8:38 PM
Grant Schaffer 25 Reputation points
1 answer

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
asked May 20, 2024, 11:36 AM
Tsvetelina Ilieva 15 Reputation points
commented Jul 25, 2025, 8:31 PM
Chang, Henry 0 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked Feb 20, 2025, 10:00 AM
Wheelstring 190 Reputation points
commented Jul 25, 2025, 6:17 PM
Rodolfo Sousa 20 Reputation points
1 answer

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
asked Aug 26, 2024, 4:41 PM
William Thompson 125 Reputation points
commented Jul 25, 2025, 5:27 PM
Nizar Ahmad 0 Reputation points
3 answers

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++
asked Jul 21, 2025, 11:59 AM
Flaviu_ 1,071 Reputation points
commented Jul 25, 2025, 5:13 PM
RLWA32 50,051 Reputation points
4 answers

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
asked Jul 21, 2025, 9:22 AM
Vasu Bansal 20 Reputation points
answered Jul 25, 2025, 2:52 PM
Susmitha T (INFOSYS LIMITED) 85 Reputation points Microsoft External Staff
1 answer

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
asked Jul 24, 2025, 2:09 PM
Bubba Jones 0 Reputation points
commented Jul 25, 2025, 1:26 PM
Bubba Jones 0 Reputation points
2 answers One of the answers was accepted by the question author.

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
asked Jul 14, 2025, 2:45 PM
Sajith 46 Reputation points
commented Jul 25, 2025, 12:41 PM
Varsha Dundigalla(INFOSYS LIMITED) 480 Reputation points Microsoft External Staff
4 answers

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
asked Jul 17, 2025, 1:56 AM
Emily Williams 0 Reputation points
commented Jul 25, 2025, 12:32 PM
Varsha Dundigalla(INFOSYS LIMITED) 480 Reputation points Microsoft External Staff
1 answer

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++
asked Jul 16, 2025, 6:42 AM
Lilo 40 Reputation points
commented Jul 25, 2025, 12:31 PM
Varsha Dundigalla(INFOSYS LIMITED) 480 Reputation points Microsoft External Staff