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…
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
How to Integrating Windows WebAuthn API with Custom Credential Provider in WPF C#
I've developed a Custom Credential Providers application that interacts with the Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() method for Authentication using Window Hello or External Fido2 Security Key. However, the CredentialUIBroker.exe…
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…
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…
How to target .NET Framework 4.0 in VS 2022 on Windows 11?
Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …
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…
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…
Javascript Gridview checkbox alert message not working properly.
I am using javascript validation in gridview. I have selected checkboxes in the gridview. but, still it's throwing alert message unncessarily. where is the problem in the below code. kindly update asap if anyone identified the issues. or pls. provide…
Ignoring macro error messages while running app
I have the following error message in this screenshot below: I need to resolve this issue, so that users won't see that message when they run my app if I package and deploy it.
Div <li> menu color not updating properly in ASP.NET master page c#
I am using menu control using <ul> and <li> tag. I am trying to apply some different color while menu selected. But, applying color not reflected in menu. (particularly white color for text in the menu) what will be the problem in the below…
How to make loader image show on every page when user click on any task
I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…
Rename mdb column
Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a column: "ALTER TABLE xc RENAME Column old new LONG" Searched and found ADE might not support it, what if I add a new column and drop the old…
Interop.Excel always saving in default path even specifying the path manually for Office 365
Trying to create an Excel file using Office.Interop.dll (15.0.4795.1001).But it is taking the default file path instead of the path which set manually. if (extensionObj != null) { relativeExcelPath =…
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…
Unable to restore a deleted user with graph API
I am trying to restore a deleted user via graph API. I am following the documentation here: https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-restore?view=graph-rest-1.0&tabs=http I have created an azure application and add…
Azure Functions - Logging not working correctly in local
I have a simple dotnet-isolated Azure function written in .Net 8 which has 1 Http trigger function. I have another custom database logger which is added to this function to enable database logging. When I am executing the function, none of the Microsoft…
how to read dxf file content text?
Hi every body I have a DXF file format that have drawing and text in it. I want to extract text from this file but I have no idea t odo that. can any one help me? 4-FUG-16802-AAR61-N_Sht_1.txt and dxf file(i change dxf extension to txt to upload it)
I want to update shared step in my testcase using C# program
I want to update shared steps in my testcase using C# program, I was able to get the shared steps reference with below code, but found that it is not updating the shared steps in tfs.. giving error "The ids and revisions collections must have the…
how to make an object from txt file ?
hi I want to read line by line this kind of file. and make object from each TEXT tag how can I do that? file contents: TEXT 8 GT_1 10 748.286 20 495.939 40 3.25000 1 EPPPSP1510AZZ01S8 41 1.02000 7 HTX1 0 TEXT 8 GT_1 10 804.000 20 495.939 …