Tutorials

How to use Counter Controlled While Loop

Submitted by GeePee on
The following Java program uses Counter Controlled While Loops. Suppose you know exactly how many times certain statements need to be executed. In such cases, while loops assumes the form of a counter-controlled while loops. Suppose that a set of statements need to be executed N times. You can set up a counter to track how many items have been read. .

Zoom Application - Lock The Zoom Area (VB.NET)

Submitted by donbermoy on
This tutorial is a continuation of my other tutorial entitled http://www.sourcecodester.com/tutorials/visual-basic-net/9375/creating-zoom-application-vbnet.html. But this time, I added some twist such as locking the selected zoom area after zooming it using the hovering of the mouse. Now, let's start this tutorial! 1.

How to use Predefined Method

Submitted by GeePee on
In this tutorial, you will learn on how to use Predefined Method. In java, predefined methods are organized as a collection of classes, called class libraries. For example, the class Math contains mathematical methods. The method type is the data type of the value returned by the method. The class Math is contained in the package java.lang.

if and if...else(one way selection)

Submitted by GeePee on
The following is a simple Java application program that uses if and if…else(one way selection). There are only two logical values, true and false, they are extremely useful because they permit programs to incorporate decision making that alters the processing flow. . I will be using the JCreator IDE in developing the program.

Customized Mouse Cursor in VB.NET

Submitted by donbermoy on
This is a very simple tutorial but a very useful one that it customized the mouse cursor in your Form. Sometimes, we wanted to have good designs and one of them is creating a good cursor for your system. 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.

Creating a Zoom Application in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a zoom application in vb.net. 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. Have only a Timer on the Form named Timer1. 3. Now, we will code our program. We will declare first the variables.

Detect and Display the Screen Resolution in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a program that can detect and display the screen resolution in vb.net. 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. Next, add only two labels named Label1 and Label2 to get the width and the height of the resolution. 3. Now, lets start the coding. We will just put our code in our Form_Load.

Add Multiple Pictures Dynamically and Show the Selected Picture in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a program that will add multiple pictures dynamically and will show the selected picture in the picturebox using vb.net. 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. Next, add only one Button named Button1 and one PictureBox named PictureBox1 in your Form. 3.