Latest Posts

How to Use Google's Protocol Buffers in C#
By Tan Lee Published on Jul 10, 2024 6.2K

Using Protocol Buffers (Protobuf) in ASP.NET Core Web API involves a few steps to set up, including defining your messages, generating C# classes from those messages, and integrating them into your API controllers.

Read more
How to check if file exists on Server in C#
By Tan Lee Published on Jun 08, 2024 5.28K

To check if a file exists on a web server in a C# Windows Forms application, you can use the HttpWebRequest class to send a HEAD request to the URL of the file.

Read more
How to use Progress Bar in C#
By Tan Lee Published on Feb 20, 2024 8.93K

To implement a progress bar using the Task Parallel Library in C#, you'll typically use a Progress<T> object to report progress from a background task to the UI thread.

Read more
How to Copy file with progress bar in C#
By Tan Lee Published on Feb 20, 2024 19.18K

Copying a file with a progress bar in a C# Windows Forms Application involves several steps, including setting up the UI components, handling the file copy operation, and updating the progress bar accordingly.

Read more
How to put ProgressBar in Button C#
By Tan Lee Published on Jun 08, 2024 9.8K

In a C# Windows Forms Application, you can't directly embed a ProgressBar into a Button control.

Read more
How to create a Digital Clock in C#
By Tan Lee Published on Jun 25, 2017 6.72K

Creating a digital clock in C# using the Timer control involves using a Windows Forms application where the Timer control triggers an event that updates the time display on a label every second.

Read more
How to Embed Youtube Video into a Windows Form in C#
By Tan Lee Published on Jul 27, 2017 6.83K

To embed a YouTube video into a Windows Forms application in C#, you can use a WebBrowser control to display the YouTube video by pointing it to the video URL.

Read more
How to Search DataGridView by using ComboBox and TextBox in C#
By Tan Lee Published on Jul 28, 2017 15.66K

To filter a DataGridView in C# using a ComboBox and a TextBox, you can follow these steps.

Read more
How to link Combobox with database values in C#
By Tan Lee Published on Jul 29, 2017 6.59K

To link or fill a ComboBox with database values in C#, you can follow these steps.

Read more
How to Download a File from Internet in C#
By Tan Lee Published on Jun 25, 2017 15.77K

Downloading a file from the internet in C# can be done using the HttpClient class or the WebClient class.

Read more
How to Upload files with FTP in C#
By Tan Lee Published on Jun 20, 2017 16.79K

Uploading a file to an FTP server in a C# Windows Forms application involves using the System.Net namespace, particularly the FtpWebRequest class.

Read more
How to Convert Image to Pdf in C#
By Tan Lee Published on May 20, 2024 6.45K

To convert an image to a PDF using PdfSharp in a C# Windows Forms Application, you'll need to follow these steps.

Read more