
Ross Sheppard High School
Computer Studies Program
Student Learning Guide
Visual Basic Programming Conventions
All programs written must conform to this standard.
| Prefix | Used For | Example |
|
btn |
CommandButton |
btnExit |
|
cbo |
ComboBox |
cboMathSign |
|
chk |
CheckBox |
chkHamburger |
|
dir |
DirectoryList |
dirFiles |
|
drv |
DriveList |
drvSource |
|
fil |
FileList |
filTarget |
|
fra |
Frame |
fraChoices |
|
frm |
Form |
frmMyProject |
|
grd |
Grid |
grdTV |
|
hsb |
HorizontalScrollBar |
hsbSpeed |
|
img |
Image |
imgMyImage |
|
lbl |
Label |
lblChoice |
|
lin |
Line |
linDiagonal |
|
lst |
ListBox |
lstCity |
|
mnu |
Menu |
mnuFile |
|
opt |
OptionButton |
optRootBeer |
|
pct |
PictureBox |
pctMyPicture |
|
shp |
Shape |
shpMyShape |
|
tmr |
Timer |
tmrMoveIt |
|
txt |
TextBox |
txtAnswer |
|
vsb |
VerticalScrollBar |
vsbSpeed |
© 1999-2000
N.F. Mathew, EdD
File: programming conventions.htm
Last updated on
February 2, 2000