Tutorials

Creating a Paint Program when Moving Mouse using C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that paints the form when clicking and moving the mouse using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your program as Mouse Move Paint. 2. You don't have to design your interface because we will only focus on the mouse event. 3. Now put this code for your code module.

File Searcher in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will search for a file in a specific path using C#. But here, we will only search for a file in the desktop. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your program as File Searcher. 2.

Shutdown Manager in C#

Submitted by donbermoy on
In this tutorial, we will create a shutdown manager program that can log off, restart, and turn off your computer. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add three buttons named Button1 labeled as "Shutdown", Button2 labeled as "Logoff", and Button3 labeled as "Restart".

Search Item in a ListBox in C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that searches an item inside the listbox using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Search Item in a ListBox. 2.

Create XML File using C#

Submitted by donbermoy on
Today in C#, I’m going to teach you how to create a program that also creates an XML file using C#. We all know that XML (Extensible Markup Language) is an easy way to create common information formats and share both the format and the data on the World Wide Web or elsewhere. Now, let's start this tutorial! 1.

How to Write Data to a Text File using BinaryWriter in VB.NET

Submitted by donbermoy on
Today in VB.NET, I will teach you how to create a program that will write data to a textfile using BinaryWriter. I already made this kind of tutorial but it has created using StreamWriter. See here: Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2.

Determine Even or Odd Number in C#

Submitted by donbermoy on
In this tutorial, I'm going to teach you how to create a program that determines if the inputted number is an odd or an even number using C#. This was one of the laboratory exercises in C# for students enrolled in this subject. Even Numbers are any integer that can be divided exactly by 2. The last digit will be 0, 2, 4, 6 or 8. If it is not an even number, it is called an odd number. The last digit will be 1, 3, 5, 7 or 9. Now, let's start this tutorial! 1.

Creating Threads in Java

Submitted by donbermoy on
Today in Java, I'm going to teach you how to create a program that will create threads. We all know that a thread is a basic processing unit in our computer to which an operating system allocates processor time, and more than one thread can be executing code inside a process. The Java Virtual Machine (JVM) allows an application to have multiple threads of execution running concurrently. Thus, threads have priority. It is just like a racing program. So, now let's start this tutorial! 1.

Label Effect: Auto Typing Application in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that will have an Auto Typing Application using the Label control. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application and name your project as Label Typing Effect. 2.