Why my Answer doesnt show up?
OT: I posted an answer to a question in this forum. the answer doesnt show up. Also, in my Activity page in the profile, its not shown that I posted something. Why? regards, Thorsten
![](https://techprofile.blob.core.windows.net/images/LtP-IKctT0ezIsOMNhVdEA.png?8DCA37)
![](https://techprofile.blob.core.windows.net/images/LtP-IKctT0ezIsOMNhVdEA.png?8DCA37)
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)
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…
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)
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…
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.
The data specified for the media type is invalid inconsistent or not supported by this object
Hi, I have an windows form application which is recording video by using Media Capture. This app is taking hundreds of record in a day but in a few days getting(once in 500-550 record) an error which below; "The data specified for the media type is…
How to replace OperationContext in new V12 SDK Azure.Storage.Blobs
I'm switching from Microsoft.WindowsAzure.Storage to Azure.Storage.Blobs. In the former versions I could log retries, this seems to be missing in the new SDK. I used OperationContext for this: var context = new OperationContext(); …
Text inversion in right-to-left languages such as Persian in the Itextsharp Paragraph
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I want to add Persian text to the PDF headline, but when I do this through the iTextSharp.text.Paragraph class, I get into trouble. I can solve this…
![](https://techprofile.blob.core.windows.net/images/vp-G0Inlv0Wd6bS0QH0sWg.png?8D9F84)
How to get the text from the label by the handle with specific coordinates on any part of the desktop screen
I want to extract the text inside the label by giving certain coordinates from the screen, if the type of the coordinates is from the label, then extract the part of the obtained part.
![](https://techprofile.blob.core.windows.net/images/hBj0LQgf0UCJ70ENoTldCA.png?8DB7E4)
![](https://techprofile.blob.core.windows.net/images/hBj0LQgf0UCJ70ENoTldCA.png?8DB7E4)
Solution Parser not working in .Net8
Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…
Can we create the attached model like datagridview in C#.net Windows Form Application.
We are planning a desktop application using c#.net. One of our challenges is to create an attached type of DataGridView.Unfortunately, we are not getting any solution for designing customized types of DataGridView.If possible above type of DataGridView…
How to Load a file which is saved using BinaryFormatter.
In our Control, we have used BinaryFormatter serialization to Save and Load. But in Net 9 BinaryFormatter is completely removed. Due to that, we are planned to write our Serialization logic using DataContractSerialization. But we need to deserialize…
How to inherit form in .net design time (there is no inheritance picker)?
How can I correctly inherit from some template form at design time in VS, on .net? In .net framework there was Inheritance Picker but I do not find it in .net 8.0. When I create simple inheritance from another form, like this: public partial class…