Search

How to Change system time in C#
By Tan Lee Published on Nov 05, 2024 427

In C#, the DateTime struct does not have any built-in method to set the system time.

Read more
How to Change system date in C#
By Tan Lee Published on Jul 01, 2024 9.97K

To change the system date programmatically in a C# Windows Forms application, you can use the System.DateTime structure along with System.Diagnostics.Process to execute commands that change the system date.

Read more
How to use Wizard Control in C#
By Tan Lee Published on May 15, 2024 7.65K

To use a Wizard control in a C# Windows Forms Application using the AdvancedWizard library, you typically need to follow these steps.

Read more
How to disable the Windows key in C#
By Tan Lee Published on Jan 09, 2025 910

To disable the Windows key in C#, you can use a global keyboard hook to intercept key presses and block the Windows key.

Read more
How to Open a PDF file in C#
By Tan Lee Published on Dec 24, 2024 398

In this article, we will explore how to display a PDF file in a WebBrowser control in a Windows Forms application.

Read more
How to Send Emails in C# via SMTP
By Tan Lee Published on Jan 08, 2025 343

C# is a popular programming language used for developing web applications, enterprise software, and games, all of which often require communication with users.

Read more
How to send web request to URL in C#
By Tan Lee Published on Jan 09, 2025 411

In this post, we will cover how to send a web request to a URL in order to retrieve data.

Read more
How to iterate over Enum in C#
By Tan Lee Published on Jan 09, 2025 341

In this post, we will explore the topic of "How to iterate over an Enum in C#?" The Enum type is a commonly used feature in many C# applications.

Read more
Thread Lock in C#
By Tan Lee Published on Jan 09, 2025 253

In this article, we will explore the concept of thread locking in C# and how locks ensure exclusive access to shared resources.

Read more
Connecting to Multiple Databases in C# using DataContext
By Tan Lee Published on Jan 09, 2025 528

As your application grows, you might find the need to connect to two or more databases.

Read more