VB Edit Schedule
Last Update:2017-02-28
Source: Internet
Author: User
VB Edit Schedule
Jugnlesong
1. An image naming convention
For the elephant species
The image is called
Yes, like a former 綴.
Cases
FORM
Window body
frm
Frmmain
MDI child windows
Child panes
Mdi
Mdinote
Picture BOX
Picture control
Pic
Picview
LABEL
Tag control
LbL
Lblmessage
TEXT BOX
Text control
Txt
Txtpassword
FRAME
Frame control
Fra
Fraoption
COMMAND BUTTON
Command control
Cmd
Cmdclose
CHECK BUTTON
Restore box
Chk
Chktaxinclude
OPTION BUTTON
Single Box
Opt
Optfemale
COMBO BOX
Composite box
Cbo
Cbogroup
LIST BOX
list box
Lst
Lstitems
Horiz Sroll BAR
Horizontal Roll Motion
Hsb
Hsb
VERTICAL SCROLL BAR
Vertical Roll Motion
Vsb
Vsbvolume
TIMER
Time Control
Tmr
Tmralarm
DRIVE LIST BOX
A plate character control
Drv
Drvtarget
DIRECTORY BOX Catalogue Controls
Dir
Dirpath
FILE LIST BOX
File List control
Fil
Filsource
SHAPE
Shape Control
shp
Shpcircle
Line
Thread control
Lin
Linvertical
IMAGE
Image control
Img
Imgicon
DATA Control
Data controls
Dat
Datbiblio
OLE Control
OLE control
Ole
Oleexcel
MENU
Vegetable Menu
Mnu
Mnufile
2. ActiveX control naming convention
For the elephant species
Yes, like a former 綴.
Cases
Adodc
Ado
Adobiblio
CommonDialog
Dlg
Dlgfileopen
MSComm
Com
Comfax
DataCombo
Dbc
Dbcauthor
Datagrid
Dgd
Dgdtitles
DataList
Dbl
Dblpublisher
DataRepeater
Drp
Drplocation
DTPicker
Dtp
Dtppublished
MSHFlexGrid
Flex
Flexorders
MapiMessages
Mpm
Mpmsentmessage
MapiSession
Mps
Mpssession
Mmcontrol
Mci
Mcivideo
MonthView
Mvw
Mvwperiod
MSChart
Ch
Chsalesbyregion
MSFlexGrid
Msg
Msgclients
SSTab
Mst
Mstfirst
Slider
Sld
Sldscale
StatusBar
Sta
Stadatetime
SysInfo
Sys
Sysmonitor
TabStrip
tab
Taboptions
Toolbar
Tlb
Tlbactions
Treeview
Tre
Treorganization
UpDown
Upd
Upddirection
3. DAO Image naming convention
For the elephant species
Yes, like a former 綴.
Cases
DBEngine
DBe
Dbejet
Workspace
wsp
Wspmain
Database
Db
Dbbiblio
TableDef
tbd
Tbdcustomers
QueryDef
Qry
Qryalltitle
Recordset
Rec
Rectitles
Field
Fld
Fldname
4. ADO naming convention
For the elephant species
Yes, like a former 綴.
Cases
Connection
Cnn
Cnnoracle
Command
Cmd
Cmdgettitle
Recordset
Rst
Rsttitles
Parameter
Prm
Prmisbn
Field
Fld
Fldcity
5. Basic variable naming convention
Variable types
Former 綴
Example
Bolean Brown Type
bln
BlnFound
BYTE type
Byt
Bytarray
Collection set type image
Col
Coltitle
Currency coin type
Cur
Curtax
Date type
Dtm
Dtmbegin
Double dual precision floating point numbers
Dbl
Dblratio
Error mistakes
Err
Errlocal
Integer integral type
Int
Intquantity
Long integer type
Lng
Lngtotal
Object image
Obj
Objcurrent
Single p precision floating-point numbers
Sng
Sngaverage
String strings
Str
strUserName
Define Types
Udt
Udtemployee
Variant variable type
Vnt
Vntbookmark
6. Variable suitable range before 綴 naming convention
Suitable for 囲
プリフィックス
Cases
Global Change
G
gstrUserName
module level Change
M
Mblndone
Local variation
なし
Dblprofit
7. 綴 nomenclature prior to function
Suitable for 囲
プリフィックス
Cases
Sub
In the window
S
Sgrid_set
Inside the module
Ms
Msdb_open
Function
In the window
F
Fchange_text
Inside the module
Mf
Mfkanri_cmb_set
8. Generic variable naming
Becomes number content
becomes number of names
Property
return value
Ret
Integer or Boolean
The amount of cycle change
I
Integer
Number of pieces
Cnt
Integer
SQL command
Mstrsql
String (bascommonで definition)