Exam scheduling issues.
I have completed Microsoft azure AI foundamental challenge which challenge allowed me to schedule exam free of cost by providing voucher. I have received voucher after completing the challenge but while scheduling exam i am unable to redeem this voucher.…
Select Delete commands
Hello, I've been given this samples for insert into and update: Using command As New OleDbCommand("INSERT INTO Table (Column1) VALUES (?)", connection) command.Parameters.AddWithValue("@param1", field1) …
COM timeout Excel
Microsoft 365 Excel version 2403. C# application (WPF on .Net 8) using excel COM interop ("automation") which adds a menu in the Excel application and setsup a click handler (in WPF). All works normally just fine, but when debugging and say…
Android Emulator waiting for debugger to attach in .net maui app
I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…
double roundoff error in calculations
All of these following code statements should yield the same value, but the second to fourth statement have a second to last digit rounding error in c#. The first statement is correct and fifth to last are correct. Do you know this is…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
how to read ObservableCollection to an array
I may be doing this the long way , I want to read all the Line in my listview. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding Key}"…
image not loading in modal popup imageurl in asp.net c#
i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…
Does NumberBox.Value NaN not equal double.NaN?
When I use NumberBox (WinUI2), I have trouble as follows: if (NumberBox.Value == double.NaN) // It keeps false. { // Some action codes. } Is there any bug about this equation? I would appreciate it if anyone could solve this problem.
running asp.net intranet application on localhost asking for authentication
I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…
Exception problem
Hi, I've got issue due to this line below. reader = cmd.ExecuteReader(); Can it be owing to no record returned?
Define Thread
Hello, In this code: Dim ThreadBlah As New Thread(AddressOf BlahThread) vs Dim ThreadBlah As New Thread(New ParameterizedThreadStart(AddressOf BlahThread)) ThreadBlah.Start Private Sub BlahThread(ByVal InParam As Object) ... End Sub I can define…
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
Unauthorized error when logging in with IdentityModel.OidcClient in MAUI
I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…
Where can I get the syntax, is there a comparison table? How do you do it?
Sample IsValid callback; // define a variable of delegate type IsValid callback = s => s?.Length > 1; // using lambda, define a callback function var result = callback("test"); // invoke the callback code IsValid…
Func, Action, Predicate delegates, events in C#
Hello! I am looking for a good short guide on when and how to take what. Do you have any examples or do you know a good site?
Procedure for a m:n data relationship
Hello! Are there any tools or tips on how to create a data model? Once the data model is there, how best to deal with primary and foreign keys. The based on XML or JSON format. Save and read XML or JSON files. <MappingTable> <Parameters> …
Issue with move folder API in Microsoft Graph when Email ID contains "/"
When attempting to move a folder using the following endpoint: Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move I'm encountering an error when the EmailId parameter contains a "/" symbol. Despite trying to encode the Email…
How to copy more than one project to Visual Studio and set reference across the pojects?
Dear All, How to copy multiple projects (that do not exist locally) to Visual Studio and set references across the projects?
How to paste image to canvas from WebView2?
In C# uwp project i want to paste image from a WebView2 to my Canvas. I tried to implement that in 2 ways: with drag n drop and with right click copy. Drag n drop cannot be possible because i cannot drag the image from webview2, so the subscribed drop…