Replacing reduced quality images with original quality images in Word to Filtered HTML conversion
I am creating a Word to HTML converter using Microsoft.Office.Interop.Word by saving each input Word document as Filtered HTML. But I am seeing a loss of image quality in the generated Filtered HTML as compared to the original embedded images. Following…
Loss in image quality while saving Word document as Filtered Web Page?
I am writing a Word to HTML converter. I am using the approach of saving Word file as Filtered HTML to carry out the conversion. I have automated this process using Microsoft.Office.Interop.Word for every Word document input that has to be converted.…
C++/CLI wait for process finish
Hello everbody, i need your help...! I have to create GUI program with C++/CLI ( also known CLR) and in my program has multiple checkboxes for program selection and single button for install for selected Checkboxes. Also in background installers made…
Adding items to a ComboBox shows different behaviour
Hello! I am working on a C++/CLI Windows Forms project for .NET Framework 4.6. I've been having a bit of trouble wrapping my head around the contradictory behavior of the ComboBox class. My ComboBoxes are all DropDownLists, they are not editable. …
Microsoft Identity and OpenIdConnection
I'm trying to connect my web application with .NET5 and the new Microsoft.AspNetCore.Authentication.OpenIdConnect. Apparently, my old code for OpenIdConnect is valid but it doesn't work. This is what I'm adding to the ConfigureServices: …
.Net Core Job - reading resource image is crashing runtime in Azure.
Suddenly my Azure Job started failing runtime. Works fine on my local. The build machine was migrated (not aware much on details of migration). var bmp = new Bitmap(100, 100); // Works ok. Since loads it from System.Drawing.Common 4.5 var…
How to dispose variables in Custom Http Client Handler?
Team, I have made an api in .net core 3.1 and created a custom HTTP Client Handler to manage dynamic certificates per http call but unable to understand the procedure to write and execute dispose pattern. Startup.cs--> …
BROWSING THE CLOUD
My desktop application needs to save certain files in a folder selected by the user. FolderBrowserDialog can do the job, but only for local files; it does not 'see' network folders and the cloud. I would like to allow the user select a folder e.g. in…
Azure App Service and VB.NET exe Issue
I have web application deployed on azure using Azure App service (WebApps). The application is built in .NET CORE 3.1 and Angular framework and the process calls another exe in the backend which is developed in VB.NET. That VB.NET exe is responsible…
Username/Password login in Powershell Core with C#.net core-3.1
I am trying to call a power-shell script that is using New-AzSubscriptionAlias(that is creating a new EA subscription) from C#.net-core3.1. Below is sample on how i am calling that power-shell script in C#.net-core as string scriptFilepath =…
set variable of partial class
I have a generated clas (with soapui) I need to pas data to a class order This class has partial classes The code : This is what i try and th error i get .... Dim orders(1) As dpd_label.order orders(1) =…
Issues with SQL Client Library and Connection in C#
I am having too many issues regarding how to connect using the right data provider: Here is the code below: using System; using System.Data.SqlClient; namespace CSharpConsole003 { class Program { static void Main(string[] args) …
How to set up a hierarchical structure of .runsettings files in a solution
I have a solution containing several NUnit test projects. Each test project has its own runsettings file, that I use to parameterize the test of the corresponding test project. This is seen below: I am retrieving the TestRunParameters using…
A connection was successfully established with the server. But then an error occurred during the pre-login handshake.(provider: TCP Provider, error: 0- The semaphore timeout period has expired)
Hello Senior!!, Now I facing this error("A connection was successfully established with the server. But then an error occurred during the pre-login handshake.(provider: TCP Provider, error: 0- The semaphore timeout period has expired)…
Cmdlet out-display in Powershell stopped working
Making a rebuild of my GITHUB repository running DOCKER in BINDER to get a fresh NOTEBOOK in JUPYTERLAB I had to use a new version of .NETS interactive tool: global Microsoft.dotnet-interactive --version 1.0.155302 --add-source…
Microsoft.Office.Interop.Excel.dll is it require on host PC.
I have created an application in VB.net on Visual Studio 2017. I have referenced Microsoft.Office.Interop.Excel.dll with Embed Interop Types set to True. However when I run the compiled software on a friends machine (running Microsoft 365) the print…
How to create valid setup project for NET 5.0 solution having multiple interlaced exe projects sharing same dlls?
Hi! I have upgraded multi project windows Framework 4.8 solution to NET 5.0. and... Microsoft Visual Studio Installer Projects 0.9.9. setup project is having trouble recognizing shared dll-s. Details... Setup's target installation is,…
Exercise - Scale a web app manually - app doesn't run
While studying the Azure exercise "Scale an App Service web app to efficiently meet demand with App Service scale up and scale out" part 3, I input the command to run the web app, and go t the following output: dotnet run It was not possible to…
How to prebuild C# generics before runtime
Hi, Currently, C# generics are built at runtime. First time, generics execution is very slow because runtime compilation. How to avoid runtime compilation...how to get target x64 or x86 binaries where generics are already compiled to native binary. …
How can I use IDisposable in a class derived from a class that's implementing IDisposable already?
I'm trying to understand how Finalizers and IDisposable are supposed relate to each other in a class hierarchy. Given I have a class that's deriving from a base class, both classes have unmanaged resources. How would I implement Finalizers and…