MAUI: Notification icon is blank in Android 15
I am using below code to show the push notification icon in my MAUI application: private void CreateNotificationChannel() { try { var channelId = $"{PackageName}.general"; var notificationManager =…
Developer technologies | .NET | .NET MAUI
Unicode and ASCII may not be encoding correctly
Hi, I am using visual studio 2022 to host a .NET 8 MVC web application project. I am trying to read a text file and write it to another text file. This is the code I am using: string wdata = System.IO.File.ReadAllText(file); // This is the…
Developer technologies | ASP.NET | ASP.NET Core
ANDROID REDIRECT URI
I am trying to test the sample https://github.com/Azure-Samples/ms-identity-dotnetcore-maui/tree/main/MauiAppWithBrokerTo run in Android, it requires that "AndroidRedirectUri" be defined. The Entra ID portal requires a hash key that has to be…
Developer technologies | .NET | .NET MAUI
Control Not Visible on Smaller Screens or High-Scale Displays in MAUI
I have a custom control in my .NET MAUI application that is not visible under the following conditions: The screen size is less than 15.6 inches The resolution is lower than 1920 x 1080 The display scale is greater than 125% The control works…
Developer technologies | .NET | .NET MAUI
Form layout issue
Hi, Any existing form sample to have the 3 parts below on a form that we can have the different details inside each?
Developer technologies | ASP.NET | Other
A Blazor app I've been working on, no longer can access our Azure Key Vault
I've been working on rewriting an app for a while. I have successfully debugged the app, and it's read from our Azure Key Vault, many times before. Now, without making any changes, it no longer can access it. I'm getting a, "No connection could be…
Developer technologies | ASP.NET | ASP.NET Core
visual studio is refusing to install
so i'm trying to install video studios but no matter what I try it refuses to install. the error code is Error 0x80004003: Failed to read instance b529d110
Developer technologies | Visual Studio | Setup
in dlt pipeline , after dlt.except_all("rules") , the dlt.table can not filter the column("_dlt_valid")
in my DLT pipeline , I want load the bronze table data into silver table after validation , other non-valid data load into reject table . in silver silver use the function dlt.except_all("rules") , but in silver layer part , the pipeline can…
Developer technologies | Windows Forms
Visual Studio Code does not let me type the letters a, s, or d, only in files
I can type these letters in the terminal just fine; however, I nothing shows up once I try and edit my code using these letters
Developer technologies | Visual Studio | Debugging
SSIS Error "Could not create a managed connection manager." in VS2022 at runtime
I work with Always Encrypted databases in SQL Server with Host Guardian Services set and have to run many integration processes using SSIS. As per Microsoft support, the ONLY driver capable of establish a connection to SQL Server using Host Guardian…
Developer technologies | Visual Studio | Extensions
How use custom media size in print surpport app?
in print surpport app, change paper size from A4 to custom media size, call SetParameterInitializerAsInteger method set PageMediaSizeMediaSizeWidth, app will dump. how to use it correctly?
Developer technologies | C#
Can't Deploy to Analysis Service Get Error
Hello, I have a new computer, new install of visual studio 2022 community and Analysis Services Project installed. I can't deploy my tabular project to SQL 2019 Analysis Services. I get the following error: See the end of this message for details on…
Developer technologies | Visual Studio | Debugging
how to change color in triggers in wpf?
<Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property ="Background" Value="#ffffff/> </Trigger> </Style.Triggers> the color is still the original when the mouse…
Developer technologies | Windows Presentation Foundation
Excel Interop throws exception with reference added
Hi, I am trying to develop a vb.net application to open an XLSX file, change every occurrence of a label in the file, then save the file. See the exception I am receiving. I have included the Imports Microsoft.Office.Interop.Excel and a COM reference to…
Developer technologies | VB
Why don't I see any text on screen?
I don't think I missed any code. LRESULT CALLBACK WindowProc(HWND, UINT, WPARAM, LPARAM); HWND _hWnd = nullptr; HWND _childhWnd = nullptr; HINSTANCE _hInstance = nullptr; int APIENTRY wWinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE…
Developer technologies | C++
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++
How to call Python functions from C++, good description
Where do I find a good description of how to call Python functions from a C++ program ?
Developer technologies | C++
How do I download an older version of Visual Studio? (Windows 8.1)
I have a very old windows laptop, and I was wondering how to get visual studio on it. When I go onto the website, I only see 2022 versions and can't find any versions before it. Never mind I figured it out
Developer technologies | Visual Studio | Setup
Visual Studio 2019 offline does not work
I am attempting to update Visual Studio 2019 in an offline environment, using vs_enterprise.exe --layout command like I have for the last 3 years, but starting with 16.11.49, the installer does not complete. When I try running setup.exe in the offline…
Developer technologies | Visual Studio | Setup
I don't have an option in vscode to Generate assets for build and debug like the lesson says
The lesson says to type .net: g to get an options to generate assets for debug in visual studio code, but I never get that option This question is related to the following Learning Module