Print Preview will not appear and no exception is thrown
Hello, We have an application that is using a winforms webbrowser control to display an html document. To show a print preview, we are using: SHDocVw.IWebBrowser2.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINTPREVIEW...) command where we are passing in a path to…
Is there a way to create a form using a shared mailbox?
I would like to create a form through a shared mailbox. Is there a way to go about doing this? Reason for this is so that responses are sent to this shared mailbox and not to my personal mailbox. If not, is there a way to change the email in which…
.Net 8 - HttpClient - Kerberos Auth - Authentication validation failed with error - InvalidToken.
We have an existing C# application in firm in .Net 6. This app consumes rest api exposed by another system within the firm (sso / kerberos). Its a simple GET call with Http Client. We upgraded the solution to .Net 8 and started facing Authentication…
Access network folder and files from .NET Core application in IIS
Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?
visual studio 2022 error mt1007 failed to launch application
I recently upgraded windows visual studio to 17.5.4 Windows Xamarin Forms to 5.0.0.2545 When I try to debug the Xamarin iOS application I get the following: error MT1007: Failed to launch the application…
Call the Microsoft GraphApi from the .net application and get the user details based on the email address
Hi, I have a below requirement. I need to call the microsoft GraphApi from the .net application and get the user details based on the email address he/she types in the textbox. In Azure portal - i have enabled (Any Microsoft Entra ID tenant -…
how to set ssl need basic idea and step by step implementation
hello I have hosted my site in IIS and that system has static ip from internet provider for example 55.XXX.XXX.XX anywhere around the world if i enter this ip its working fine now client requirment is he want as website so what i did is i purchase one…
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification
Unable to bypass the certificate validation when trying to access APIs from a web application which has its own certification Hi All, I m facing issue when I m trying to access a Service management API to create/ fetch a ticket through my web application…
CultureNotFoundException Querying SQL database using EF
Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…
How to get the index of duplicate elements along with the range of empty elements after it. LINQ
hi Dim ComplexArray As String() = Split("A C A B C A B A B C") 'Need Result As Array (3 dimensional) Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}),…
How to update/save a file in a database in web application
i have a code error and i wish i can get it fix by your noble helps or interventions here is a code block that updates a new product on a product page in a web application this is the code behing the productController.cs file for the cshtml file…
Jquery DataTable not working after appending the html code to DataTable using jQuery
I have created a datatable and appending the data to that datatable body , data appending successfully but the datatable not working properly ex:- If I click on the datatable header columns the entire table data is erasing. Here is my full logic…
Webview is not allowing the remaining UI elements to render properly
I have labels, images and button along with webview. When I am landing to this webview page, the remaining UI controls are not rendered(not shown in the UI). When I start scrolling then the UI elements are rendered properly like in attached screenshots.…
How do I draw anti-aliased text in a ListBox with DrawMode set to OwnerDrawFixed?
I have a ListBox on my form with its DrawMode property set to OwnerDrawFixed. How can I get the text I draw to be antialiased? I've already set the TextRenderingHint property of the Graphics object to AntiAliasGridFit but it's not drawn…
SQL Connectivity Issue From Cloud app to on-prem server
hi, I have deployed a .net core MVC app in azure app service as a webapp. I have to connect to a on-prem sql server to retrieve data. I have setup Azure relay/hybrid connection for the same. Also I have installed hybrid connection manager in on-prem…
MAUI: The CollectionView items collide with each other when scrolling
When I try to scroll top to bottom at that time, the CollectionView items collide on the iOS platform, but it works fine on the Android platform. Below, I am adding a screenshot and Screen record of this issue. Screenshot: Screen Record: screen record…
ADFS Authentication Issue in .Net 8
I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,
Show/hide the fields based on the condition in jQuery
how to show/hide the otp->textbox and update->button based the onblur SaveProfileName_Email values change. Initially, when the page is loaded the txtProfileEmail and txtProfileName should contains the default values ex:- txtProfileEmail :- a@b.com…
Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().
When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…