How to Increase/Decrease mouse pointer moving speed on a WPF application surface?
Hi there, I have a simple WPF application where I need to control the mouse pointer speed. Suppose I run the application and as soon as my mouse pointer enter the application area, the mouse pointer speed should be increase and I want some more…
How to maintain ajax text box calander control value after save button clicked
I am using asp.net text box control for date picking..for that, i am using ajax calander extender. Here, is facing issue that, date control values will be clearing after save button clicked...here I want to maintain the date values till I manually…
Open Word Document in .Net
I'm trying to convert a C# Framework 4,.8 application to .Net 8. If I include the line: dynamic MyWordApplication = new Microsoft.Office.Interop.Word.Application(); An error occurs: {"Could not load file or assembly 'office, Version=15.0.0.0,…
DataGridView RowCount vs Rows.Count
Hello, RowCount: Gets or sets the number of rows displayed in the DataGridView Rows.Count: Returns the number of rows What does it mean, when they can have different values? The only condition I can imagine is if a row is invisible, then RowCount does…
EF Core doesn't recognize many-to-many relationship
I have a many-to-many relationship, altough EF Core seems not to recognize it. The relationship exists between JobOffer and JobOfferTag. JobOffer inherits from BaseJobOffer. BaseJobOffer.cs public class BaseJobOffer { [Required] …
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
Performance Discrepancy Between Templated Control and Direct Implementation
I encountered a performance issue while working on a project where I utilized two identical buttons with all properties set the same. The only difference was in the content: one button utilized a PathIcon inside a Viewbox, while the other utilized a…
Dropbox on .NET Maui
I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…
REST interface, server
Hello, the request is ok. I have a request and would now like to create a test server (mock sever). To see if the interface works and I can develop with test data. All that is required is a defined response. What options do I have to achieve this? I…
Error when uploading CSV files to Azure blob storage using ManagedIdentity with C# and GraphQLAPI. "Total size of resourceFiles is using 147% of available space after processing."
Hello All, I have created a console app using C# where I try to fetch the data from GraphQLAPI and store the data in csv files. post that it would be uploaded to the Azure blob storage using ManagedIdentity. This complete code work fine in my local VS…
How to bring app to front, if already open?
How to bring the app to front, if already open? My app is Windows Form application c#
Get Sql instances in .Net
How can I retrieve a DataTable from Sql Server instances in .Net? In the .Net Framework it was done this way: SqlDataSourceEnumerator instance = SqlDataSourceEnumerator.Instance; DataTable table = instance.GetDataSources(); string…
How to Disable/Enable Audio Hardware Acceleration in Windows 11?
Hi there, I would like to Disable/Enable Audio Hardware Acceleration programmatically in Windows 11. Is there any way to implement it? Thanks. Best regards, Hank
Why is the GetReservations method not running asynchronously?
I am having trouble getting the GetReservations method to run asynchronously in my ReservationListingViewModel class in C#. Can someone please help me understand what I'm doing wrong? And I am also having an issue with using _reservations as private…
Microsoft Visual Studio Community 2022 (64-bit) - Version 17.9.7
I am using C# from the above. For a simple one file console app, I get a compile error saying "ProgA (namespace) already contains a Program class." It does not - there is just 1 file with a single definition internal class Program put there…
Execute external javascript embedded in inline html from .net Maui windows desktop application
0 I have an Html code embedded in C# .net MAUI windows desktop application. The Html references to external javascript files but this code doesn't work in .net MAUI solution for windows desktop app. any possible leads to this problem? The .js files are…
Conditional compilation depending on the Framework
VC employment with Winforms, WPF and Asp.Net. All projects use the same dlls in C#. I am trying to go from .Net framework 4.8 to .Net 8 and I need to include some code in some dlls so that, at compile time, it detects whether 4.8 or .Net is being used…
could not load file or assembly'Microsoft.data.sqlclient'
how to solve this error
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
ToUpper and ToLower first char and first word
Hello, Going to convert the first letter of each word to upper and lower case, to upper is simple, but to lower? System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(---) And to convert the first word of string to upper and lower case, no…