1,875 questions with Windows Forms tags

Sort by: Updated
0 answers

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

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2024-07-29T12:44:07.84+00:00
Thorsten Gudera 0 Reputation points
commented 2024-07-29T12:51:39.3733333+00:00
Thorsten Gudera 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,671 questions
asked 2024-07-29T08:08:15.6333333+00:00
Mansour_Dalir 1,756 Reputation points
commented 2024-07-29T09:58:54.8566667+00:00
Jiachen Li-MSFT 29,261 Reputation points Microsoft Vendor
2 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
Microsoft Entra
asked 2024-06-28T11:56:45.4266667+00:00
Fortecho Solutions Ltd 0 Reputation points
commented 2024-07-29T06:46:55.3833333+00:00
Raja Pothuraju 2,020 Reputation points Microsoft Vendor
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,894 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-07-28T01:33:46.62+00:00
Giacomo Raucci 321 Reputation points
commented 2024-07-28T22:25:45.3433333+00:00
RLWA32 43,381 Reputation points
0 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-07-26T09:29:41.7666667+00:00
Chaip 0 Reputation points
commented 2024-07-26T12:32:01.3833333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2020-08-13T21:11:57.34+00:00
Khushi Shaikh 86 Reputation points
commented 2024-07-24T14:18:55.0633333+00:00
Schubert III, William 0 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-07-23T23:13:08.8466667+00:00
Nat323 0 Reputation points
commented 2024-07-24T10:28:00.3+00:00
Viorel 1.2L Reputation points
1 answer One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
asked 2024-07-22T13:55:27.91+00:00
Ken Smith 125 Reputation points
commented 2024-07-22T22:10:31.4566667+00:00
Ken Smith 125 Reputation points
3 answers One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2022-07-25T18:21:25.197+00:00
Sushil Agarwal 401 Reputation points
answered 2024-07-22T11:51:42.32+00:00
Hagar Mofeed 0 Reputation points
0 answers

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"…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,108 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,525 questions
asked 2024-07-19T12:06:41.3133333+00:00
Prasanth Vimalanathan 0 Reputation points
commented 2024-07-22T07:48:41.7433333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,894 questions
asked 2024-07-07T03:11:49.5266667+00:00
Ben Ramsay 20 Reputation points
commented 2024-07-17T09:55:26.2966667+00:00
Ben Ramsay 20 Reputation points
3 answers One of the answers was accepted by the question author.

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.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
asked 2021-04-08T13:48:49.163+00:00
feddea cbrolleru 26 Reputation points
answered 2024-07-16T07:57:17.8866667+00:00
Meri Nukkri 0 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
asked 2024-07-01T14:58:38.8666667+00:00
Ali 0 Reputation points
commented 2024-07-15T07:55:04.8566667+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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(); …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,946 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,644 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
asked 2024-06-04T11:18:12.8033333+00:00
Becker, W 66 Reputation points
edited a comment 2024-07-12T04:31:23.6533333+00:00
David Moksha 0 Reputation points Microsoft Employee
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-11-12T23:34:53.513+00:00
رضا جافری 1,296 Reputation points
commented 2024-07-10T08:48:51.74+00:00
Enayatullah 0 Reputation points
1 answer One of the answers was accepted by the question author.

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.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,525 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,671 questions
asked 2024-06-06T07:48:09.8966667+00:00
Mansour_Dalir 1,756 Reputation points
accepted 2024-07-06T04:04:39.1133333+00:00
Mansour_Dalir 1,756 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,108 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,011 questions
asked 2024-05-13T10:05:23.3933333+00:00
Sanjay Kumar Jha 156 Reputation points
edited a comment 2024-07-01T02:41:12.9533333+00:00
Hui Liu-MSFT 47,421 Reputation points Microsoft Vendor
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,108 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,671 questions
asked 2024-06-19T05:42:33.01+00:00
muralee raman 0 Reputation points
commented 2024-06-26T13:05:38.8433333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,108 questions
asked 2024-06-20T10:37:56.68+00:00
Karkuvel Rajan Shanmugavel 20 Reputation points
accepted 2024-06-26T05:55:50.45+00:00
Karkuvel Rajan Shanmugavel 20 Reputation points
1 answer

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,875 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,654 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
asked 2024-06-23T12:50:32.3366667+00:00
Slobodan Krejaković 41 Reputation points
commented 2024-06-25T08:33:31.68+00:00
KOZ6.0 6,300 Reputation points