VB6 Tutorial 55: Using Data Types

Visual Basic 6 is rich in data types. So you should know the usage of all the data types to make a powerful application. Integer values Among the data types for storing integer values, Integer is the most used data type for its efficiency. But sometimes you may use the Long data type instead of Integer especially when… Read More »

VB6 Tutorial 54: Collections

Collections are objects in Visual Basic that are used to store a group of data values. Collections are similar to array. But there are some special features that differentiate the collections from arrays.

VB6 Tutorial 53: Control Array

Up to this point, we have discussed array of variables. Similarly you can also have an array of controls by grouping a set of controls together. The controls must be of the same type like all TextBoxes or all CommandButtons.

VB6 Tutorial 52: Dynamic Array

In case of a fixed size array, we have seen that the size of the array is fixed or unchanged, but there may be some situations where you may want to change the array size. A dynamic array can be resized at run time whenever you want. Declaring dynamic arrays Declare the array with empty dimension list. For… Read More »

VB6 Tutorial 51: Multi-dimensional arrays

An array can be multi-dimensional that means, it can have more than one dimension. A list of data is represented in a one-dimensional array where a multi-dimensional array represents a table of data. An array can be two dimensional, three dimensional and so on. We generally don’t need an array of more than two dimensions, it is enough… Read More »

VB6 Tutorial 50: Arrays

An array is a collection of items of the same data type. All items have the same name and they are identified by a subscript or index. When you need to work with several similar data values, you can use array to eliminate the difficulties of declaring so many variables.