Variables in Visual Basic are declared using the Dim keyword. For example, this declares a new variable called counter with the data type Integer:
Dim counter As Integer
A variable declaration can also include an access modifier, such as Public, Protected, Friend, or Private. This works in conju...