How to use timer to automatically run JavaScript in WebView2.
Hello: For my project, I have to automatically run some JavaScript every minute in WebView2. Even I can manually click on the button to run the JavaScript and get the result, but I can’t figure out how to use timer to run the job automatically. …
MAPI32.DLL” for sending mails not working?
Hello, We are using MAPI32.dll for sending mails. But we are unable to send mails. we are getting "General MAPI failure [2]" issue. Outlook settings also we have checked still not working. Kindly support us on this. Thanks, Akhila Alla
Unclear exception captured
Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…
How to get system win+H voice input status ,result of voice input...programaically?
Is there any api get information of system voice input(win+h) I want to know some informations like open or close voice input status ,result of voice input...etc.
Retrieve SAS key from a service bus via http request or C# sdk
I need to get some SAS Kay from some service buses and I do it manually very often. I need to implement something that I get the SAS Key by the name. Is it possible to retrieve it via http or with c# sdk or with any other method?
Permutations Array?
Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…
What is the alternative of GetWebLoginClientContext in the current PnP.Framework?
Following this issue, I have copied the code for GetWebLoginClientContext and implemented it in my project. However, I get this out-of-date browser error because the code uses System.Windows.Forms.WebBrowser which uses the old built-in browser. What…
How to request authorization from macOS to delete file in MAUI Mac Catalyst app
I have MAUI application that deletes file. But I can get UnathorizedException, because file is secured. I want a dialog to appear for user "Application NAME_OF_MY_APP wants to delete FILE", like Finder does when you want to delete some…
C# Trigger and event when there is a change in a variable
Total noob to C# and don't really have a good grasp of delegate and events. I want to trigger an event when a variable is changed and run some method/function when it is triggered in the same class. Not sure if events are best way to do this but if could…
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 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…
How to fix Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Using VB 2022 and I have this issue that I can not get resolved. using .net framework 4.8 and I tried using x64, x86 and nothing has worked
Is it possible to write new attached property like Validation.Errors, say MyValidation.XYZ
Hello, I would like to use some set of my own different attached properties not defined in Validation.cs. Actually I've tried all known possible ways including AddValueChanged for existing public Validation.<DependencyProperty>, but no have no luck…
Throttling consumption of Servicebus messages with azure functions
We have built several solutions for clients based on azure functions and servicebus to move data between systems. Each solution hosts many (100+) individual functions triggering on individual topics from many different systems. Although some solutions…
Azure AI Speech Service - No punctuation on Recognized return
I am using the Azure AI speech recognition, which I think is configured correctly to punctuate en-GB. Currently, the recognized return is unpunctuated and comes out as straight text _speechConfig = SpeechConfig.FromSubscription(Token,…
I am trying to download a file which is inside a subfolder of a blob container in a storage account using Azure c# function.
BlobUriBuilder blobUriBuilder = new BlobUriBuilder(fileUri); string containerName = blobUriBuilder.BlobContainerName; string blobName = blobUriBuilder.BlobName; BlobServiceClient blobServiceClient = new BlobServiceClient(connectionString);…
DataGridView: Unable to 'De-select' Cell
I am having trouble removing the blue background from a DataGridView Cell (2 actually). The DataGridViews have NO selected cells and NO CurrentCells (CurrentCellAddress = -1, -1), Neither DataGridView is the ActiveControl, yet the Blue Background…
C# windows form crash
Hi, I'm writing my Windows forms project in C# using the latest versione available of Visual Studio Community (17.9.3). The project manages a Modbus TCP client connection using the NModbus library to a proprietary and tested server. The connection is…
System Exception thrown when changing focus on screens when debuging run program in Visual Studio
Dear everybody. Using Microsoft Visual Studio Community 2022 (64 bits) - Current Versión 17.9.3 on Windows 10 most recent update, Packaged WinUI with C# I am programming from scratch a new program (WinUI with C#) in VisualStudio. I have two screens on my…
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid?
Can VB.NET / ASP.NET MVC call the charp enterpriceservice.component COM+ component of .NET 4.6.1 through progid? Currently, when calling the enterpriceservice.component component, there are conflicts between System._comobject and…