by Dinesh Thakur Category: Lists Loops and Printing

When the loop is executing we specify the increment number by which the value should be increase. Loop checks the condition whether it is true or not , if it is true then the body of the loop get executed and the variables value gets incremented by the specified number. Again, the loop checks the incremented value with the condition, if it is true then the body will execute and again increment value by the next value. But if the condition is false then it will exit the loop.

 
by Dinesh Thakur Category: Lists Loops and Printing

A loop is series of one or more statements that executes more than one time. Loop statement repeats until a certain predefined condition is true. Two types of loop structures are available in VB. The do loop and for-next loop. The do loop constructs offers many variations and is used typically. If we do not know how many iterations will be performed.

 
by Dinesh Thakur Category: Lists Loops and Printing

VB provides string functions such as Left ,Right ,len.

 
by Dinesh Thakur Category: Lists Loops and Printing

A function that controls horizontal spacing on the line is the spc(space). The space function differs from the tab function. In that we specify the number of spaces on the line that we want to advance from the last item printed.

 
by Dinesh Thakur Category: Array

a) Arrays:

A variable array can contain a list of values, similar to list box or combo box. VB actually stores the list property of a list box or a combo box in an array.

 
by Dinesh Thakur Category: Array

A standard structure for storing data in any programming language is an array. Whereas individual variables can hold single entities, such as a number, date, or string, arrays can hold sets of related data.

 
by Dinesh Thakur Category: Array

Consider the eight scout troops and their ticket sales. Now the groups are not numbered 1 to 8, but 101,103,110,115,121,123,130 and 145.

 
by Dinesh Thakur Category: Array

 You may need to use two subscripts to identify tabular data, where data are arranged in rows and columns. To define a two-dimentional array or table, the Dim statement specfies the number of rows and columns in the array. The row is horizontal and the column is vertical.

 
by Dinesh Thakur Category: Array

List Index property is used to determine the array subscript. List Index property holds the position or index of the selected item in the list. We could then use this index with one minor change to access the group total. List index property always begins with 0.

 
by Dinesh Thakur Category: Array

Sometimes, array are referred to as tables or subscripted variables, all referenced by the same name. When we use a control array, the individual controls are referenced as optCoffee(0) or optCoffee(1). The same notation is used with variable arrays. Therefore, in an array for storing names we may have strName(0), strName(1), strName(2) and so on.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

When we pass a value to a procedure we may pass it ByVal or ByRef.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

The Class_initialize event is triggered when an object is created and the Class_initialize event occurs when an object goes out of scope or is terminated with

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Declaring variables means naming the variable and specifying their data types, that is declaration statements establish our project’s variables and constants give them names, and specify the data type they will hold.



 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Inside our class, we define variables, which are the properties of the class. We could declare all the variables as Public so that all other project code could set and retrieve their values.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

To hold the internal data of our class create private variables in the general declaration of the class modules. Then we have to deign which properties we want to write access. We can decide these things using property get and property let procedures.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

(Dynamic-linked library) In programming, a type of LIBRARY file that becomes LINKED to a program that uses it only temporarily when the program is loaded into memory or executed, rather than being permanently built-in when the program is COMPILED. The same DLL may therefore be shared by many different programs, rather than each program having to contain its own copy; this saves on memory usage and potentially simplifies the updating of programs.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

This phrase has two meanings. Compile time can refer to how long it takes to compile a given program (see the entry above). The compile time for a program depends on how long and complicated the program is, the speed of the computer, and the quality of the compiler.



 
by Dinesh Thakur Category: DataBase

Recordset:

 

The current group of records associated with a data control; may be a table recordset , a dynaset, or a snapshot.

 
by Dinesh Thakur Category: DataBase

The Databound grid control in VB 6.0 adds power and flexibility to your DataBase programs. you can easily provide grid access to any available DataBase.

 

Page 4 of 5



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.