Search

How to Read Excel file (*.xls, *.xlsx) in C#
By Tan Lee Published on Jun 21, 2024 11.65K

To read Excel files (*.xls, *.xlsx) in a C# Windows Forms Application using ExcelDataReader, you need to follow these steps.

Read more
How to Ping an IP address in C#
By Tan Lee Published on May 15, 2024 10.2K

Pinging an IP address in a C# Windows Forms application can be accomplished using the Ping class from the System.Net.NetworkInformation namespace.

Read more
How to Read and Write text file in C#
By Tan Lee Published on May 27, 2024 15.58K

Reading from and writing to text files using StreamWriter and StreamReader in a C# Windows Forms Application is a common task.

Read more
How to Insert image into RichTextBox in C#
By Tan Lee Published on May 25, 2024 10.24K

To insert an image into a RichTextBox in a C# Windows Forms Application, you can use the Clipboard class to copy the image to the clipboard and then paste it into the RichTextBox.

Read more
How to Convert DataTable to Html Table in C#
By Tan Lee Published on May 18, 2024 7.06K

Converting a DataTable to an HTML table in a C# Windows Forms Application involves generating the HTML markup based on the data structure within the DataTable.

Read more
How to convert PDF to Word in C#
By Tan Lee Published on Jun 08, 2024 5.66K

To convert a PDF to Word using the DocX library in C#, you would typically follow these steps.

Read more
How to Create a Random Password Generator in C#
By Tan Lee Published on Jun 17, 2024 10.31K

Creating a random password generator in a C# Windows Forms Application involves generating passwords with specified criteria such as length, character types (letters, digits, special characters), and complexity.

Read more
How to check Windows Service Status in C#
By Tan Lee Published on Jun 08, 2024 4.67K

You can check the status of a Windows service in a C# Windows Forms application using the ServiceController class from the System.ServiceProcess namespace

Read more
How to Create acrylic transparency effect in C#
By Tan Lee Published on Jun 03, 2024 11.95K

Creating an acrylic transparency effect in a C# Windows Forms application can add a modern and sleek look to your user interface.

Read more
How to copy paste plain text in RichTextBox in C#
By Tan Lee Published on Jun 08, 2024 8.22K

In a C# Windows Forms application, you can copy and paste plain text in a RichTextBox control by manipulating the Text property directly.

Read more