Latest Posts

How to Open and Read Excel Files in VB.NET
3/19/2025 8:41:28 AM  28.29K

To open and read Excel files using ExcelDataReader, ExcelDataReader.DataSet in VB.NET Windows Forms Application, you need to follow these steps

Read more
How to change the connection string in App.config dynamically in C#
3/19/2025 8:40:00 AM  35.64K

To change the ConnectionString at runtime in a C# Windows Forms application using App.config, you typically follow these steps.

Read more
How to Create a custom Message Box in C#
3/19/2025 8:39:08 AM  55.31K

To customize a message box in C#, you can use the built-in MessageBox class or create a custom dialog using a Form.

Read more
How to Open and Show a PDF file in C#
3/19/2025 8:37:52 AM  16.84K

To embed and display a PDF file in a Windows Forms application using C# and Adobe Acrobat Reader, you can use the Adobe Acrobat Reader ActiveX control.

Read more
How to Get all Forms and Open Form with Form Name in C#
3/19/2025 8:35:39 AM  12.45K

In C#, you can dynamically open or call a form by its name at runtime using reflection or by managing a collection of form names and their associated instances.

Read more
How to scan IP address in a network using C#
3/19/2025 8:33:48 AM  21.04K

To scan a network for IP addresses in a C# Windows Forms Application, you typically need to send ICMP Echo requests (ping) to each IP address in the network range you want to scan.

Read more
How to Minimize application to system tray in C#
3/19/2025 8:32:37 AM  16.59K

Minimizing an application to the system tray in a C# Windows Forms application involves a few steps.

Read more
How to Read Excel file in C# using OleDb
3/19/2025 8:23:20 AM  10.42K

To read an Excel file in C# without using Interop and to get Excel sheet names using OleDb provider, you can follow these steps.

Read more
How to Encrypt and Decrypt files using AES encryption algorithm in C#
3/19/2025 8:21:45 AM  26.21K

Encrypting and decrypting files using AES encryption in a C# Windows Forms application involves several steps.

Read more
How to zoom an image in C#
3/19/2025 8:20:13 AM  16.23K

To zoom an image in a PictureBox in C#, you can manipulate the Image property of the PictureBox by adjusting the SizeMode and scaling the image.

Read more
How to Print a Picture Box in C#
3/19/2025 8:17:00 AM  20.55K

Printing an image from a PictureBox control in a C# Windows Forms Application involves several steps, including setting up a PrintDocument, handling the print page event, and managing printing settings.

Read more
How to Extract the Icon Associated with a File in C#
3/10/2025 9:33:16 AM  6.82K

You can extract the icon associated with a file in a C# Windows Forms application using the Icon.ExtractAssociatedIcon method from the System.Drawing namespace.

Read more