Windows Forms

How to Build a Metro-Style Web Browser with Tabs in C#
By Tan Lee Published on May 26, 2017 7.73K

Creating a Metro-style web browser with tabs using the Modern UI in C# is a fun project that incorporates the use of Windows Forms and the WebBrowser control.

Read more
How to Connect and Use Local Database in Visual Studio 2019
By Tan Lee Published on Jul 16, 2024 31.27K

To connect and use a local database in a C# Windows Forms application using Visual Studio 2019, you can follow these steps.

Read more
How to Connect to MS Access Database in C#
By Tan Lee Published on Jun 10, 2024 17.22K

To connect to a Microsoft Access database (.mdb or .accdb file) in a C# Windows Forms Application, you can use the OleDbConnection class from the System.Data.OleDb namespace.

Read more
How to Generate Excel Report in C#
By Tan Lee Published on Jul 13, 2024 11.31K

Generating an Excel report using ClosedXml.Report in a C# Windows Forms Application involves setting up ClosedXML and ClosedXml.Report packages, designing a template Excel file with placeholders, and populating it with data programmatically.

Read more
How to Open and Show a PDF file in C#
By Tan Lee Published on Jul 31, 2017 17.28K

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 Download Youtube Video in C#
By Tan Lee Published on Jun 20, 2024 27.74K

To download a video from YouTube in a C# Windows Forms Application using the YoutubeExtractor library, you can follow these steps.

Read more
How to Open and Read Excel Files in VB.NET
By Tan Lee Published on Jun 18, 2024 28.86K

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#
By Tan Lee Published on Jul 16, 2024 36.12K

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#
By Tan Lee Published on Jul 16, 2024 57.09K

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 Get all Forms and Open Form with Form Name in C#
By Tan Lee Published on Jul 27, 2017 12.81K

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