Make your own free website on

Visual Basic Quick References


Caption This the property that determines the text displays on a control such as the label. example: label1.caption="Enter"

This a control that is used to express optional features, namely checked or unchecked.


                     If checkbox1.Value=vbchecked  Then

                             MsgBox("Best Choice")

                     End If


Chr or Chr$ Returns the Character for a specified ASCII code        Example:   Chr(65)=A
Cls The method that clears any previous display on the form or a picture box.   Example:Picture1.Cls
Cos Returns the cosine of an angle x (expressed in radian)  Example: Cos((4*Atn(1)/180)*60)=0.5




  [Back to VB Guide]