Tutorials

Get the Pressed Key using C#

Submitted by donbermoy on
In this tutorial, i will teach you how to create a program that will capture, obtain, or get a key pressed by the user. 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 Get the Pressed Key. We don't need to design an interface because we have to get only the pressed key by the user. 2.

Get and Display List of Available Printers using C#

Submitted by donbermoy on
Today in C#, i will going to teach you how to create a program that gets and displays the list of available printers. 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 Get Printers. 2.

Count Number of Words using Regex in VB.NET

Submitted by donbermoy on
Today in VB.NET, we will create again a program that counts the number of words in VB.NET. But here, we will now use Regex. I already made a tutorial about how to create this program but i used Split method with (CChar(" ")) that time. See here: Word Count Program in VB.NET Now, let's start this tutorial! 1.

Get and Display all COM Ports using C#

Submitted by donbermoy on
Today in C#, i will going to teach you how to create a program that will get all Computer ports and display it in a ListView using C#. We all know that COM Ports are serial communications port on a PC. 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 Get all Computer Ports. 2.

Display Directory Structure using TreeView in VB.NET

Submitted by donbermoy on
Today in VB.NET, i will teach you on how to create a program that loads and displays the directory structure of C using the TreeView control in VB.NET. So, now let's start this tutorial! 1. Let's start with creating a Windows Form Application in Visual Basic 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 only one TreeView1 named TreeView11 to display the contents of C directory structure.

How to Compute Date Difference in C#

Submitted by donbermoy on
Today in C#, i will teach you how to create a program that finds and calculates the difference between two dates using C#. So, now let's start this Date Difference tutorial in C#! 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 Date Difference. 2.

ProgressBar Component in Java

Submitted by donbermoy on
Today in Java, i will teach you how to create a progressbar component using JProgressBar control in Java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of ProgressBar.java. 2. Import javax.swing.* package because we will going to have the JProgressBar, JFrame, SwingUtilities in swing and also the JPanel as the container of this.