Content
Bluetooth Low Energy Multiply times ValueChanged notification
The GattCharacteristic.ValueChanged event handler is triggered multiple times. The same problem with "Windows-universal-samples" in "BluetoothLE" example. BluetoothLE" example... For example when I "connect to…
Active Directory: Directory Searcher returns byte array instead of long (extrememly rare occurances)
Hi, I'm dealing with importing records from Active Directory and I've had an issue come up a couple of times but as such it's not reproducable. With using the DirectorySearcher class, in some occurances attribute values are being returned as a byte…
How to build WinUI 3 application using .NET 7
If I create a blank WinUI 3 desktop application with VS2022 Preview in Windows 10 x64, it targets .NET 5 and I immediately get warnings: Package 'Microsoft.ProjectReunion.InteractiveExperiences 0.8.12' was restored using 'net5.0-windows10.0.19041,…
How to filter two columns in c# using a textbox
I want filter two columns (1,3) using a text box. Another thing that you might need to know is that I’m using the excel file path and not a database. private void button1_Click(object sender, EventArgs e) { using (XLWorkbook…
cs1501 error
I get cs1501 error - No overload for method 'download' takes 7 arguments. Running this code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using…
How to display and hide drop down lists based on condition drop down list ?
I work on blazor server side I have drop down list condition have 3 option server and database and owner . every option from these three options have one drop down list only so server have drop down list database have drop down list owner have drop down…
Custom Control CommandParameter
I am working on a Custom Control that Consists of a ComboBox and a Button to the right as the image below. My code for allowing Commands to be Bound to the Button is: private Button _SearchButton; // events exposed to container public…
C# Multiple Subscribers on Reactive Linq Subject
Hi All, I have a requirement to process messages fast only once. Is it possible to have multiple subscribers doing the task Currently, i am using Reactive Linq NuGet package. Please see code snippet below TIA static Subject<int> subject = new…
How to change display name of sender to be different of email name in sending mail using c#
Message message = new Message() { Body = new ItemBody { Content = "test 123", ContentType = BodyType.Text }, …
How do I send contents of a panel to an image column in datagridview?
I am working in Win Forms here. I have a panel that I've coded to allow for freehand drawing. This is going to act as a box for users to sign their names. Also, I have a combobox that is pulling names from a datagridview. This is how I'd like it to…
Reuse the List<>
Hi, I am using the below code in my sign in page: List<SigninData> data = JsonSerializer.Deserialize<List<SigninData>>(result); also I am using this: List<ActivationData> data =…
Check if the ContentPage is a MainPage
Hi, In .NET MAUI, how can I check the current page is a Mainpage? Thanks, Jassim
Why i am getting TypeInitializationException
Hi, Why I astarted getting the below error when running my iOS app? can anyone help please.. System.TypeInitializationException: The type initializer for 'Microsoft.Maui.Controls.Shapes.Shape' threw an exception. ---> System.MissingFieldException:…
Can we customize the RequestedTheme Dark color in WinUI3
While loading the splash screen, we are seeing some black color flickering. We are assigned RequestedTheme property as Dark and in the splash we have mp4 video and some text. Could you please help here to customize the color of Dark RequestedTheme…
Tengo un problema para iniciar sesión de Microsoft 365 office, en power point y word , me sale código de error.
Esta ventana me aparece cuando intento iniciar sesión en microsoft, word y inclusive power point.
How can word file displayed in a div container be printed in a pdf format?
I am trying to have a single page that will can be used to display either a word (.doc/.docx) or a PDF file. Instead of having two pages, each for word and pdf files. It’s a success but printing either of these formats in PDF is where I have…
Give read-write permissions on blob storage recursively using C#
I have a container in one of the data lake. There are multiple folders into that container. Now I want to give specific access/permission using C#. Basically I have to create a function (webhook) which will give permissions to folders into container. Is…
Libraries required for C# code to export files to Azure Blob Storage from websites hosted on Azure App Service
We were using IIS for deploying .NET web application. One export to excel button had been given on UI to export details from database to Excel file and then it will be downloaded to local disc storage. We used Microsoft Office Interop Excel to export…
html css mobile
<section class="kaydirma"> <div class="swiper mySwiper container"> <div class="swiper-wrapper content"> <div class="swiper-slide card"> …
Conditional selects on expanded navigation not supported
Good day, I'm attempting to retrieve data from an OData service, using the Microsoft.OData.Client nuget package. The end result that I'm looking for is to execute the following…