In UWP or WinUI3, how to use AutoSuggestBox as the search box and highlight the matching keywords in red in the search result list
AutoSuggestBox is a good control in WinUI3. I use it as a search box and display search results. But how to achieve more advanced functions, such as highlighting keywords in the results ( ex, one of the result is 'powered by Microsoft', and only…
![](https://techprofile.blob.core.windows.net/images/P9lwKcAJKUWy1Mb_13eoDw.png?8DB035)
Unable to make full screen splash in .NET MAUI
How can I make splash to display in full screen instead of just at the center of the mobile screen in .NET MAUI? I've tried different base sizes, but not working. Target android version up-to 13. <ItemGroup> <MauiSplashScreen…
How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?
I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…
Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'
Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…
how to call FSCTL_GET_NTFS_VOLUME_DATA IOCTL from c#
In a C# program, I need to get details, like MFT size, etc, on NTFS partitions. I found a link() to an article that alleges to do this, BUT unfortunately MS redirects it to "Ask a Question".I appreciate any good words, especially sample code,…
How to read and output the NPU utilization
Hi All How to use the following MS learning to read and output the NPU utilization. Thank you. https://video2.skills-academy.com/en-us/windows/win32/api/activitycoordinatortypes/ne-activitycoordinatortypes-activity_coordinator_resource
![](https://techprofile.blob.core.windows.net/images/N330SdAG0kqrzdPjkrhKeA.png?8DAB57)
SSIS 2022 Script Component Runtime Error
Hello, I've configured a Data Flow error redirection and is using a Script Component to capture the error description and column but is getting the attached runtime error. I am running the latest version of VS2022. Thanks
![](https://techprofile.blob.core.windows.net/images/_KR_hQAAAwAAAAAAAAAAAA.png?8D8440)
How can I get apps on different platforms to communicate?
I wonder if there is anyone out there who can help me with a solution to an application I want to create. This solution will contain two separate platforms, communicating with each other via network, serial ports, or something else. The first platform…
Custom fonts not working when uploading Maui Android project to Play Store
I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…
Get error column name using script transformation
Hello, Hello with error caused by the GetIdenfificationStringByLineageID. I'm trying to get the actual error column name and I can't get pass this error message. Thanks,
How to solve a task with C#
Each person has a favorite number. Jacob’s favorite number is X and Jayden’s favorite number is Y. A non-empty array A consisting of N integers is given. Jacob and Jayden are interested in occurrences of their favorite numbers X and Y in array A. They…
How to inherit form in .net design time (there is no inheritance picker)?
How can I correctly inherit from some template form at design time in VS, on .net? In .net framework there was Inheritance Picker but I do not find it in .net 8.0. When I create simple inheritance from another form, like this: public partial class…
Set cover image to MediaPlayerElement in C# uwp for audio files
In my C# uwp project, i want to set a cover image to my MediaPlayerElement object, when an mp3 (or other audio file) loaded. I have tried the PosterSource property, but after i have been loaded a file in my mediaplayer, the postersource disappeared. I…
How to apply search in collection view with portion loaded data?
i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…
Scripts inside local html is not working with webview Eval in UWP Xamarin forms
Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :
How do you read an SMS and MMS message using .NET MAUI (on Android only)?
I'd like to read an SMS and/or MMS message on an Android device only, but from within my .NET MAUI app. Specifically, I want to save any received (MMS) picture that has been texted to me plus any associated (SMS) text. Is this possible with .NET MAUI…
How to export viewstate data to pdf in ASP.NET C#
I am developing asp.net application and i already done from viewstate to excel (not from gridview to excel). But, i am struggling to export pdf from viewstate. my viewstate columns is nearly having 20 to 25 columns. below is my code and correct me where…
How to create Excel file with Visual Studio 2022 and C#
I'm working with Visual Studio 2022, Project WPF C# with .Net 6.0 and Entity Framework Core. DataBase MS SQL Express.I have also a valid and active licence Microsoft Office 365. I try to Create an Excel File but I have different error msg (see…
SQL Mail Account Name not displaying properly while sending mail from ASP.NET Application
I am developing ASP.NET web application. In that, i am sending mail to end user from my SQL Mail profile. i have the below mail profile and account name and mail id. SQL Mail Account Name : IND GROUP MAIL E-mail ID : indteamsupport@jeevesteam.com We are…