VB6 Tutorial 59: Menus

Menus are one of the most important features of a software product. Every standard software must have menus. You generally see a menu on top of a software interface.

VB6 Tutorial 58: Function Procedures

A function procedure in Visual Basic 6 has a scope, a unique name, parameter list and return value. You can pass any datatype to a procedure e.g Integer, Boolean, Long, Byte, Single, Double, Currency, Date, String and Variant.

VB6 Tutorial 57: Sub Procedures

Before proceeding with this lesson, be sure to read the section covering Variable Scopes. As we have discussed in the lesson about variable scoping, that procedures are of three types : Sub Procedures are of two types : Every procedure has a unique name, a scope and a list of arguments. The function procedure, in addition, has a return… Read More »

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.