Format a Drive using VB.NET

Submitted by donbermoy on
This tutorial will teach you how to create a program that can format a drive such as C or D 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. Next, add only one Button named Button1 and one combobox named ComboBox1 to get all the drives.

Using switch Structures

Submitted by GeePee on
The following is a Java Program using switch structures. In Java, switch, case, break and default are reserved words. In a switch structure, the expression is evaluated first. The value of expression is then used to perform the actions specified in the statements that follow the reserved word case.