VB 6 Select-Case

In the previous article, you have learned about the if-then-else statements and how you can build a program in VB 6 that work on conditions. The problem with if-then-else structure is that it is very difficult to keep a track of all codes. The Select-Case is a VB 6 feature that allows to select a … Read more

VB 6 – If…Then…Else Statements

The conditional statements are very important to any programming language. In VB 6, the conditional statement change the direction of the program using If…Then …Else construct. The syntax for If…Then…Else is given below. If you look at the above syntax , the conditions are very important for If statements. If the condition 1 is false … Read more

VB 6 – UCase() and LCase()

In Visual Basic 6, there are two important functions to change a string to uppercase or lowercase. In this example, you will build a small application that takes a string and returns uppercase or lowercase version depending on user choice. Program Code: UCase () and LCase() First look at the code for first button – … Read more

VB 6 String Handling

Earlier you learned about the string data type. The VB 6 language has many functions to handle string types. In this article, we will present the list of those functions with examples. There are two types of strings in VB 6 programming. Variable length strings Fixed length strings To declare variable length string you can … Read more

VB 6 Declaring A Subroutine

A subroutine is a block of code like function that do a specific task. The difference between subroutine and function is that a subroutine does not return a value. However, you may pass arguments to a subroutine in VB 6. The syntax for subroutine is given below, the keywords within square bracket ([]) are optional. … Read more

VB 6 Arrays

The VB 6 arrays hold data of a single type. In this article, you will learn about declaring, assigning, and various array handling techniques. Types of  VB 6 Array You can divide VB 6 arrays into two sets – array and arrays The can have a maximum of dimensions. The arrays in are also classified … Read more

VB 6 Variable Scope

The scope of a VB 6 variable decides the lifetime of that variable. There are 3 levels of scope for a variable in Visual Basic 6. In this article, you will learn about the scope of variables with examples in a Visual Basic 6 project. Level of Scope The scope in many programming languages is … Read more

VB 6 Type Casting

Type casting in VB 6 means converting from one data type to another. The VB 6 language allows type conversion using functions. Here is a list of functions with their description. Function Description Chr ANSI to string Format, LCase, UCase String to Lowercase or Uppercase DateSerial, DateValue Date to Serial Number Hex, Oct Decimal to … Read more

VB 6 Variable Declarations

If you have added the forms and controls to the project, the visual basic language will make them work.  The visual basic 6 language is the code or instructions once an event like click happens. In VB 6 language, you must learn the following things. Declare variables, constants, functions and subroutines. Use strings, operators, conditions, … Read more

VB 6 Managing Projects

Visual basic open a project in design view where you can modify project properties like project name and description, version information, and other similar attributes. Managing VB 6 projects is easier than you may think. The project tab in the visual basic standard toolbar contains project properties which allow us to change settings related to … Read more

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.