Localize a DatePicker on Android using .Net Maui
Hi , i'm working with .net Maui 8 , and i want to use datepicker. it display name of days, months in English or i want it in french. i refer to learn page https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/datepicker?view=net-maui-8.0 …
Extracting Data from Excel Cells Derived from Complex Calculations Across Multiple Sheets
I'm encountering a challenge in extracting data from an Excel cell that derives its value from complex calculations spanning multiple sheets. The data source involves calculated fields from various tables, making the extraction process intricate. How can…
How to use Split in listbox click
Hi All, I want to use split in listBox3_SelectedIndexChanged but still fail.In previuos thread cannot help in situation. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using…
How to bind a button's command inside a data template in winUI3
I am working on a project using WinUI3. You want to create navigation in the Main Window and modify the Header with DataTemplate. How do I do the <button command="{binding}" within the data template at this time? <NavigationView…
Save X509Certificate2 as P7B / PKCS#7
Hello I need to select a X509Certificate2 from a store and save it as PKCS#7 with P7B extension, the same format as we save with certmgr as p7b. I'm using .NET Framework 4.8 WinForms, anyone knows a working solution for that? Thanks in advance :)
get a value of the row or item in ListView using a Button in Xaml
Currently I am able to get the value I have set the SelectedItem property to of the .Net Maui ListView by selecting an item in the ListView. However, I now have a button on every row of the listview that I would like to be able to click on and get a…
How do I enable the optional language extraction feature while calling the documentAnalysisClient and in the method AnalyzeDocumentAsync in SDK using C# with the 2023-07-31(GA) api version
How do I enable the optional language extraction feature while calling the documentAnalysisClient and in the method AnalyzeDocumentAsync in SDK using C# with the 2023-07-31(GA) api version
System.IO.Ports only availble on windows, but im using windows - .NET6
So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…
Ternary function - Type of expression cannot be determined.... conversion between <ActionResult> and Task<String>
I'm using an ternary expression in my code, LINQ Query statement as such: Type of conditional expression cannot be determined because there is no implicit conversion between…
Як виправити Сообщение 102, уровень 15, состояние 1, строка 2 Incorrect syntax near '.'.
SELECT Student.FirstName, Student.LastName, Student.Surname,[Group].NameGroup Stat.NameStat FROM Student, Stat [Group] WHERE Student.StatID = Stat.ID AND Stat.NameStat = 'Жінка' AND Student.GroupID = [Group].ID AND [Group].NameGroup = 'IT-31'
How to troubleshoot registration errors particularly in the RegisterModel page and carefully review the server-side registration process to implement sweetalert pop up.
I can not register with this code. I am encountering registration errors despite the notification popping up but i would get is error message and can't register, how to address issues with the server-side registration process or with how the form data is…
How to use Microsoft Azure DeviceClient with MQTT in .Net Framework 4.6.1
For a legacy WinForms application (.NET Frm. 4.6.1), I need to use Azure IOT device client to send events. When trying to create an instance like below with MQTT type, It throws "Operation is not supported on this platform." error. DeviceClient…
Empty element in XML throws error while deserialization
I was trying to de-serialize XML elements to an object. In that XML file, there is an empty element like below <enddate/>. It throws incorrect XML file error. I tried options like Isnullable, get set method etc. See below Still not able to fix…
System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0
I have a WebApplication with framework v4.7.2. The newtonsoft dll which was exist in 10.0.0.0 version. now I want to upgrade it to 13.0.1. But it not worked. I tried removing all the Newtonsoft json and re-installing it but no luck. Please help me. I…
NET MAUI V8.0 App - Issues with XAML page and await client.GetObjectAsync() for AWS S3 bucket
Hello, I am working on a NET MAUI V8 App that uses AWS S3 for file access. However, I am experiencing weird behavior when executing the following line of code: using (GetObjectResponse response = await…
Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?
I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file. But when we force close the solution,…
Reload the page to restore functionality, Blazor Server .NET 8
I am here to complain about the famous error: Could not reconnect to the server. Reload the page to restore functionality. I develop Apps using .NET 8 and Blazor Server My customers use the App on mobile phone but if they turned off the screen for while…
How to link and use Azure Communication Services with Azure Cognitive Services (Text-to-speech) in C#?
Hi, we're using Azure Communication Services (ACS) to send Emails, SMS text messages and make Voice phone calls (Robo calls). Everything is outbound communication. For Voice, we want to use the Text-to-speech (TTS) feature of Azure Cognitive Services.…
How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?
I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…
How to fix the SMTP address has no mailboxes associated with it error in .net dll
We are using a .net dll to read an outlook emails using exchnager url and the version. It was working fine untill couple of days ago then I started to get failed to extract mail id from outlook - the stmp address has no mailboxes with it. Ther version is…