by Dinesh Thakur Category: Lists Loops and Printing

ListCount :

 

The application uses the list count property of listbox to store the number of item in the list. ListCount is always one more than the highest list index, since list index begins with zero.

 
by Dinesh Thakur Category: Lists Loops and Printing

After adding items in list property of the combobox or listbox we may have to resize it .

 
by Dinesh Thakur Category: Lists Loops and Printing

Combobox:

 

A combobox control is combination of textbox and listbox. This control enables user to select either by typing in the text into combobox or by selecting items from the list.

 
by Dinesh Thakur Category: Lists Loops and Printing

ListBox :

ListBox present a list of choices that are displayed vertically in single column, if number of items exist the value can be displayed scrollbar automatically appear on control.

 
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

 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: 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

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: 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: 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)

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)

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)

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

 
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: DataBase

1. You can bound data to data bound controls like Labels, Text Boxes, Checkbox. If you don?t want user to change the data you use Label control, where user can only view the data else you can use Text boxes.

 
by Dinesh Thakur Category: DataBase

1. Two handy properties of the record set are BOF (beginning of file) and EOF (end of file). The BOF property is automatically set to true when the record pointer is before the first record in the record set.

 

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.