Classics World IT Department
Naming Standards
Most Classics World applications are written in Microsoft Visual Basic. At Classics World, we have
adopted a set of naming conventions in our VB source code.
Naming standards improve development and maintenance effectiveness by:
- Improving readability of your program code
- Facilitating understanding by other team members
- Increasing program quality
- Enhancing opportunities for code reuse
Directory of Classics World VB Naming Standards
Class and Object Names
Database Interface Names
Function and Subroutine Names
Function/Subroutine Argument Names
Variable Names
Object |
Prefix |
Example |
Form |
frm |
frmAbout |
CheckBox |
chk |
chkItalic |
ComboBox |
cbo |
cboLanguage |
CommandButton |
cmd |
cmdOK |
Grid |
grd |
grdOrderItems |
Horizontal ScrollBar |
hsb |
hsbPercent |
Label |
lbl |
lblLastName |
Line |
lin |
linDivider |
ListBox |
lst |
lstProductType |
Menu |
mnu |
mnuHelpAbout |
OptionButton |
opt |
optFemale |
PictureBox |
pic |
picLogo |
TextBox |
txt |
txtQuantityOrdered |
Vertical ScrollBar |
vsb |
vsbLoudness |
Return to Classics IT Knowledge Base home page.