Professional Documents
Culture Documents
V i Lng - 09T1
K THUT LP TRNH VB
Cc chun mc lp trnh VB6
V i Lng - 09T1
Tin t
V d
3D Panel
Pnl
pnlGroup
ADO Data
Ado
adoBiblio
Animated button
Ani
aniMailBox
Check box
Chk
chkReadOnly
Cbo
cboEnglish
Command button
Cmd
cmdExit
Common dialog
dlg
dlgFileOpen
Communications
com
comFax
ctrCurrent
Data
dat
datBiblio
dbcbo
dbcboLanguage
Data-bound grid
dbgrd
dbgrdQueryResult
V i Lng - 09T1
dblst
dblstJobType
Data combo
dbc
dbcAuthor
Data grid
dgd
dgdTitles
Data list
dbl
dblPublisher
Data repeater
drp
drpLocation
Date picker
dtp
dtpPublished
dir
dirSource
drv
drvTarget
fil
filSource
fsb
fsbMove
Form
frm
frmEntry
Frame
fra
fraLanguage
Gauge
gau
gauStatus
Graph
gra
graRevenue
Grid
grd
grdPrices
Hierarchical flexgrid
flex
flexOrders
hsb
hsbVolume
Image
img
imgIcon
Image combo
imgcbo
imgcboProduct
ImageList
ils
ilsAllIcons
Label
lbl
lblHelpMessage
lwchk
lwchkArchive
lwcbo
lwcboGerman
lwcmd
lwcmdRemove
Lightweight frame
lwfra
lwfraSaveOptions
V i Lng - 09T1
lwhsb
lwhsbVolume
lwlst
lwlstCostCenters
lwopt
lwoptIncomeLevel
lwtxt
lwoptStreet
lwvsb
lwvsbYear
Line
lin
linVertical
List box
lst
lstPolicyCodes
ListView
lvw
lvwHeadings
MAPI message
mpm
mpmSentMessage
MAPI session
mps
mpsSession
MCI
mci
mciVideo
Menu
mnu
mnuFileOpen
Month view
mvw
mvwPeriod
MS Chart
ch
chSalesbyRegion
MS Flex grid
mfg
mfgClients
MS Tab
mst
mstFirst
OLE container
ole
oleWorksheet
Option button
opt
optGender
Picture box
pic
picVGA
Picture clip
clp
clpToolbar
ProgressBar
prg
prgLoadFile
Remote Data
rd
rdTitles
RichTextBox
rtf
rtfReport
Shape
shp
shpCircle
Slider
sld
sldScale
V i Lng - 09T1
Spin
spn
spnPages
StatusBar
sta
staDateTime
SysInfo
sys
sysMonitor
TabStrip
tab
tabOptions
Text box
txt
txtLastName
Timer
tmr
tmrAlarm
Toolbar
tlb
tlbActions
TreeView
tre
treOrganization
UpDown
upd
updDirection
vsb
vsbRate
Tn menu
File Open
mnuFileOpen
mnuFileSendEmail
mnuFileSendFax
Format Character
mnuFormatCharacter
Help Contents
mnuHelpContents
1.3. Tn bin
Tn bin phi m t kiu d liu, phm vi v nhn dng ca mt bin.
Kiu d liu
Tin t
Boolean
bln
Byte
byt
Currency
cur
V i Lng - 09T1
Date (Time)
dtm
Double
dbl
Error
err
Integer
int
Long
lng
Object
obj
Single
sng
String
str
User-defined type
udt
Variant
vnt
Tin t
V d
Lu
Global
gstrUserName
Module-level
mblnCalcInProgress
Local to procedure
None
dblVelocity
Bin double cc b
1.5. Tn hng
Tn hng c vit in hoa vi du gch di gia cc t. V d: USER_LIST_MAX, NEW_LINE
1.6. Tin t cho ActiveX Data Objects (ADO)
S dng cc tin t sau y ch ra cc ActiveX Data Objects.
ADO object
Tin t
V d
Command
Cm
cmTitles
Connection
Cn
cnTitles
Field
Fld
fldName
Field Collection
flds
fldsTitles
Parameter
prm
prmTitleName
Parameter Collection
prms
prmsNames
Recordset
V i Lng - 09T1
Rs
rsTitles
vntVar2 = 11
vntResult = vntVar1 + vntVar2
vntResult = vntVar1 & vntVar2
V i Lng - 09T1
'vntResult = 21.01
'vntResult = 10.0111
V i Lng - 09T1
Chun
Ghi ch
Interface
In Vietnamese
Font name
MS Sans serif
Font size
Default
Font color
Black
Default
Font style
Normal
Default
100 Points
Right
Label alignment
Left
Default
Chp nhn
Thot
Hng dn
Thm mi
Xo
Sa
ng
Ghi
Chp nhn
Cancel button
ng
V i Lng - 09T1
2.2. V d
Form di y c thit k ng theo quy chun
Control
Property
Value
Check box
All colors
Default
Height
315
All colors
Default
Height
375 Points
Back color
Button face
Border style
Fixed length
Back color
Button face
Startup position
CenterScreen
Label
Back color
Button face
Width
260 Points
Height
260 Points
Option button
Height
255 Points
Height
285 Points
All color
Default
Note
Command button
Form
VB Default
VB Default
VB Default
Text box
10
V i Lng - 09T1
Chun
Black
Report
title
Thuc tnh
Ci t
Font name
.VnArialH
Font style
Bold
Justify
Paper center
Colunm
heading
Report
body
(data)
Font name
.VnArialNarrow
Font style
Bold
Font size
10
Justify
Column left
6 Points
6 Points
Font name
.VnArialNarrow
Font style
Bold
Font size
Justify
Ghi ch
Should
be
reviewed
11
V i Lng - 09T1
Row spacing
Font name
.VnArialNarrow
Font style
Bold
Font size
Justify
Right
Position
Under
data
summarized
Grouping
line
Width
1 Point
Report
boder
Width
1 Point
Total row
Page
number
Left sub
title
Right sub
title
block
that
.VnArial
Font size
Font style
Normal
Position
Style
Page/Total page
Font name
.VnArial
Font size
10
Font style
Normal
Justify
Margin left
Font name
.VnArial
Font size
10
Font style
Normal
V d:
12
V i Lng - 09T1
Left subtitle
Report title
Right subtitle
Column heading 1
Column heading 2
Column heading 3
Column heading 4
Report body 1
Report body 2
Report body 3
Report body 4
Report body 1
Report body 2
Report body 3
Report body 4
Total row 4
Report body 1
Report body 2
Report body 3
Report body 4
Report body 1
Report body 2
Report body 3
Report body 4
Total row 4
(Page number) 1/5
13