Tutorials

File Watcher - Allow or Disallow Renaming Files or Folder in VB.NET

Submitted by donbermoy on
This is a continuation of my other yutorial named File Watcher - Allow or Disallow Creating Files or Folder in VB.NET, but in this tutorial it will grant to rename or disallow renaming of files and folder using 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.

File Watcher - Allow or Disallow Creating Files or Folder in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a program that will use the File Watcher component allowing files or disallow creating files or folder 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 FileSystemWatcher in the form.

Math Quiz in Java

Submitted by GeePee on
Often times, computer programs are used as a study method by educators. In this program, many of the concepts we have gone over thus far are put together to make a working quiz that asks math questions, and returns results on how the user did. For this program, the user is asked how many math questions they would like. It generates random math questions with numbers 1 through 10, and randomly selects between addition, subtraction, multiplication. and division. If the user is right, it will tell them so.

While Loops in Java

Submitted by GeePee on
There are cases in which a developer may want a program to repeat a certain function for a finite number of times. While loops allow the programmer to make a function repeat until certain conditions are met. There are two common intended uses for loops. The first is to keep repeating a set of code until the user satisfies the criteria to exit the loop.

Arrays in Java

Submitted by GeePee on
An array is an object that holds a fixed number of values of a certain variable type. There are many uses for arrays; they allow programmers to not need to declare a new variable for each value stored. If ten numbers need to be stored (ages, weights, wages, etc.), a single array with ten components may instead be used.

Recent Files - Open in VB.NET

Submitted by donbermoy on
This tutorial will teach you how to open the file and the file location of the recent files in vb.net. This is a continuation of my other tutorial in displaying the recent files. 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.

Recent Files - Display in VB.NET

Submitted by donbermoy on
Today, I will teach you how to create a recent files to be displayed in the ListView 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 one listview named listViewrecentfiles with three columns namely Item name, Date Created, and Name of the file, and one button also named button1checkrecent.

Random Numbers in Java

Submitted by GeePee on
In today's tutorial, we are going to cover how to generate random numbers in Java. Random numbers are used for a wide number of applications. They can be used for random sampling, simulations, generation of keys, lotteries, and games. One of the most common uses for random numbers is in video gaming. The outcomes of many events are determined by a random number generator. One of the simplest applications of random numbers is simulating a dice roll. That is what we will simulate in this application today.