You are here:   HomeVisual Basic
by Dinesh Thakur Category: Multiple Forms

The startup form is the first form created in a project. However, you can select a different form to be the startup form, or you can specify your own Main Procedure.

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

So far, any printed output has been done with the PrintForm method. When we print using PrintForm , all output is produced as a graphic, which does not produce attractive text.

 
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

Do-Loop construct is used when we do not know how many iterations will be performed , where as when we know exact number of execution on the block of code, For-Next construct is used. To use this construct we have to use a counter.

 
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

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

 

Page 6 of 9



Subscribe To Free Daily Newsletter!

Get Free News Updates Delivered Directly To Your Inbox
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes 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.



What's New and Popular