DCOM was unable to communicate with the computer
DCOM was unable to communicate with the computer ********* using any of the configured protocols; requested by PID 264c (C:\Windows\system32\taskhostw.exe), while activating CLSID {}. Getting this error on one of our VMs every 5 mins, the computer *** is…
Attempting to register a 64-bit Enterprise Architect DLL with built-in windows
Hello, I am attempting to create a 64-bit DLL as an add-in for Enterprise Architect. However, in order to do what I need it to, I have to include some form of additional window. Is there any possible way to add in these extra windows in a way so that…
The keyboard inputs are not updating correctly in the hosted WinForms application
Hi, We are encountering an issue in a WPF application hosted within a WinForms application. The keyboard event is triggered correctly, but the values are not updating properly in the UI. Here’s the setup: Create a WinForms application with a user…
setWindowCompositionAttribute After setting transparency, how to restore
When I use setWindowCompositionAttribute to set a window to be transparent, what is the correct way to restore the window to its original state when I can not make the window transparent
windows.opener() handling with WebView2
In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…
How can I fix the error: System.NullReferenceException: 'Object reference not set to an instance of an object.'
The following is my code: namespace RegistrationForm { public partial class Rent : Form { AptId aptId; Payment payment; public Rent(AptId apt) { InitializeComponent(); …
How to troubleshoot "designer load encountered an error"
Is there a good reference to assist with design time form load errors?
Does System.Text.Json Deserialize into DataTable?
Hello .Net Gurus - I have checked MS Documentation and I couldn't find any example of serialize json data using System.Text.JSON into DataTable. I have .Net Framwork 4.7.2 and did install the System.Text.Json NuGet package. The desrialization is…
How to fix SystemLoadExecption
Exception has occurred: CLR/System.TypeLoadException An unhandled exception of type 'System.TypeLoadException' occurred in Winappli.dll: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.NotificationActivator' from assembly…
How To Post Question On social.msdn.microsoft.com?
I am trying to post on social.msdn.microsoft.com but every time I click on ask question it redirects me to learn.microsoft.com. Please help.
Ordinal 129 could not be located in DLL (loadlibrary | peak PCAN passthru | winforms application)
Hello all, I'm facing an issue with latest version of Peak PCAN driver, when I try to load the DLL of the latest driver in my winforms project the above error is shown. The catch is using the same loadlibrary function in any other project…
Visual Studio: Publishing Windows Application to ftp no longer works - please help!
I have been successfully publishing my Windows Applications built in Visual Studio for years now, to my website with an ftp account. I can connect to the ftp with Filezilla and Windows 10, no problem, but not in the publish. I've looked online for…
how to fix To prevent possible data loss before loading the designer, the following errors must be resolved: ?
|Here is the call stack:at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateVariableKindUnknownException(XmlElementData xmlElement, String name)at …
Close and then open a new tab page or window asks authentication
I am trying to embed a webform application in WinForm using Webview2 control. The new window opens in a tab page with webview2 child ( e.handled=true). But when destroying the child tab wm_destroy is not calling properly. so each time while open a new…
visual studio windows form call error
when i try to add windows form to my project , it outputs errors i make clr empty project .net framework Instances of this error (1) Hide Call Stack at Microsoft.VisualStudio.Designer.Interfaces.IVSMDCodeDomProvider.get_CodeDomProvider() …
How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)
Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…
Advice on Signing and Certificate Options for a WPF Project
Hi, I have a WPF project based in Dublin, initially intended for approximately 100 users in Ireland, with plans to expand both inside and outside the EU over the long term. The business was established in September 2022. I’d like advice on the best…
![](https://techprofile.blob.core.windows.net/images/4Z2MdMCQQEi-7mKlgqfXZQ.png?8DA40B)
![](https://techprofile.blob.core.windows.net/images/IGm5jP2_AwAAAAAAAAAAAA.png?8D9CB7)
Visual Studio 2019 Crashes When Closing Windows Form in Design View
Maintaining a Windows Forms application in Visual Studio 2019 (version 16.11.42) that uses Janus controls. Recently, there is a form within the application that when opened in design view indicates there are changes as soon as it is opened. Closing and…
Testing a Windows Form @ design time
Hi All, When you're working on a dialog under the resource view for a Windows Desktop Application/C++ you can any time test your dialog at design time simply clicking Ctrl+T. There is no need to build the project and run it. I tried to find…
How to Append Data to a Text File in a Windows Forms Application?
In a Windows Forms application, data is read from a text file and displayed in a list box. The goal is to add a new item from a textbox to the same text file when a button is pressed, but the item is not being appended to the file as expected. The button…
![](https://techprofile.blob.core.windows.net/images/PjYbsbDfukmsOVQ24l7Rxw.png?8D8DBE)
![](https://techprofile.blob.core.windows.net/images/7ca689de67ca4855a0ed985ff5add70e.png)