How to copy current project & assign New Name ?
Hello & Thanks ; I have a current project named GetElementsByTagname and from it I would like to make a new project named GetElementsByTagname-Copy-01 . I want to try different versions of same code . Thanks for your Help...
how to use CoreWindow in winforms?
I want to use Direct2D and the link of CreateSwapChainFromCoreWindow says I should Use CreateSwapChainFromCoreWindow and If I use CreateSwapChainForHwnd I can not publish to microsoft store. so Can I use CoreWindow in winform?
How to display menu by notification without displaying the form in Taskbar
I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…
![](https://techprofile.blob.core.windows.net/images/hBj0LQgf0UCJ70ENoTldCA.png?8DB7E4)
VISUAL STUDIO 2022 REPORT PROJECT ADDING EXTERNAL LIBRARIES PATH
i am trying to add my rdl files to new report project . the report has got calls to external assemblies for priting barcode, q.r.code on running the report i am getting error that assmbles can not be found i have copies them to bin\debug folder of…
![](https://techprofile.blob.core.windows.net/images/hb2e6y1aGU2jvb1t68CaGA.png?8D889F)
![](https://techprofile.blob.core.windows.net/images/hb2e6y1aGU2jvb1t68CaGA.png?8D889F)
Datetime picker databindings not updating the value in c# .net
In an windows c#.net form for a field supp_docno which is a date type filed in grn table is bound to a dtpSupplierbill_dt.DataBindings.Add("Value", bs, "supp_docdt", true); default value is assigned to it at the time of…
![](https://techprofile.blob.core.windows.net/images/hb2e6y1aGU2jvb1t68CaGA.png?8D889F)
Adding a Watermark Overly on Windows 11 System-Level UI
Hello everyone, I have been trying to implement a (C# WinFrom) application that adds a watermark over all user’s screens (as a TopMost overly which does not affect user’s interactions) to make it easier to know from where the leak originated (if the user…
Send email from a .Net Framework Winforms application and service using Microsoft accounts.
Hello. We provide a .Net Framework Winforms application with a service. Both share code which allows our customers to send email from their own email accounts, currently using MailKit, although we could use another client if necessary. Where they want…
All Toolbox Options Greyed in Visual Studio 2022
I have recently upgraded my WinForm C# application from .Net 4.7.x to .Net 6 I wish to make a change to one of the Forms, however when I try to add any control to any form, I find that all options are greyed out in the Toolbox, so I can modify any of the…
Modifying multiple Microsoft forms easily
Hello, I am managing 200 Microsoft forms for different processes in my company. They all share the same base but then branch out at some point. I want to modify the base shared amongst the 200 forms. Is there a way to modify them all in one go? Via…
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)
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…
Rename a form in Visual Studio 2022
Hello, trying to rename a form. The guidance here appears to still be good but even though I renamed the form in solution explorer, told VS2022 to rename it everywhere, and set the startup object in project properties, I still get the error,…
How to set AllowUserToAddRows with ToolStripButton1.Click without adding rows in DataGridView
hi What is the best way to toggle the AllowUserToAddRows variable between true and false based on a ToolStripButton1.Click event, without adding rows to the DataGridView? I have implemented the button click event, but it currently adds a row to the…
![](https://techprofile.blob.core.windows.net/images/hBj0LQgf0UCJ70ENoTldCA.png?8DB7E4)
How to fix error CS0246 (AxMSInkAuTLib) missing
After copying all of the Winforms from 1 project to another, I was not able to compile the 2nd project. Getting error CS0246 for AxMSInkAutLib.AxInkPicture (see below for the detailed error description). I think I am missing a Reference, but am unable to…
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)
Digital signature exe, slow startup
After I used the certificate to digitally sign my client program, it took me 20 seconds from double clicking the program to start to running to the first line of the main function. If I don't sign, I can immediately open the client. What is the reason…
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…
![](https://techprofile.blob.core.windows.net/images/BDcpv9d_QkyWiDv-cbrTEA.png?8DA345)
Difference between PrintDocument.PrinterSettings.DefaultPageSettings and PrintDocument.DefaultPageSettings
// Tricky! Very confusing! These statements are similar: // (1) printDoc.PrinterSettings.DefaultPageSettings.Margins.Left = 75; // (2) printDoc.DefaultPageSettings.Margins.Left = 75; // In pd_PrintPage, ev.MarginBounds.Left will be equal to the…
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine
I am having Windows 64 Bit os build 19043.1826 21H1, i have office 21 64 bit on this pc, but when i want to open an xls file i am getting the above error, if i build application 32bit it open file correctly, but if i make it 64 bit i can not install…
![](https://techprofile.blob.core.windows.net/images/hb2e6y1aGU2jvb1t68CaGA.png?8D889F)
MSWord closes unexpectedly when clicking "Print" button in "Envelopes and Labels" dialog
I'm embedding MSWord in my WinForms app using Microsoft Library, and I'm following this guideline to set the window style to ws_child to support the child window. However, when I click the "Print" button in the "Envelopes and Labels"…
Save Picturebox image to datagridview
looking for a way to save an image to a datagridview cell, image is loaded into the picturebox then when form is closed saves it to the datagrid.
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.