Professional Documents
Culture Documents
Lập Trình Web Bằng Visual Basic
Lập Trình Web Bằng Visual Basic
PHAÀN I :
CÔ SÔÛ LYÙ THUYEÁT VEÀ NGOÂN NGÖÕ VISUAL BASIC
• Nhöõng kyõ thuaät ActiveX cho pheùp ta duøng nhöõng chöùc naêng ñöôïc cung caáp töø
nhöõng öùng duïng khaùc, nhö laø chöông trình xöû lyù vaên baûn Microsoft Word, baûng
tính Microsoft Excel vaø nhöõng öùng duïng Windows khaùc.
• Khaû naêng Internet laøm cho noù deã daøng cung caáp cho vieäc theâm vaøo nhöõng taøi
lieäu vaø öùng duïng qua Internet hoaëc intranet töø beân trong öùng duïng cuûa baïn,
hoaëc taïo nhöõng öùng duïng Internet server.
• Öùng duïng cuûa baïn keát thuùc laø moät file .exe thaät söï. Noù duøng moät maùy aûo Visual
Basic ñeå baïn töï do phaân phoái öùng duïng.
Trang 1
2. Caáu truùc cuûa moät öùng duïng Visual Basic
Moät öùng duïng thaät ra laø moät taäp hôïp caùc chæ daãn tröïc tieáp ñeán maùy tính ñeå thi haønh
moät hay nhieàu taùc vuï. Caáu truùc cuûa moät öùng duïng laø phöông phaùp trong ñoù caùc chæ
daãn ñöôïc toå chöùc, ñoù laø nôi chæ daãn ñöôïc löu giöõ vaø thi haønh nhöõng chæ daãn trong moät
trình töï nhaát ñònh.
Vì moät öùng duïng Visual Basic, treân cô baûn laø nhöõng ñoái töôïng, caáu truùc maõ ñoùng
ñeå töôïng tröng cho nhöõng moâ hình vaät lyù treân maøn hình. Baèng vieäc ñònh nghóa, nhöõng
ñoái töôïng chöùa maõ vaø döõ lieäu. Form, caùi maø chuùng ta nhìn thaáy treân maøn hình laø töôïng
tröng cho nhöõng thuoäc tính, quy ñònh caùch xuaát hieän vaø caùch cö xöû. Cho moãi form
trong moät öùng duïng, coù moät quan heä module form (vôùi teân file môû roäng laø .frm) duøng
ñeå chöùa ñöïng maõ cuûa noù.
Moãi module chöùa nhöõng thuû tuïc söï kieän – nhöõng ñoaïn maõ, nôi ñaët nhöõng chæ daãn,
caùi seõ ñöôïc thi haønh trong vieäc ñaùp öùng nhöõng söï kieän chæ ñònh. Form coù theå chöùa
nhöõng ñieàu khieån. Töông öùng vôùi moãi ñieàu khieån treân form, coù moät taäp hôïp nhöõng thuû
tuïc söï kieän trong module form ñoù.
Maõ khoâng chæ quan heä vôùi moät form chæ ñònh hay ñieàu khieån coù theå ñöôïc ñaët trong
moät loaïi module khaùc, moät module chuaån (.BAS). Moät thuû tuïc ñöôïc duøng ñeå ñaùp öùng
nhöõng söï kieän trong nhöõng ñoái töôïng khaùc nhau phaûi ñöôïc ñaët trong cuøng moät chuaån,
thay vì taïo nhöõng baûn sao maõ trong nhöõng thuû tuïc söï kieän cho moãi ñoái töôïng. Moät lôùp
module (.cls) ñöôïc duøng ñeå taïo nhöõng ñoái töôïng, caùi maø coù theå ñöôïc goïi töø nhöõng thuû
tuïc beân trong öùng duïng cuûa baïn. Trong khi moät module chuaån chæ chöùa maõ, moät lôùp
module chöùa ñöïng caû maõ vaø döõ lieäu. Ta coù theå nghó noù nhö moät ñieàu khieån.
Trang 2
Laäp Trình Web Vôùi Visual Basic
Trang 3
Thieát keá cho vieäc thi haønh vaø tính töông thích
Visual Basic chia xeû haàu heát nhöõng tính naêng ngoân ngöõ trong Visual Basic cho
nhöõng öùng duïng, bao goàm trong Microsoft Office vaø nhieàu öùng duïng khaùc. Visual
Basic, VBScript, moät ngoân ngöõ script Internet, ñeàu laø taäp hôïp con cuûa ngoân ngöõ
Visual Basic.
Trang 4
Laäp Trình Web Vôùi Visual Basic
String 1 byte cho coù theå leân ñeán 231 kyù töï
moãi kyù töï
Variant 16 byte + Null, Error, baát kyø kieåu soá naøo coù giaù trò trong khoaûng
1 byte cho Double hay baát kyø noäi dung text naøo
moãi kyù töï
Kyù hieäu Exx phía sau soá coù nghóa laø nhaân vôùi 10xx.
• Kieåu soá nguyeân döông (khoâng chaáp nhaän soá aâm) goàm kieåu Byte.
• Kieåu soá nguyeân (chaáp nhaän caû soá aâm nhöng khoâng chaáp nhaän phaàn leû thaäp
phaân) goàm caùc kieåu :Integer, Long.
• Kieåu soá thöïc goàm Single, Double, Currency.
• Kieåu Boolean goïi laø kieåu luaän lyù, noù chæ chaáp nhaän hai giaù trò True laø ñuùng vaø
False laø sai.
• Kieåu String duøng ñeå chöùa caùc giaù trò chuoãi. Moät chuoãi kyù töï coù theå coù nhieàu kyù
töï. Khi vieát moät giaù trò chuoãi, ta phaûi bao hai ñaàu noù baèng daáu nhaùy keùp.
Trang 5
• Kieåu ngaøy thaùng (Date) ñeå chöùa giaù trò thôøi gian. Khi vieát moät giaù trò kieåu Date,
ta coù theå vieát theo baát cöù kieåu ghi giôø naøo bao hai ñaàu baèng daáu #.
Trang 6
Laäp Trình Web Vôùi Visual Basic
Cuù phaùp 2 :
Select Case <bieán hay bieåu thöùc> ‘xeùt bieán hay bieåu thöùc naøy
Case <caùc giaù trò> ‘Neáu bieán hay bieåu thöùc baèng caùc giaù trò naøy
<caùc caâu leänh> ‘thì thöïc hieän ñoaïn leänh naøy
…
Case <caùc giaù trò>
…
‘coù theå coù nhieàu Case cho caùc ñieàu kieän caàn
xeùt.
[ Case Else ‘Neáu bieán hay bieåu thöùc khoâng baèng caùc giaù
trò cuûa caùc Case beân treân
<caùc caâu leänh> ] ‘thì thöïc hieän phaàn leänh naøy
…
End Select
Do While <bieåu thöùc ñieàu kieän> ‘trong khi bieåu thöùc ñieàu kieän ñuùng
<caùc caâu leänh> ‘thì thöïc hieän caùc caâu leänh naøy
Loop ‘Quay trôû veà doøng Do While ñeå kieåm tra laïi
Trang 7
Cuù phaùp 2 :
Do ‘thöïc hieän
<caùc caâu leänh> ‘caùc caâu leänh naøy
Loop Until <ñieàu kieän> ‘cho ñeán khi ñieàu kieän ñuùng
Cuù phaùp naøy khaùc cuù phaùp 1 ôû choã : trong cuù phaùp 1 ñieàu kieän ñöôïc xeùt tröôùc khi thöïc
hieän caùc caâu leänh, cuù phaùp 2 ñieàu kieän ñöôïc xeùt sau khi thöïc hieän caùc caâu leänh.
For bieán = giaù trò ñaàu To giaù trò cuoái [Step khoaûng taêng]
<caùc caâu leänh>
Next bieán
Neáu ta khai baùo baèng töø khoùa Public, thuû tuïc coù theå ñöôïc goïi ñeå söû duïng trong
baát kyø form naøo trong chöông trình.
Neáu ta khai baùo baèng töø khoùa Private, thuû tuïc chæ coù theå duøng ñöôïc trong form
coù chöùa noù maø thoâi
Private/Public Sub <Teân thuû tuïc> (<Teân töôïng tröng cho tham soá> As <Kieåu>,…)
Trang 8
Laäp Trình Web Vôùi Visual Basic
Trang 9
Noäi dung tónh
Trang 10
Laäp Trình Web Vôùi Visual Basic
Scripting
Trang 11
Ta coù theå laøm giaûm ñaùng keå chi phí cho vieäc trieån khai öùng duïng ñeán vôùi moãi
ngöôøi söû duïng. Ngöôøi söû duïng cuûa moät öùng duïng Internet IIS coù theå chaïy öùng
duïng naøy chæ vôùi duy nhaát moät browser thích hôïp vaø thôøi gian chaïy Visual Basic
treân maùy tính cuûa hoï. Nhöõng thaønh phaàn caàn thieát ñaõ ñöôïc thieát laäp töï ñoäng tröôùc
ñoù.
Ta coù theå söû duïng kieán thöùc cuûa mình veà Visual Basic vaø duøng moâi tröôøng laäp
trình Visual Basic, khoâng caàn phaûi hoïc Scripting hay nhöõng thao taùc xöû lyù nhöõng
tag HTML ñeå phaùt trieån moät öùng duïng coù chöùc naêng Web – base cao.
Ta coù theå taùch bieät vieäc thieát keá giao dieän ngöôøi söû duïng töø vieäc vieát maõ cho
moät form hay moät trang. Trong nhöõng öùng duïng Web – base tröôùc, nhöõng ngöôøi
phaùt trieån phaûi cheøn nhöõng script cuûa hoï vaøo tröïc tieáp trong moät taøi lieäu HTML,
caùi maø haàu nhö duøng ñeå taïo giao dieän ngöôøi söû duïng. Noù laøm cho maõ trôû neân khoù
ñoïc vaø quaûn lyù.
Trong öùng duïng IIS, ta coù theå duøng laïi nhöõng trang trong nhöõng ngöõ caûnh khaùc
nhau. Khoâng gioáng nhö HTML, nôi maø thoâng tin töø trang naøy sang trang khaùc phaûi
ñöôïc gaén chaët vaøo trong baûn thaân HTML, thì vieäc laùi thoâng tin cho moät trang trong
moät öùng duïng Internet Visual Basic ñöôïc löu tröõ taùch bieät töø baûn thaân moãi trang.
Noù cho pheùp ta duøng trang naøy ôû nhieàu nôi trong moät öùng duïng, vieäc thay ñoåi
höôùng tuøy thuoäc vaøo ngöõ caûnh.
Ta coù theå giaûm thôøi gian taûi vaø do ñoù giaûm thôøi gian taûi maïng cuûa chuùng ta, bôûi
vì heä thoáng khoâng caàn phaûi taûi xuoáng nhöõng thaønh phaàn khaùc ñeå chaïy öùng duïng .
Ta coù theå deã daøng löu giöõ traïng thaùi öùng duïng, nhö laø teân cuûa ngöôøi söû duïng
hoaëc soá account giöõa nhöõng yeâu caàu client. Tuøy thuoäc vaøo loaïi öùng duïng, ta coù theå
löu giöõ traïng thaùi treân client, treân server hay caû hai.
Ta coù theå gôõ roái nhöõng öùng duïng IIS vaø DHTML baèng nhöõng coâng cuï gôõ roái
chuaån cuûa Visual Basic.
2. ÖÙng duïng Internet vaø nhöõng kyõ thuaät Internet trong Visual Basic
2.1. ÖÙng duïng Internet Visual Basic
2.1.1. ÖÙng duïng IIS
Nhöõng öùng duïng IIS thöôøng truù treân Web Server vaø xöû lyù nhöõng yeâu caàu ñeán töø
moät browser. ÖÙng duïng IIS xöû lyù yeâu caàu ñoù, chaïy maõ VB keát hôïp vôùi noù vaø traû veà
nhöõng ñaùp öùng cho ngöôøi söû duïng. Caùc quaù trình xöû lyù cho moät öùng duïng IIS ñeàu xaûy
ra treân server.
Trang 12
Laäp Trình Web Vôùi Visual Basic
2.1.3. Söï khaùc nhau giöõa öùng duïng IIS vaø öùng duïng DHTML
ÖÙng duïng IIS vaø öùng duïng DHTML laø hai loaïi öùng duïng Internet maø ta coù theå taïo
treân Visual Basic. Chuùng ta ñeàu coù theå ñaùp öùng nhöõng söï kieän trong moät trang HTML,
tuy nhieân cuõng coù söï khaùc giöõa hai loaïi öùng duïng :
Söï phuï thuoäc – ÖÙng duïng DHTML ñöôïc duøng cho intranet, vaø phuï thuoäc vaøo
Internet Explorer 4.0, trong khi IIS öùng duïng coù theå ñöôïc duøng treân Internet hoaëc
intranet. Ngöôøi söû duïng cuûa moät öùng duïng IIS khoâng caàn chæ ñònh heä ñieàu haønh
hay browser.
Moâ hình ñoái töôïng – ÖÙng duïng DHTML duøng moâ hình ñoái töôïng khaùc vôùi öùng
duïng IIS ñeå truy xuaát vaø laøm vieäc vôùi nhöõng thaønh phaàn treân moät trang HTML.
Trong khi öùng duïng IIS duøng moâ hình ñoái töôïng Active Server Pages, DHTML
duøng moâ hình ñoái töôïng Dynamic HTML.
Nôi xöû lyù caùc quaù trình - ÖÙng duïng IIS ñöôïc thieát keá ñeå thöïc thi haàu heát caùc
quaùtrình xöû lyù cuûa noù treân Web Server, coøn öùng duïng DHTML thöïc thi quaù trình
xöû lyù cuûa noù treân maùy browser. Ta khoâng theå taïo baát cöù thaønh phaàn Web Server
naøo khi ta taïo moät öùng duïng DHTML.
2.2. Caùc kyõ thuaät laäp trình Web maø Visual Basic hoã trôï
2.2.1. VBScript
Microsoft Visual Basic Scripting, thaønh phaàn môùi nhaát cuûa hoï ngoân ngöõ laäp trình
Visual Basic, mang nhöõng Script ñoäng vaøo nhöõng moâi tröôøng khaùc nhau, bao goàm
Script client Web trong Microsoft Internet Explorer vaø Script Server Web trong
Microsoft Internet Information Server.
Visual Basic Scripting ñöôïc thieát keá ñeå laøm chuû beân trong moät Internet browser,
nhö laø Microsoft Internet Explorer hay nhöõng browser khaùc. VBScript laø kyõ thuaät
ngoân ngöõ cöïc nhanh vaø maïnh daønh cho nhöõng moâi tröôøng gioáng nhö Internet, intranet,
hay Word Wide Web. Noù cho pheùp nhöõng nhaø phaùt trieån duøng Visual Basic ñeå nhanh
choùng taïo ra nhöõng giaûi phaùp cho Internet hay Word Wide Web.
Do VBScript laø moät ngoân ngöõ phaùt trieån qua platform, neân khoâng coù moät soá thaønh
phaàn cuûa ngoân ngöõ Visual Basic cho nhöõng öùng duïng. Chuùng bao goàm nhöõng haøm
xuaát nhaäp file, nhöõng haèng vaø loaïi döõ lieäu thuoäc beân trong. Ta coù theå vieát maõ
VBScript trong cöûa soå maõ cuûa Visual Basic, nhöng khoâng theå chaïy hay kieåm tra öùng
duïng trong Visual Basic IDE.
Trang 13
Dynamic HTML laø moät taäp hôïp caùc tính naêng coù tính chaát ñoåi môùi trong Microsoft
Internet Explorer 4.0 Dynamic HTML cho nhöõng nhaø saùng taùc khaû naêng taïo nhöõng taøi
lieäu HTML thaät noåi baät , caùi maø töông taùc vôùi ngöôøi söû duïng maø khoâng phaûi döïa treân
nhöõng chöông trình server – side hay taäp hôïp nhöõng trang HTML phöùc taïp ñeå taïo ra
nhöõng hieäu quaû ñaëc bieät.
Vôùi Dynamic HTML, ta coù theå deã daøng theâm vaøo nhöõng hieäu öùng, ví duï:
Laøm aån ñi vaên baûn vaø hình aûnh vaøo trong taøi lieäu vaø giöõ noäi dung aån cho ñeán
khi qua moät khoaûng thôøi gian ñaõ chæ ñònh hay ngöôøi söû duïng töông taùc vôùi trang
naøy.
Laøm cho vaên baûn vaø hình aûnh trong taøi lieäu cuûa trôû neân soáng ñoäng. Moãi thaønh
phaàn hoaït ñoäng ñoäc laäp töø baát kyø ñieåm baát ñaàu naøo cho ñeán baát cöù ñieåm keát
thuùc naøo, theo moät ñöôøng daãn ta choïn hay ngöôøi söû duïng ñaõ choïn .
Taïo moät ñoàng hoà ñeå töï ñoäng caäp nhaät noäi dung môùi nhaát, kho trích daãn, hay döõ
lieäu khaùc
Taïo moät form sau ñoù ñoïc, xöû lyù, vaø ñaùp öùng cho döõ lieäu maø ngöôøi söû duïng nhaäp
vaøo trong form.
Dynamic HTML laøm vieäc raát toát vôùi nhöõng öùng duïng, nhöõng ñieàu khieån Active X,
vaø nhöõng caùi khaùc chaáp nhaän nhöõng ñoái töôïng. Ta coù theå duøng nhöõng öùng duïng vaø
ñieàu khieån ñang toàn taïi hay taïo ra moät thaønh phaàn môùi. Nhöõng öùng duïng vaø ñieàu
khieån laøm vieäc raát toát khi noù döïa vaøo ñoù ñeå xöû lyù nhöõng taùc vuï khoù khaên , vaø duøng
Dynamic HTML ñeå hieån thò keát xuaát vaø xöû lyù thoâng tin ngöôøi söû duïng nhaäp vaøo.
Nhöõng öùng duïng hoã trôï kyõ thuaät ActiveX, nhö laø Microsoft Excel, Microsoft
Word, vaø Microsoft Access, cung caáp nhöõng ñoái töôïng maø ta coù theå thao taùc laäp
trình töø beân trong öùng duïng Visual Basic cuûa chuùng ta. Ví duï ta coù theå duøng
nhöõng thuoäc tính, phöông thöùc vaø söï kieän cuûa Microsoft Excel, Microsoft Word,
vaø Microsoft Access trong öùng duïng cuûa ta.
Nhöõng thaønh phaàn maõ cung caáp thö vieän cuûa nhöõng ñoái töôïng coù theå laäp trình .
Khoâng gioáng nhö moät ñoái töôïng trong öùng duïng cho pheùp ActiveX , moät ñoái
Trang 14
Laäp Trình Web Vôùi Visual Basic
töôïng trong moät thaønh maõ coù theå chaïy trong cuøng moät quaù trình vôùi öùng duïng
cuûa ta, cho pheùp nhanh choùng truy xuaát tôùi nhöõng ñoái töôïng naøy.
Ta coù theå theâm nhöõng tính naêng maø khoâng phaûi taïo chuùng baèng caùch söû duïng
nhöõng ñieàu khieån ActiveX. Ví duï nhö hieån thò moät lòch coâng taùc treân moät form
hoaëc ñoïc döõ lieäu ñöôïc ñònh daïng ñaëc bieät.
Nhöõng taøi lieäu Active X cho pheùp ta taïo nhöõng öùng duïng Internet töông taùc . Ta
coù theå taïo nhöõng form coù theå ñöôïc caát giöõ trong Internet Explorer. Nhöõng taøi
lieäu ActiveX coù theå hieån thò hoäp thoâng baùo , form vaø bao haøm nhöõng ñieàu khieån
Active X . Nhöõng taøi lieäu ActiveX coù theå coù chöùc naêng nhö laø nhöõng thaønh
phaàn maõ.
Trang 15
PHAÀN II :
GIÔÙI THIEÄU ÑEÀ TAØI
I. Ñeà taøi
Laäp trình Web baèng ngoân ngöõ Visual Basic 6.0
Trang 16
Laäp Trình Web Vôùi Visual Basic
PHAÀN III :
PHAÂN TÍCH VAØ THIEÁT KEÁ ÑEÀ TAØI
4. Caùc coâng cuï seõ duøng ñeå xaây döïng chöông trình
Visual Basic 6.0.
ActiveX Control trong Visual Basic 6.0.
Microsoft Frontpage.
Trang 17
II. Thieát keá ñeà taøi
Phaàn thieát keá ñöôïc chia laøm 2 phaàn : thieát keá giao dieän vaø xaây duïng nhöõng tính
naêng taùc vuï cuûa ñieän thoaïi moâ phoûng.
Treân trang chính naøy ñaõ thieát keá saün nhöõng lieân keát, laùi ngöôøi söû duïng ñeán nhöõng
trang khaùc nhau tuøy theo moái lieân keát maø hoï choïn
Trang 18
Laäp Trình Web Vôùi Visual Basic
Theo nhöõng lieân keát naøy, baïn seõ ñeán trang höôùng daãn cuõng nhö söû duïng ñieän thoaïi
moâ phoûng. Trang naøy ñöôïc chia laøm 3 frame, vôùi moãi frame laø moät trang khaùc nhau,
trình baøy nhöõng noäi dung khaùc nhau. Ngöôøi söû duïng coù theå laàn theo nhöõng moái lieân
keát ôû frame thöù nhaát (trình baøy trang caây tính naêng) ñeå xem nhöõng höôùng daãn chi tieát
veà caùch söû duïng nhöõng tính naêng ñoù ñöôïc trình baøy ôû frame thöù ba. Khi user xem
nhöõng höôùng daãn chi tieát ñoù, hoï coù theå tröïc tieáp kieåm nghieäm caùch hoaït ñoäng cuûa
nhöõng tính naêng ñöôïc xaây döïng treân ñieän thoaïi moâ phoûng treân frame thöù hai cuûa trang
naøy.
Trang trình baøy caáu truùc caây nhöõng tính naêng ñöôïc xaây döïng trong ñieän thoaïi moâ
phoûng
Trang 19
Trang höôùng daãn söû duïng, trình baøy thaät chi tieát caùch duøng nhöõng tính naêng ñaõ ñöôïc
moâ phoûng
Trang trình baøy ñieän thoaïi moâ phoûng vaø ngöôøi söû duïng coù theå duøng tröïc tieáp nhö moät
ñieän thoaïi thaät söï
Trang 20
Laäp Trình Web Vôùi Visual Basic
2. Xaây döïng nhöõng tính naêng trong ñieän thoaïi moâ phoûng
Nhöõng tính naêng, taùc vuï trong ñieän thoaïi moâ phoûng ñöôïc xaây döïng döïa treân moät
loaïi maùy ñieän thoaïi di ñoäng coù thöïc, maùy Motorola Cd928. Do xaây döïng döïa treân moät
maùy coù thöïc neân nhöõng tính naêng cuõng nhö nguyeân lyù hoaït ñoäng cuûa noù cuõng phaûi
ñöôïc baûo ñaûm nhö maùy thaät.
Nhöõng tính naêng cuûa maùy ñöôïc tích hôïp trong caùc menu, trong ñoù menu chính seõ laø
Nhöõng tính naêng trong menu coù chöùc naêng cuoän troøn theo nguyeân lyù nhö maùy
Motorola Cd928.
Trang 21
1. Menu Phone Book
Phone Book
Personal Number
- Find Entry
Enter Name - Call Number
By Name
- Modify Name Or Number
- Erase Name And Number
- Find Entry
Enter Location - Call Number
By Location
- Modify Name Or Number
- Erase Name And Number
- Add Entry
- Add To Phone Memory
- Add To SIM Card Memory
- Check Capacity
- Check Phone Capacity
- Check SIM Capacity
- Prevent Access
- No Memory Restrictions
- To SIM Card Memory
- To Phone Memory
Fixed
-View Fixed Dial List - To Phone & SIM Memory
Dialling
-Setup Fixed Dialling _Enter PIN2
- On
- Off
- Edit Entry
- Add Entry
One-Touch
- To Phone Memory - Erase Entry
Dial Setting
- To SIM Memory
- To Fixed Dial List
Phone Book
Danh baï ñieän thoaïi ñieän töû. Laø nôi baïn coù theå löu nhöõng teân vaø soá ñieän thoaïi nhö moät
muïc rieâng leû.
Personal Number
Laø moät menu con duøng cho vieäc taïo vaø quaûn lyù danh saùch nhöõng soá ñieän thoaïi caù
nhaân cuûa baïn.
Find Entry by Name
Tuøy choïn ñöôïc duøng ñeå choïn moät soá ñieän thoaïi töø moät danh saùch coù thöù töï nhöõng
teân ñaõ ñöôïc löu trong danh baï ñieän thoaïi.
Trang 22
Laäp Trình Web Vôùi Visual Basic
Call Number
Goïi cho soá ñieän thoaïi vöøa tìm thaáy.
Modify Name Or Number
Duøng cho vieäc thay ñoåi teân vaø soá ñieän thoaïi cuûa muïc vöøa tìm thaáy.
Erase Name And Number
Xoaù teân vaø soá ñieän thoaïi cuûa muïc vöøa tìm thaáy.
Add Entry
Tuøy choïn duøng ñeå theâm muïc vaøo trong danh baï ñieän thoaïi.
Add To Phone Memory
Theâm moät muïc vaøo trong boä nhôù cuûa ñieän thoaïi.
Add To SIM Card Memory
Theâm moät muïc vaøo trong boä nhôù cuûa theû SIM.
Check Capacity
Kieåm tra khaû naêng chöùa coøn laïi cuûa danh baï ñieän thoaïi.
Check Phone Capacity
Kieåm tra söùc chöùa trong boä nhôù cuûa ñieän thoaïi.
Check SIM Capacity
Kieåm tra söùc chöùa trong boä nhôù cuûa theû SIM.
Prevent Access
Tuøy choïn duøng cho vieäc ngaên ngöøa truy xuaát ñeán danh saùch soá ñieän thoaïi ñöôïc löu
trong danh baï ñieän thoaïi.
No Memory Restrictions
Khoâng giôùi haïn söï truy xuaát ñeán boä nhôù.
To SIM Card Memory
Giôùi haïn vieäc truy xuaát ñeán danh saùch soá ñieän thoaïi ñöôïc löu trong boä nhôù theû
SIM.
To Phone Memory
Giôùi haïn vieäc truy xuaát ñeán danh saùch soá ñieän thoaïi ñöôïc löu trong boä nhôù ñieän
thoaïi.
To Phone & SIM Memory
Giôùi haïn vieäc truy xuaát ñeán danh saùch soá ñieän thoaïi ñöôïc löu trong caû boä nhôù
theû SIM vaø boä nhôù ñieän thoaïi.
Fixed Dialling
Tính naêng naøy cho pheùp giôùi haïn vieäc söû duïng ñieän thoaïi baèng caùch chæ goïi ñöôïc
nhöõng soá coù soá hay tieàn toá truøng vôùi nhöõng soá hay tieàn toá ñaõ löu trong danh saùch soá coá
ñònh.
View Fixed Dial List
Trang 23
Tuyø choïn duøng ñeå xem caùc muïc ñaõ ñöôïc löu trong danh saùch soá coá ñònh.
Trang 24
Laäp Trình Web Vôùi Visual Basic
Show BatteryMetter
Restrict My
- Show ID On Next Call
Phone Number
- Restrict ID On Next Call
Call Diverting - Divert When
- Divert Voice Calls
Unavailable
- Divert Fax Calls
- Divert All
- Divert Data Calls
Talk and Fax Voice Calls
- Cancel All Diverting
- Detailed
Call Waiting Diverting
Call Barring
- Bar Outgoing
- Int’l Calls
Calls
- Int’l Calls Except Home
Key Answer Only - All Calls
- Off
- Bar Incoming
- When Roaming
Calls
- All Calls
- Off
- Cancel All Barring
- Change Bar Password
Trang 25
Call Diverting
Tính naêng naøy duøng ñeå chuyeån cuoäc goïi ñeán ñeán nhöõng soá ñieän thoaïi khaùc khi ñieän
thoaïi cuûa baïn khoâng hoaït ñoäng, hoaëc khi baïn khoâng muoán nhaän cuoäc goïi ñoù.
Divert Voice Calls
Chuyeån cuoäc goïi
Divert When Unavailable
Chuyeån taát caû caùc cuoäc goïi ñeán ñeán moät soá ñieän thoaïi khaùc moãi khi ñieän thoaïi
cuûa baïn khoâng hoaït ñoäng.
Divert All Voice Calls
Chuyeån taát caû caùc cuoäc goïi ñeán ñeán moät soá ñieän thoaïi khaùc maø khoâng theo moät
ñieàu kieän naøo caû.
Detailed Diverting
Tính naêng naøy duøng ñeå chæ ñònh chuyeån nhöõng cuoäc goïi ñeán ñeán nhöõng soá khaùc
nhau
If Busy
Chuyeån cuoäc goïi ñeán neáu ñieän thoaïi cuûa baïn ñang baän.
If Not Reachable
Chuyeån cuoäc goïi ñeán neáu ñieän thoaïi cuûa baïn khoâng theå tieáp xuùc ñöôïc bôûi
maïng.
If No Answer
Chuyeån cuoäc goïi ñeán neáu baïn khoâng muoán traû lôøi.
Call Waiting
Quy ñònh caùch maø maùy seõ baùo hieäu khi coù moät cuoäc goïi ñang chôø. Noù coù 2 tuøy choïn :
On vaø Off.
Call Barring
Laø moät tính naêng maïng duøng cho vieäc chaën cuoäc goïi.
Trang 26
Laäp Trình Web Vôùi Visual Basic
Trang 27
3. Menu Messages
Messages
Call Voicemail
Outgoing Message List - Send Message
Messages - Edit Message - Send Message
- Delete Message - Store Message
- Go To Next Message
Message Editor
- Send Message
- Store Message
Cell Broadcast
- On
- Off
Message Settings
- Voicemail Number
- Service Centre
- Expiry Period
- Outgoing Massege Type
Call VoiceMail
Tuøy choïn seõ laøm moät cuoäc goïi ñeán soá hoäp thö thoaïi hieän taïi.
Outgoing Messages
Duøng ñeå xem vaø quaûn lyù baát kyø tin nhaén göûi ñi. Nhöõng tin nhaén naøy ñöôïc löu treân theû
SIM.
Send Message
Duøng ñeå theâm vaøo soá ñieän thoaïi, nôi ñeán cuûa tin nhaén.
Enter Number
Duøng caùc phím soá nhaäp vaøo soá ñieän thoaïi ñích, vaø göûi tin nhaén ñi theo soá ñieän
thoaïi naøy.
Find Entry by Name
Tìm soá ñieän thoaïi theo teân ñaõ löu trong danh baï ñieän thoaïi vaø göûi tin nhaén ñi
theo soá ñieän thoaïi naøy.
Find Entry by Location
Tìm soá ñieän thoaïi theo vò trí ñaõ löu trong danh baï ñieän thoaïi vaø göûi tin nhaén ñi
theo soá ñieän thoaïi naøy.
Edit Message
Hieäu chænh tin nhaén ñaõ choïn hay taïo moät tin nhaén môùi.
Trang 28
Laäp Trình Web Vôùi Visual Basic
Send Message
Göûi tin nhaén vöøa môùi hieäu chænh.
Store Message
Löu laïi tin nhaén sau khi hieäu chænh.
Delete Message
Xoaù tin nhaén ñang xem hieän taïi.
Go to Next Message
Hieån thò tin nhaén keá tieáp.
Message Editor
Hieäu chænh tin nhaén ñaõ choïn hay taïo moät tin nhaén môùi.
Send Message
Göûi tin nhaén vöøa môùi hieäu chænh.
Store Message
Löu laïi tin nhaén sau khi hieäu chænh.
Cell Broadcast
Dòch vuï phaùt thanh. Noù coù 2 tuøy choïn : On vaø Off.
Message Settings
Caøi ñaët tin nhaén.
Voicemail Number
Duøng ñeå nhaäp vaøo soá ñieän thoaïi, laø soá ñöôïc duøng trong muïc “Call Voicemail”.
Service Centre
Tröôùc khi baïn göûi ñi baát kyø tin nhaén naøo, baïn phaûi duøng tuøy choïn naøy ñeå nhaäp vaøo
soá cuûa trung taâm dòch vuï tin nhaén.
Expiry Period
Duøng ñeå chæ ñònh khoaûng thôøi gian toái ña maø nhöõng tin nhaén chöa ñöôïc göûi ñi, ñöôïc
löu laïi treân trung taâm dòch vuï tin nhaén tröôùc khi bò xoùa.
Outgoing Message Type
Chæ ñònh daïng thöùc cuûa caùc tin nhaén göûi ñi. Ta coù theå choïn töø caùc daïng thöùc nhö
Text, Fax, Voice….
Trang 29
4. Menu Phone Setup
Phone Setup
Phone Lock
- Automatic Lock
- Lock Now - On
Change SIM PIN2 Code - Change Unlock Code - Off
New Security Code
Extended Menus
- On
Show Time and Date - Off
Set Time and Date
Set Time Format
Battery Saving Mode
- On
- Off
Select Keypad Tone
- Normal Tones
- Single Tone
- No Tones
Phone Setup
Caøi ñaët ñieän thoaïi.
Ring or Vibrate
Chæ ñònh caùch baùo hieäu maø maùy seõ thöïc hieän khi coù moät cuoäc goïi ñeán.
Trang 30
Laäp Trình Web Vôùi Visual Basic
Ring Only
Maùy seõ phaùt ra tieáng chuoâng theo theo ñieäu ñaõ ñöôïc chæ ñònh trong muïc “Set
Ringer Tone”
Vibrate Only
Maùy chæ rung khi coù moät cuoäc goïi ñeán.
Vibrate Then Ring
Maùy seõ rung hai laàn vaø sau ñoù laø tieáng chuoâng.
No Ring or Vibrate
Maùy chæ baùo hieäu baèng caùch hieån thò thoâng baùo “Call”.
Phone Lock
Duøng ñeå thieát laäp, thay ñoåi maõ môû khoùa maùy
Automatic Lock
Töï ñoäng khoùa maùy moãi khi baät coâng taéc môû maùy.
Lock Now
Tuøy choïn naøy seõ khoùa maùy ngay laäp töùc. Khi ñoù maùy seõ khoâng söû duïng ñöôïc cho
ñeán khi nhaäp ñuùng maõ môû khoùa.
Change Unlock Code
Thay ñoåi maõ môû khoùa maùy.
Extened Menus
Duøng ñeå taét, môû menu môû roäng. Neáu tuøy choïn naøy ôû traïng thaùi taét, baïn khoâng theå
duøng ñöôïc baát kyø tính naêng môû roäng naøo.
Trang 31
Set Time Format
Laø moät tính naêng môû roäng, thieát laäp daïng thöùc hieån thò giôø cuûa maùy (daïng 12h hoaëc
24h)
Trang 32
Laäp Trình Web Vôùi Visual Basic
Network
Selection
Change
- Change to 900/1800
Band
- Change to 900
- Change to 1800
Available
- Register Now
Network
- Make Preferred
Network
- Registration
Search - Automatic Search
Preferences
- M anual Search
- Frequency
- Slow Search
Of Search
- M edium Search
- Fast Search
- Continuous Search
Preferred
- Add Network
Networks - Choose From Available
To List
- Choose From Known
- Show List - Add New Network Code
Of Networks
Find New - Move To New Location
Network - Delete Selection
Network Selection
Choïn maïng hoaït ñoäng. Ñeå laøm vaø nhaän nhöõng cuoäc goïi, maùy cuûa baïn phaûi ñaêng kyù
vôùi moät trong nhöõng maïng ñang hoaït ñoäng.
Change Band
Choïn baêng taàn hoaït ñoäng.
Change to 900/1800
Chuyeån sang daõy baêng taàn 900/1800
Change to 900
Chuyeån sang daõy baêng taàn 900
Change to 1800
Chuyeån sang daõy baêng taàn 1800
Available Networks
Tính naêng naøy seõ queùt ñeå tìm nhöõng maïng naøo ñang hoaït ñoäng ôû vò trí hieän taïi cuûa
baïn.
Trang 33
Register Now
Ñaêng kyù vôùi maïng baïn ñaõ choïn
Make Preferred
Löu laïi vò trí cuûa maïng ñaõ choïn trong danh saùch nhöõng maïng öu tieân.
Network Search
Tìm maïng.
Registration Preferences
Chæ ñònh caùch thöùc maùy seõ laøm theá naøo ñeå ñaêng kyù vôùi moät maïng.
Automatic Search
Töï ñoäng tìm vaø ñaêng kyù vôùi moät maïng.
Manual Search
Tìm vaø ñaêng kyù vôùi moät maïng baèng caùch thuû coâng.
Frequency of Search
Chæ ñònh ñieän thoaïi cuûa baïn phaûi chôø bao laâu tröôùc khi noù coá gaéng ñaêng kyù laïi sau
khi vieäc ñaêng kyù tröôùc ñoù ñaõ thaát baïi.
Slow Search
Medium Search
Fast Search
Continuous Search
Preferred Networks
Danh saùch nhöõng maïng öu tieân.
Add Network To List
Theâm maïng ñaõ choïn vaøo trong danh saùch nhöõng maïng öu tieân.
Choose From Available
Choïn maïng töø danh saùch nhöõng maïng ñang hoaït ñoäng ôû vò trí hieän taïi cuûa baïn.
Choose From Known
Choïn maïng töø taäp hôïp danh saùch nhöõng maïng ñaõ ñöôïc ñònh nghóa töø tröôùc.
Trang 34
Laäp Trình Web Vôùi Visual Basic
Automatic Handsfree
- On
- Off
Safety Timer
- On
- Off
Auxiliary Alert
- On
- Off
Accessory Setup
Thieát laäp nhöõng thieát bò ñính keøm.
Automatic Answer
Khi ñöôïc choïn, maùy seõ töï ñoäng traû lôøi khi coù moät cuoäc goïi ñeán sau 2 laàn chuoâng.
Automatic Handsfree
Chuyeån cuoäc ñaøm thoaïi baèng caùch duøng tai nghe vaø speaker.
Safety Timer
Auxiliary Alert
Ñeøn hieäu seõ nhaáp nhaùy khi coù moät cuoäc goïi ñeán.
Trang 35
7. Menu Quick Access
1 - Find Name?
2 - Add to SIM?
3 - Call Voicemail?
4 - Battery Meter?
5 - Show Time/Date?
6 - Adjust Ring?
8 - Vibrate On/Off?
9 - Change Band?
Trang 36
Laäp Trình Web Vôùi Visual Basic
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>mot</title>
<style>
<!--
-->
</style>
</head>
<body background="bg4gride.gif">
<p><img src="Welhome4.gif" width="190" height="76" alt="Welhome4.gif (56575
bytes)"></p>
<p align="center">
<img src="motorola.jpg" width="229" height="70" alt="motorola.bmp (48214
bytes)">
<img src="cd928.jpg" width="98" height="59" alt="cd928.bmp (17518 bytes)"></p>
<p align="left">
<font color="#004080">
</font>
<font face="VNI-Present" color="#000000">
<big><strong><big>Ñieän thoaïi nhoû cho theá giôùi lôùn</big></strong></big><br>
</font><font face="VNI-Vari">Moät ñieän thoaïi - nhieàu phong caùch - cd928 chính
laø söï theå hieän caù tính cuûa baïn</font></p>
<table border="1" width="87%" height="228">
<tr>
<td width="23%" height="63"><img src="0thkhao.gif" width="106"
height="36"></td>
<td width="133%" height="63"><font face="VNI-Times">Vôùi caáu truùc caây menu, cho
baïn moät caùi nhìn khaùi quaùt veà toaøn boä caáu truùc nhöõng tính naêng ñöôïc xaây döïng trong
maùy <big><font color="#FF0000">cd928</font></big>.</font></td>
<td width="21%" height="63"><a href="file:///C:/LV/chung.htm"><img src="0go.gif"
width="27" height="31" alt="click here de xem trang tham khao"
border="0"></a></td>
</tr>
<tr>
<td width="23%" height="67"><img src="Help.jpg" width="104" height="35"></td>
Trang 37
<td width="133%" height="67"><font face="VNI-Times">Vôùi nhöõng höôùng daãn tæ mæ,
roõ raøng, baïn seõ deã daøng tieáp caän caùch laøm theá naøo ñeå söû duïng nhöõng tính naêng cuûa
maùy <font color="#FF0000"><big>cd928</big></font>.</font></td>
<td width="21%" height="67"><a href="file:///C:/LV/chung.htm">
<img src="0go.gif" width="27" height="31" alt="click here de xem phan huong dan"
border="0"></a></td>
</tr>
<tr>
<td width="23%" height="42"><img src="SUDUNG.gif" width="105"
height="31"></td>
<td width="133%" height="42"><font face="VNI-Times">Moâ phoûng cuûa maùy
<big><font color="#FF0000">cd928</font></big>, cho baïn caûm giaùc nhö ñang söû
duïng moät maùy ñieän thoaïi thaät söï.</font></td>
<td width="21%" height="42"><a href="file:///C:/LV/chung.htm"><img src="0go.gif"
width="27" height="31" alt="click here de vao trang su dung" border="0"></a></td>
</tr>
<tr>
<td width="23%" height="32">
<img src="Maila.gif" width="100" height="32"></td>
<td width="133%" height="32">
<font face="VNI-Times">Xin chaân thaønh caûm ôn nhöõng ñoùng goùp cuûa caùc baïn.
</font></td>
<td width="21%" height="32"><a href="mailto:e9708155@dithcmut.edu.vn">
<img src="0go.gif" width="27" height="31" alt="click here de gui mail cho toi"
border="0"></a></td>
</tr>
</table>
<p align="center"><br>
<img src="3hand.gif" width="32" height="32" alt="3hand.gif (2453 bytes)">
<img src="0website.gif" width="100" height="30" alt="0website.gif (2635 bytes)">
<font face="VNI-Times"><br>
<a href="http://motorola.com">http://motorola.com</a></font></p>
<p align="left"> </p>
<p align="left"> </p>
<table border="1" width="660">
<tr>
<td width="100%"> </td>
</tr>
</table>
</body>
</html>
Trang 38
Laäp Trình Web Vôùi Visual Basic
Trang 39
Call Waiting<br>
<a href="use-phonebook.htm#call bar">Call Baring</a><br>
<a href="use-phonebook.htm#key answer">Key Answer Only
</a></small></p>
<p><font color="#FF0000">
<a name="messages">Messages<br>
</a></font><small>
<a href="use-phonebook.htm#call voicemail">Call Voicemail
</a><br>
<a href="use-phonebook.htm#outgoing msg">Outgoing Messages</a><br>
<a href="use-phonebook.htm#msg editor">Message Editor</a><br>
Cell Broadcast<br>
<a href="use-phonebook.htm#msg setting">Message Settings</a></small></p>
<p><font color="#FF0000"><a name="setup">Phone Setup<br>
</a></font><small>
<a href="use-phonebook.htm#line">Select Phone Line</a><br>
<a href="use-phonebook.htm#volume">Adjust Ring Volume</a><br>
<a href="use-phonebook.htm#ring">Ring Or Vibrate</a><br>
<a href="use-phonebook.htm#ringer">Set Ringer Tone</a><br>
<a href="use-phonebook.htm#tone2">Set Ringer Tone 2</a></small><br>
<small>
<a href="use-phonebook.htm#lock">Phone Lock</a><br>
<a href="use-phonebook.htm#code">New Security Code</a><br>
<a href="use-phonebook.htm#extended">Extended Menus</a><br>
<a href="use-phonebook.htm#show">Show Time and Date</a><br>
<a href="use-phonebook.htm#set">Set Time Format</a><br>
<a href="use-phonebook.htm#battery">Battery Saving Mode</a><br>
Trang 40
Laäp Trình Web Vôùi Visual Basic
<a href="use-phonebook.htm#keypad">Select Keypad Tones</a><br>
</small><br>
<font color="#FF0000">Network Selection<br>
</font>
<a href="use-phonebook.htm#change band"><small>Change Band</small></a>
<br>
<small>
<a href="use-phonebook.htm#avail network">Available Network</a></small><br>
<small>
<a href="use-phonebook.htm#find network">Network Search</a></small><br>
<small>
<a href="use-phonebook.htm#prefer network">Preferred Networks</a></small><br>
<small>
<a href="use-phonebook.htm#find new">Find New Network</a>
</small>
</p>
<p><a href="use-phonebook.htm#quick access">
<font color="#0000FF">Quick Access Menu</font></a></p>
<p><a href="motorola_cd928__________________.htm" target="_top">
<img src=home.gif width="54" height="50" alt="click here de tro ve trang chinh"
border="0"></a></p>
<table border="1" width="100%">
<tr>
<td width="100%"> </td>
</tr>
</table>
<p><br>
</p>
</body>
</html>
Trang 41
</a></font><small><font face="VNI-Times" color="#000000">(Personal Number)
<br> Laø moät menu con ñöôïc duøng ñeå taïo vaø quaûn lyù danh
saùch caùc soá ñieän thoaïi caù nhaân. Ñeå vaøo muïc naøy, duøng caùc phím cuoän
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)"> ,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</font><font face="VNI-Times" color="#000000"> cuoän ñeán muïc "
<strong>Phone Book</strong>", nhaán
</font><font face="VNI-Times">
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
2 laàn ñeå vaøo menu con cuûa muïc "
<strong>Personal Number</strong>"<br>
<a href="use-phonebook.htm#find-name">Find Entry By Name
</a> (tìm soá ñieän thoaïi theo teân)
<br>
<a href="use-phonebook.htm#find-location">Find Entry By Location
</a> (tìm soá ñieän thoaïi theo vò trí)<br>
<a href="use-phonebook.htm#add-entry">Add Entry
</a> (theâm vaøo soá ñieän thoaïi môùi)<br>
<a href="use-phonebook.htm#check-capacity">Check Capacity
</a> (Kieåm tra söùc chöùa)</small><br>
<small>
<a href="file:///C:/Lv/use-phonebook.htm#prevent">Prevent Access
</a>(Ngaên ngöøa truy nhaäp)</small><br>
</font><small>
<font face="VNI-Times">Duøng caùc phím cuoän ñeå ñeán haïng muïc caàn choïn. Nhaán
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå choïn. Baám
phím <img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">
ñeå thoaùt ra.</font></small></p>
<hr>
<p><font face="VNI-Times" color="#FF0000">
<a name="nhap-ky-tu">Caùch nhaäp moät kyù töï</a></font><small><br>
<font face="VNI-Times">
Duøng caùc phím soá ñeå nhaäp kyù töï. Ví duï : khi baám phím soá
</font><img src="5.jpg" width="24" height="17" alt="5.bmp (1734 bytes)">
<font face="VNI-Times">laàn ñaàu tieân thì noù seõ hieån thò kyù töï J. Nhaán phím naøy laàn
nöõa seõ thay baèng chöõ K, ...hieån thò soá 5.<br>
Baám vaø giöõ baát kyø moät phím seõ chuyeån taát caû caùc kyù töï thaønh
chöõ thöôøng, laëp laïi thao taùc naøy seõ chuyeån taát caû laïi thaønh chöõ hoa.<br>
Ta coù theå duøng phím
Trang 42
Laäp Trình Web Vôùi Visual Basic
Trang 43
<p><font face="vni-times" color="#FF0000">
<a name="find-location">Tìm moät soá ñieän thoaïi theo vò trí </a><small><br>
</font><font face="vni-times" color="#000000">(Find Entry by Location)</font>
</small>
<ol>
<li><small><font face="VNI-Times">Duøng caùc phím cuoän
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)"> ñeå cuoän
ñeán muïc "
<strong>Phone Book</strong>",
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> 2 laàn ñeå vaøo
menu con cuûa muïc
<strong>Personal Number</strong>. Duøng phím
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
ñeå cuoän ñeán muïc "tìm soá ñieän thoaïi theo vò trí",
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">.
</font></small></li>
<li><small><font face="VNI-Times">Maøn hình hieån thò thoâng baùo
"<strong>Enter Location</strong>
", nhaäp vaøo vò trí cuûa soá ñieän thoaïi caàn tìm. Khi ñoù, maùy seõ tìm vaø hieån thò teân
cuûa soá ñieän thoaïi phuø hôïp.</font></small></li>
<li><small>
<font face="VNI-Times">Duøng caùc phím cuoän ñeå hieån thò nhöõng muïc lieàn keá noù.
</font></small></li>
<li><small><font face="VNI-Times">Khi tìm ñöôïc soá mong muoán, nhaán
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå vaøo menu
con<br>
-<strong> Call Number</strong> (goïi soá ñieän thoaïi naøy)<br>
-<strong> Modify Name or Number</strong> (söûa teân hoaëc soá ñieän thoaïi)<br>
-<strong> Erase Name and Number</strong> (Xoùa teân vaø soá ñieän thoaïi)
</font></small></li>
</ol>
<p><small><font face="VNI-Times">Duøng caùc phím cuoän ñeå di chuyeån giöõa
nhöõng muïc naøy. Nhaán
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå choïn. Baám
phím
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)"> ñeå
thoaùt ra.</font></small></p>
<hr>
<p><font face="vni-times" color="#FF0000">
<a NAME="add-entry">Theâm vaøo soá ñieän thoaïi môùi</a> <small><br>
Trang 44
Laäp Trình Web Vôùi Visual Basic
Trang 45
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)"> ñeå cuoän
ñeán muïc "
<strong>Phone Book</strong>",
<img src="ok.jpg" width="28" height="17"alt="ok.bmp (1902 bytes)"> 2 laàn ñeå vaøo
menu con cuûa muïc Personal Number.Tieáp tuïc duøng phím cuoän ñeå cuoän ñeán
muïc "Kieåm tra söùc chöùa"
<strong>[Check Capacity</strong>],
<img src="ok.jpg" width="28" height="17"alt="ok.bmp (1902 bytes)">.</small><br>
<small>2. Duøng caùc phím cuoän ñeå choïn vò trí "Kieåm
tra söùc chöùa cuûa maùy ñieän thoaïi"
[<strong>Check Phone Capacity</strong>]hay
"Kieåm tra söùc chöùa cuûa theû SIM"
[<strong>Check SIM apacity</strong>],baám
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">. Maøn hình
seõ hieän thoâng baùo "XX Unused Location".</small></font></p>
<hr>
<p><font face="VNI-Times">
<a name="prevent"><font color="#FF0000">Ngaên ngöøa truy nhaäp</font><br>
</a><small>(Prevent Access)</small><br>
<small> Ngaên ngöøa khoâng cho truy nhaäp vaøo nhöõng muïc ñaõ
ñöôïc löu trong boä nhôù, trong theû SIM hay caû hai.</small><br>
<small>1. Duøng caùc phím
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)"> (phím
cuoän) ñeå cuoän ñeán muïc "
<strong>Phone Book</strong>",
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> 2 laàn ñeå vaøo
menu con cuûa muïc
<strong>Personal Number</strong>. Tieáp tuïc duøng phím cuoän ñeå cuoän ñeán muïc
"Ngaên ngöøa truy nhaäp "
[<strong>Prevent Access</strong>],
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">.<br>
2. Duøng caùc phím cuoän ñeå tuøy choïn nhöõng muïc
"Khoâng giôùi haïn truy nhaäp"
[<strong>No Memory Restrictions</strong>],
"Giôiù haïn truy nhaäp ñeán theû SIM"
[<strong>To SIM Card Memory</strong>],
"Giôùi haïn truy nhaäp ñeán boä nhôù maùy"
[<strong>To Phone Memory</strong>],
hay giôùi haïn caû hai, boä nhôù vaø theû SIM
Trang 46
Laäp Trình Web Vôùi Visual Basic
Trang 47
<strong>Fixed Dialling</strong>", nhaán
<small><img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small><br> . Tieáp tuïc duøng phím cuoän ñeå di chuyeån ñeán muïc
<strong>View Fixed Dial List</strong> . Muoán choïn nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">, </small>ñeå
thoaùt ra duøng phím <small>
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">
</small></font></small><br>4. <small>
<font face="VNI-Times">Duøng phím cuoän ñeå duyeät qua danh saùch caùc soá trong
<strong>Fixed Dial List</strong> . Khi baïn ñaõ tìm thaáy soá baïn caàn, nhaán
<small><img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå laøm cuoäc goïi.</font></small></p>
<hr>
<p><font color="#FF0000">
<a name="setup fixed"><font face="VNI-Times">Thieát laäp soá coá ñònh</font>
<big><br>
</big></a></font><font face="VNI-Times"><small>(Setup Fixed Dialling)</small>
<br><small>Baïn duøng tuøy choïn naøy ñeå chuyeån
<strong>Fixed Dialling</strong> ôû möùc
<strong>On</strong> hay <strong>Off</strong> vaø duøng ñeå theâm hay thay
ñoåi nhöõng muïc trong danh saùch
<strong>Fixed Dial</strong>.</small></font><br>
<small><font face="VNI-Times">Baïn phaûi nhaäp vaøo maõ PIN2 (maëc ñònh laø 13579)
khi baïn choïn muïc naøy. </font></small> </p>
<p><small><font face="VNI-Times">1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)"></small>
(phím cuoän)<small> </small>ñeå di chuyeån ñeán muïc
<strong>Phone Book</strong>, nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>2.
<font face="VNI-Times">Nhaán phím</small>
<small>cuoän<small> </small>ñeå vaøo muïc "
<strong>Fixed Dialling</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>.
<br>3. Tieáp tuïc duøng phím cuoän ñeå di chuyeån ñeán muïc "
<strong>Setup Fixed Dialling</strong>". Muoán choïn nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">,
</small>ñeå thoaùt ra duøng phím<small>
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">
</small></small></font>.<br>4.
Trang 48
Laäp Trình Web Vôùi Visual Basic
Trang 49
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc
<strong>Phone Book</strong>, nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>2.
<font face="VNI-Times">Tieáp tuïc duøng phím cuoän ñeå vaøo muïc
"<strong>One-Touch Dial Setting</strong>
". Nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå vaøo menu con</small><br>
<font color="#400000"><small>
<strong>To Phone Memory</strong></small></font><br>
<small> Cho vaøo boä nhôù ñieän thoaïi</small>
(<small>nhöõng vò trí töø 1 ñeán 9)</small><br>
<small><font color="#FF0000"> </font>
<font color="#400000"><strong>To SIM Memory</strong></font></small>
<font color="#FF0000"><br>
</font><small> Cho vaøo boä nhôù theû SIM </small>
(<small>nhöõng vò trí töø 101 ñeán 109)</small><br>
<small><font color="#FF0000"> </font>
<font color="#400000"><strong>To Fixed Dial List</strong></font></small>
<font color="#FF0000"><br>
</font><small> Cho vaøo danh saùch Fixed Dial </small>
(<small>nhöõng vò trí töø 1 ñeán 9)</small><br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa nhöõng muïc naøy. Nhaán
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå choïn. Baám
phím
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)"> ñeå
thoaùt ra.</small></font></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="call related">Caùc ñaëc ñieåm veà cuoäc ñieän thoaïi<big><br>
</big></a></font><small>(Call Related Features)</small></font></p>
<p><font face="VNI-Times">Duøng ñeå thay ñoåi, thieát laäp caáu hình cuûa nhöõng tính
naêng lieân quan ñeán cuoäc goïi.</font></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="show battery">Hieän ñoàng hoà pin<br>
</a></font><small>(Show Bttery Meter)</small><br>
<small>Hieån thò ñoàng hoà cho bieát möùc naêng löôïng coøn laïi cuûa pin</small></font>
</p><p><font face="VNI-Times"><small>1. Duøng caùc phím <small>
Trang 50
Laäp Trình Web Vôùi Visual Basic
Trang 51
<a name="call divert">Chuyeån cuoäc goïi</a><big><big><br>
</big></big></font><small>(Call<small>
</small>Diverting)</small><br>
<small>Ñaây laø moät tính naêng maïng , neáu ñieän thoaïi cuûa baïn khoâng coù gía trò hay baïn
khoâng muoán nhaän cuoäc goïi, nhöõng cuoäc goïi ñeán seõ ñöôïc chuyeån ñeán nhöõng soá ñieän
thoaïi khaùc</small><br>
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20"
alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc
"<strong>Call Related Features</strong>
", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>2.
<font face="VNI-Times">Tieáp tuïc duøng phím cuoän ñeå ñeán muïc "
<strong>Call Diverting</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
</small> <small>ñeå vaøo menu con.</small><br>
<small>
<a href="#divert voice">Divert Voice Calls</a> (chuyeån cuoäc goïi)<br>
<a href="#divert fax">Divert Fax Calls</a> (chuyeån cuoäc nhaän baèng fax)<br>
<a href="#divert data">Divert Data Calls</a> (chuyeån cuoäc nhaän baèng döõ lieäu)<br>
<a href="#cancel divert">Cancel All Diverting</a> (huûy toaøn boä chöùc naêng chuyeån)
</small><br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa caùc muïc naøy, nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå choïn. </small></font></p>
<hr>
<p><font face="VNI-Times"><a name="divert voice">
<font color="#FF0000">Chuyeån cuoäc goïi</font><br>
</a><small>(Divert Voice Calls)</small></font></p>
<p><small><font face="VNI-Times">1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>ñeå di chuyeån ñeán muïc
"<strong>Call Related Features</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
Trang 52
Laäp Trình Web Vôùi Visual Basic
</small></font><br>2.
<font face="VNI-Times">Tieáp tuïc duøng phím cuoän ñeå vaøo muïc "
<strong>Call Diverting</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
</small> <small>2 laàn ñeå vaøo muïc "
<strong>Divert Voice Calls</strong>".</small><br>
<small>3. Nhaán phím <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå vaøo menu con</small><br>
<small>
<strong> Divert When Unavailable</strong> (Chuyeån khi khoâng ñaùp)</small>
<br>
<small>
<strong>Divert All Voice Calls</strong> (chuyeån taát caû)</small><br>
<small>
<strong>Detail Diverting</strong> (chuyeån theo loaïi)</small><br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa nhöõng muïc naøy. Nhaán
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå choïn. Baám
phím <img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">
ñeå thoaùt ra.</small></font></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="divert fax">Chuyeån cuoäc nhaän baèng Fax<big><br>
</big></a></font><small>(Diver Fax Calls)</small></font></p>
<p><font face="VNI-Times">
<small>Duøng ñeå chuyeån taát caû nhöõng cuoäc nhaän baèng Fax ñeán moät soá ñieän thoaïi
ñôn.</small><br>
<small>Muïc naøy coù 2 tuøy choïn On vaø Off. Neáu baïn thay ñoåi ôû möùc On, baïn phaûi nhaäp
vaøo soá ñieän thoaïi nôi chuyeån ñeán</small>.<br>
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc
"Call Related Features", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>2.
<font face="VNI-Times">Nhaán caùc phím</small>
<small>cuoän ñeå vaøo muïc "Call Diverting", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
</small>.<br>
<small>3</small>. <small>Tieáp tuïc</small> <small>duøng caùc phím <small>
Trang 53
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small> ñeå vaøo muïc
"Divert Fax Calls".
<small> </small>Nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå choïn.</small></font></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="divert data">Chuyeån cuoäc nhaän baèng döõ lieäu<big><br>
</big></a></font><small>(Diver Data Calls)</small></font></p>
<p><font face="VNI-Times">
<small>Duøng ñeå chuyeån taát caû nhöõng cuoäc nhaän baèng Fax ñeán moät soá ñieän thoaïi ñôn.
</small><br>
<small>Muïc naøy coù 2 tuøy choïn On vaø Off. Neáu baïn thay ñoåi ôû möùc On, baïn phaûi nhaäp
vaøo soá ñieän thoaïi nôi chuyeån ñeán</small>.<br>
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc "
<strong>Call Related Features</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
</font><br> 2.
<font face="VNI-Times">Nhaán caùc phím<small>
</small>cuoän ñeå vaøo muïc "
<strong>Call Diverting</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>.
</small><br>
<small>3</small>. <small>Tieáp tuïc</small>
<small>duøng caùc phím cuoän ñeå vaøo muïc "
<strong>Divert Data Calls</strong>".<small> </small>Nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå choïn.</small></font></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="cancel divert">Huyû boû toaøn boä chöùc naêng chuyeån<br>
</a></font><small>(Cancel All Diverting)</small></font></p>
<p><font face="VNI-Times"><small>Chöùc naêng naøy cho pheùp baïn huûy chöùc
naêng chuyeån nhöõng cuoäc goïi ñeán.</small> <br>
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
Trang 54
Laäp Trình Web Vôùi Visual Basic
<hr>
Trang 55
<small>Tính naêng naøy coù 2 cheá ñoä On vaø Off. Neáu ñöôïc thieát laäp ôû möùc On, maùy seõ
baùo hieäu khi coù moät cuoäc goïi ñang chôø.</small><br>
</font><small>
<font face="VNI-Times">1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän)<small>
</small>ñeå di chuyeån ñeán muïc "
<strong>Call Related Features</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>
2.
<font face="VNI-Times">Tieáp tuïc duøng caùc phím cuoän ñeå ñeán muïc "
<strong>Call Waiting</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå choïn.</font></small></p>
<hr>
<p><font face="VNI-Times">
<a name="call bar"><font color="#FF0000">Chaën cuoäc goïi<big><br>
</big></font></a><small>(Call Barring)</small></font></p>
<p><font face="VNI-Times">
<small>Laø moät tính naêng maïng, coù theå duøng ñeå chaën nhöõng cuoäc goïi ñi hay nhöõng
cuoäc goïi ñeán.</small><br>
<small>Moãi khi baïn thay ñoåi
vieäc ngaên chaën, baïn phaûi nhaäp vaøo maõ chaën cuoäc goïi (maëc ñònh laø 6789).
</small><br>
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän)<small>
</small>ñeå di chuyeån ñeán muïc "
<strong>Call Related Features</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br> 2.
<font face="VNI-Times">Tieáp tuïc duøng
phím cuoän ñeå vaøo muïc "
<strong>Call Barring</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>.</small><br>
Trang 56
Laäp Trình Web Vôùi Visual Basic
<hr>
Trang 57
<small><small>4. </small> Nhaán phím <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>2 laàn ñeå vaøo menu con cuûa muïc "
<strong>Bar Outgoing Calls</strong>". </small><br>
<small> <font color="#400000">
<strong>Int'l Calls</strong></font></small><br>
<small> Chaën nhöõng cuoäc goïi ñi quoác teá</small><br>
<strong><small><font color="#FF0000"> </font>
<font color="#400000">Int'l Calls Expect Home</font></small>
<font color="#FF0000"><br>
</font></strong><small>
Chaën nhöõng cuoäc goïi quoác teá ngoaïi tröø ñaát nöôùc cuûa baïn.</small><br>
<strong><small><font color="#FF0000"> </font>
<font color="#400000">All Calls</font></small>
<font color="#FF0000"><br>
</font></strong>
<small> Chaën taát caû nhöõng cuoäc goïi.</small><br>
<small>
<font color="#400000"><strong>Off</strong></font></small><br>
<small>
Khi ñöôïc choïn, maùy seõ trôû veà cheá ñoä bình thöôøng (khoâng chaën cuoäc goïi)
</small><br>
<br>
<small>Duøng caùc phím cuoän<small>
</small>ñeå di chuyeån giöaõ caùc muïc trong menu con, nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå
choïn.</small>
</small></font></p>
<hr>
Trang 58
Laäp Trình Web Vôùi Visual Basic
2.
<font face="VNI-Times">Tieáp tuïc duøng phím cuoän ñeå vaøo muïc "
<strong>Call Barring</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>.</small><br>
<small>3. Nhaäp vaøo maõ chaën cuoäc goïi</small>, <small>nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small><br>
<small>4<small>. </small>Duøng caùc phím cuoän ñeå di chuyeån ñeán
muïc "
<strong>Bar Incoming Calls</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå vaøo menu con</small><br>
<strong><font color="#400000">
<small> When Roaming</small></font>
<font color="#FF0000"><br>
</font></strong><small>
Chaën nhöõng cuoäc goïi ñeán khi baïn ñang roaming</small><br>
<strong><font color="#400000"><small>
All Calls</small></font>
<font color="#FF0000"><br>
</font></strong>
<small> Chaën taát caû nhöõng cuoäc goïi ñeán.</small><br>
<strong><font color="#400000"><small> Off</small></font>
<font color="#FF0000"><br>
</font></strong>
<small> Khi ñöôïc choïn, maùy seõ trôû veà cheá ñoä bình thöôøng
(khoâng chaën cuoäc goïi)</small></font></p>
<p><font face="VNI-Times">
<small>Duøng caùc phím cuoän ñeå di chuyeån giöaõ caùc muïc trong menu con,
nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"> ñeå
choïn.</small></small></font></p>
<hr>
Trang 59
<small>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc "
<strong>Call Related Features</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>
2.
<font face="VNI-Times">Tieáp tuïc duøng phím <small>
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>, <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">
</small> ñeå ñeán muïc"
<strong>Call Barring</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>.</small><br>
<small>3. Nhaäp vaøo maõ chaën cuoäc goïi</small>,
<small>nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small><br>
<small>4<small>.
</small>Duøng caùc phím cuoän<small>
</small>ñeå di chuyeån ñeán muïc "
<strong> Cancel All Barring</strong>", nhaán
<small><img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå hoaøn thaønh taùc vuï.</small></font></p>
<hr>
Trang 60
Laäp Trình Web Vôùi Visual Basic
<font face="VNI-Times">Tieáp tuïc duøng phím cuoän ñeå ñeán muïc "
<strong>Call Barring</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>.</small><br>
<small>3. Nhaäp vaøo maõ chaën cuoäc goïi</small>, <small>nhaán
<small><img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small><br>
<small>4<small>.
</small>Duøng caùc phím cuoän ñeå di chuyeån ñeán muïc "
<strong> Change Bar Password</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
.</small><br>
<small>5. Nhaäp vaøo maõ hieän taïi (maëc ñònh laø 6789)</small><br>
<small>6. Nhaäp vaøo maõ môùi (4 con soá) nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> <small>ñeå hoaøn thaønh taùc vuï.</small></font></p>
<hr>
Trang 61
<hr>
<hr>
<p><font face="VNI-Times">
<span style="font-family: VNI-Times"><font color="#FF0000">
<a name="volume">Ñieàu chænh aâm löôïng chuoâng<br>
</a></font><small>(Adjust Ring Volume)<br>
Thieát laäp aâm löôïng cuûa tieáng chuoâng khi coù moät cuoäc goïi ñeán<br>
Trang 62
Laäp Trình Web Vôùi Visual Basic
<hr>
Trang 63
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå vaøo muïc "
<strong>Ring or Vibrate</strong>"<br>
3. Duøng caùc phím cuoän ñeå chuyeån ñoåi giöõa caùc muïc quot;
<strong>Ring Only</strong>" (chæ chuoâng), "
<strong>Vibrate Only</strong>" (chæ rung), "
<strong>Vibrate then Ring</strong>" (rung tröôùc chuoâng sau), hay "
<strong>No Ring or Vibrate</strong>" (khoâng chuoâng, khoâng rung). Muoán
choïn nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">,
</small>ñeå thoaùt ra duøng phím <small>
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">.
</small></font></small></p>
<hr>
<p><font face="VNI-Times"><font color="#FF0000">
<a name="ringer">Ñaët tieáng chuoâng<br>
</a></font><small>(Set Ringer Tone)
<br>Xaùc ñònh loaïi tieáng chuoâng moãi khi coù moät cuoäc goïi ñeán<br>
1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän) ñeå di chuyeån ñeán muïc "
<font color="#400000">
<strong>Phone Setup</strong></font>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>
2.
<font face="VNI-Times">Nhaán caùc phím cuoän ñeå ñeán muïc
"<strong><font color="#400000">Set Ringer Tone</font>
</strong>" , <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
<br>
3. Tieáp tuïc duøng caùc phím<small> </small>cuoän ñeå chuyeån ñoåi giöõa caùc muïc
"<font color="#400000">
<strong>Standard Tone</strong></font>"
(tieáng chuaån), "<strong>
<font color="#400000">Music Tone</font>
</strong>"(tieáng nhaïc). Muoán choïn nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">,
</small>ñeå thoaùt ra duøng phím <small>
Trang 64
Laäp Trình Web Vôùi Visual Basic
<hr>
<hr>
Trang 65
Duøng ñeå thieát laäp, thay ñoåi maõ môû khoùa moãi khi ñieän thoaïi bò khoùa. Maõ maëc ñònh cuûa
noù laø "1234" vaø coù theå thay ñoåi ñöôïc.
<br>
</span>1. Duøng caùc phím <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small>(phím cuoän)<small>
</small>ñeå di chuyeån ñeán muïc <font color="#400000">
<strong>Phone Setup</strong></font>, nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></font><br>
2.
<font face="VNI-Times">Nhaán caùc phím cuoän ñeå ñeán muïc"
<font color="#400000"><strong>Phone Lock</strong>
</font>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> <br>
3. Tieáp tuïc duøng caùc phím cuoän<small>
</small>ñeå chuyeån ñoåi giöõa caùc muïc "<font color="#400000">
<strong>Automatic Lock</strong></font>" (töï ñoäng khoùa maùy moãi khi môû
maùy), "<font color="#400000">
<strong>Lock Now</strong></font>" (khoùa maùy ngay laäp töùc), hoaëc
"<font color="#400000">
<strong>Change Unlock Code</strong></font>" (thay ñoåi maõ môû
khoùa). Muoán choïn nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">, </small>ñeå
thoaùt ra duøng phím <small>
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">.
</small></font></small></p>
<hr>
Trang 66
Laäp Trình Web Vôùi Visual Basic
<hr>
Trang 67
<hr>
<hr>
Trang 68
Laäp Trình Web Vôùi Visual Basic
2.
<font face="VNI-Times">Tieáp tuïc duøng caùc phím cuoän ñeå ñeán muïc "
<strong>Set Time and Date</strong>", <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)"></small>
<br>
3. Maøn hình seõ hieån thò thoâng baùo "<strong>Enter Time</strong>".
Thôøi gian nhaäp vaøo phaûi ôû daïng thöùc 24h. Tieáp ñoù laø thoâng baùo nhaéc nhôû nhaäp vaøo
ngaøy "<strong>Enter Date</strong>". Muoán löu caáu hình nhaán
<small><img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">,
</small>ñeå thoaùt ra duøng phím <small>
<img src="cancel.jpg" width="17" height="19" alt="cancel.bmp (1526 bytes)">
</small> </font></small></p>
<hr>
Trang 69
<hr>
<hr>
Trang 70
Laäp Trình Web Vôùi Visual Basic
<hr>
<p><a name="messages">
<font color="#FF0000">Tin Nh</font>
<font face="VNI-Times" color="#FF0000">aén<br>
</font></a><font face="VNI-Times"><small>(Messages)
<br>Duøng ñeå soaïn thaûo tin nhaén, xem noäi dung tin nhaén, thieát laäp hoaëc thay ñoåi caùc
caáu hình lieân quan ñeán tin nhaén.</small></font></p>
Trang 71
</small></font>. Khi <font face="VNI-Times">ñoù, maùy seõ töï ñoäng quay soá cuûa hoäp
thö thoaïi. Nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> ñeå keát thuùc cuoäc goïi.</font></small></p>
<hr>
Trang 72
Laäp Trình Web Vôùi Visual Basic
<br><small>
<strong><em> Find Entry by Location</em>
</strong> (tìm moät soá ñieän thoaïi ñaõ löu trong boä nhôù theo vò trí)
</small><br>
<small><strong> Store Message</strong> (Löu tin nhaén)</small>
<br><small><strong> Edit Message
</strong> (hieäu chænh tin nhaén)</small><br><small>
<strong> Delete Message</strong> (Xoùa tin nhaén hieån thò hieän taïi)
<br>
<strong> Go to Next Message</strong> (hieån thò tin nhaén göûi ñi keá
tieáp) </small></font></p>
<hr>
Trang 73
</small> ñeå xoùa tin nhaén vaø baét ñaàu moät tin nhaén môùi, hay hieäu chænh tin nhaén ñang
hieån thò,<small> </small>nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> moãi khi hoaøn thaønh tin nhaén, ñeå vaøo caùc tuøy choïn cuûa noù
</small><br>
<sub><strong> Send Message</strong> (Göûi tin nhaén)<br>
<strong> Store Message</strong> (löu tin nhaén laïi trong danh
saùch nhöõng tin nhaén göûi ñi)</sub><br>
<br>
<small>Ñeå tham khaûo veà caùch nhaäp kyù töï, xin xem muïc "
<a href="#nhap-ky-tu"><small>Caù</small>ch nhaäp kyù tö</a>ï"
</small></font></p>
<hr>
Trang 74
Laäp Trình Web Vôùi Visual Basic
<small>Duøng ñeå chæ ñònh khoaûng thôøi gian toái ña ñeå nhöõng tin nhaén chöa göûi ñi, ñöôïc
löu treân trung taâm dòch vuï tin nhaén tröôùc khi noù ñöôïc göûi ñi. Khi ñöôïc choïn, maøn hình
seõ hieån thò thôøi gian ñaõ chæ ñònh hieän taïi. </small><br>
<strong><small>Outgoing Message Type</small></strong><br>
<small>Duøng ñeå chæ ñònh daïng thöùc cuûa tin nhaén göûi ñi.</small></font></p>
<hr>
<p><small><font face="VNI-Times">Ñeå ñieän thoaïi coù theå nhaän hoaëc laøm moät cuoäc
goïi, noù phaûi ñaêng kyù vôùi moät trong nhöõng maïng coù giaù trò. Nhöõng maïng ñoù coù theå laø
GSM900, GSM1800 hay laø keát hôïp cuûa GSM900/1800. Tính naêng naøy ñöôïc duøng ñeå
choïn maïng hoaït ñoäng, thay ñoåi baêng taàn, hay tìm moät maïng môùi....</font>
</small></p>
Trang 75
<br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa caùc menu con cuûa muïc "
<strong>Change Band</strong>"<small>, </small>nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå choïn</small></font></p>
<hr>
Trang 76
Laäp Trình Web Vôùi Visual Basic
<hr>
<p><font face="VNI-Times">
<small><strong>Frequency of Search</strong></small><br>
<small>Tuøy choïn naøy duøng ñeå quy ñònh maùy seõ chôø bao laâu, tröôùc khi coá gaéng ñaêng
kyù laïi sau khi vieäc ñaêng kyù tröôùc ñoù ñaõ thaát baïi. Tuøy choïn naøy coù nhöõng thieát laäp sau
:<br>
<strong><em>Slow Search</em><br>
<em>Medium Search</em><br>
<em>Fast Search</em><br>
Trang 77
<em>Continuous Search</em></strong></small><br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa caùc menu con<small>,
</small>nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå choïn.</small></font></p>
<hr>
<hr>
Trang 78
Laäp Trình Web Vôùi Visual Basic
<hr>
Trang 79
<strong>Network Selection</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> .<br>
<small>2. Duøng caùc phím cuoän<small>
</small>di chuyeån ñeán muïc "
<strong>Preferred Network</strong>", nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> <small>ñeå vaøo menu con.<br>
3. Tieáp tuïc duøng caùc phím cuoän cuoän ñeán muïc "
<strong>Show List of Networks</strong>", nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> seõ hieån thò danh saùch nhöõng maïng ñaõ ñöôïc löu.
<br> Ñeå duyeät qua danh saùch naøy duøng phím cuoän, nhaán <small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small> seõ choïn muïc hieän taïi vaø ñi vaøo menu con </small><br>
<small><strong>Move to New Location</strong>
<br>Baïn seõ phaûi nhaäp vaøo giaù trò vò trí môùi cuûa maïng ñaõ choïn.<br>
<strong>Delete Selection<br>
</strong>Xoùa maïng ñaõ choïn.</small><br>
<small>Duøng caùc phím cuoän ñeå di chuyeån giöõa caùc menu con<small>,
</small>nhaán<small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small>ñeå choïn.</small></font></p>
<hr>
Trang 80
Laäp Trình Web Vôùi Visual Basic
<hr>
<p><font face="VNI-Times">
<font color="#FF0000">Thieát laäp nhöõng thieát bò ñính keøm</font>
<br>(Accessory Setup Menu)</font></p>
<p> </p>
<p><font face="VNI-Times"><br>
</font><font face="VNI-Times" color="#FF0000">
<a name="quick access">Duøng Menu truy caäp nhanh<br>
</a></font><small>
<font face="vni-times">(Quick Access Menu)</font></small></p>
<p><small><font face="vni-times">Ñaây laø öu ñieåm ñoäc ñaùo cuûa maùy Motorola maø
caùc maùy khaùc khoâng coù ñöôïc. Noù cho pheùp baïn choïn 9 chöùc naêng thöôøng duøng maø
khoâng phaûi raø tìm loøng voøng trong caùc menu. Baèng caùch baám phím</font>
<img src="arrow.jpg" width="20" height="20" alt="arrow.bmp (1954 bytes)">
<font face="VNI-Times">vaø keát hôïp moät trong caùc phím soá töø 1 ñeán 9 ; hoaëc baám
phím </font>
<img src="arrow.jpg" width="20" height="20" alt="arrow.bmp (1954 bytes)">
<font face="VNI-Times">keát hôïp vôùi caùc phím<small> <small>
<img src="up.jpg" width="26" height="20" alt="up.bmp (2550 bytes)">,
<img src="down.jpg" width="28" height="20" alt="down.bmp (2262 bytes)">
</small></small> (phím cuoän) ñeå tìm chöùc naêng. Baám <small><small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> ñeå choïn.
<br>Baïn cuõng coù theå thieát keá laïi menu truy caäp nhanh ôû treân cho phuø hôïp vôùi yù thích.
Motorola ñöa ra ñeán 20 chöùc naêng thoâng duïng ñeå baïn choïn laáy 9 chöùc naêng.<br>
* Caùch laøm nhö sau :<br>Baám </font>
<img src="arrow.jpg" width="20" height="20" alt="arrow.bmp (1954 bytes)">
<font face="VNI-Times">vaø duøng phím cuoän hay duøng phím soá cuoän ñeán vò trí maø
baïn muoán ñoåi, baám vaø giöõ phím <small><small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> moät luùc, maøn hình seõ hieån thò danh saùch caùc chöùc naêng, tieáp tuïc
duøng caùc phím cuoän ñeå tìm chöùc naêng maø baïn thích. Baám <small><small>
<img src="ok.jpg" width="28" height="17" alt="ok.bmp (1902 bytes)">
</small></small> khi muoán choïn.Chöùc naêng môùi seõ ñöôïc thay theá vaøo vò trí
ñoù.</font>
</small></p>
Trang 81
<p align="center"><a href="use-phonebook.htm">
<img src="backtop.gif" width="196"height="31" alt="backtop.gif (754
bytes)"></a></p>
<p><font face="VNI-Times"><br>
</font></p>
</body>
</html>
Private Type access 'khai bao access la mot kieu ban ghi
feature As String * 16 'luu giu ten tinh nang trong menu quick access
thutu As Integer
End Type
Dim found As Boolean 'la true khi tim thay entry can tim
Const filename3 = "c:\menuquickaccess.lst"
Const filename = "c:\entryphone.lst"
Const filename1 = "c:\entrysim.lst"
Const filename2 = "c:\entryprevent.lst"
Const filename4 = "c:\messages.lst"
Const filetam = "c:\filetam.lst"
Const filename5 = "c:\filenetwork.list"
Trang 82
Laäp Trình Web Vôùi Visual Basic
Trang 83
Dim listdial As Boolean 'bien co dung de di chuyen giua nhung muc trong danh sach
Fixed Dial
Dim editentrylist As Boolean 'bien dung trong muc edit entry cua Fixed dial
Dim eraseentrylist As Boolean 'bien dung trong muc edit entry cua Fixed dial
Dim addentrylist As Boolean 'bien dung trong Add Entry cua Fixed Dialling
Dim callbarring As Boolean 'bien dung trong muc Call Barring
Dim barpassword As String 'luu ma chan cuoc goi
Dim showtime As Boolean
Dim luumuc As Integer 'luu muc trong menu quick access
aftermouseup = Time
starttime = aftermouseup - aftermousedown
If Second(starttime) > 2 Then
'xu ly khi user nhan va giu phim OK de vao bang chuc nang trong Quick Access
If Index = 13 And thu = True Then
If volume.Visible = True Then
volume.Visible = False
tbnhap.Visible = True
Frame1.Height = 500
Frame1.Width = 1800
End If
Trang 84
Laäp Trình Web Vôùi Visual Basic
showtime = False
tbnhap.Text = "Find by Name"
Image2.Visible = False
st = tbnhap.Text
longpress = True
cancle = True
danhso = False
Exit Sub
End If
'xu ly cua muc chuyen chu hoa thanh chu thuong trong khi nhap chu
If changecase = True Then
If switch = False Then
k = InStr(tbnhap.Text, vbLf)
st = LCase(Mid(tbnhap.Text, k + 1))
st1 = tbnhap.Text
Mid(st1, k + 1) = st
tbnhap.Text = Left(st1, Len(st1) - 1)
switch = True
Exit Sub
Else
k = InStr(tbnhap.Text, vbLf)
st = UCase(Mid(tbnhap.Text, k + 1))
st1 = tbnhap.Text
Mid(st1, k + 1) = st
tbnhap.Text = Left(st1, Len(st1) - 1)
switch = False
Exit Sub
End If
End If
'xu ly khi nhan va giu phim cancle de xoa va bat dau tin nhan moi
If Index = 10 And editor = True Then 'messagelist = True Then
tbnhap.Text = ""
danhso = False
cancle = False
taomoi = True
messagelist = False
Exit Sub
End If
Trang 85
'xu ly cua phan One-touch Dial Setting
If onetouchphone = True Then
danhso = False
Select Case Index
Case 1
Call onetouch(1)
Case 2
Call onetouch(2)
Case 3
Call onetouch(3)
Case 4
Call onetouch(4)
Case 5
Call onetouch(5)
Case 6
Call onetouch(6)
Case 7
Call onetouch(7)
Case 8
Call onetouch(8)
Case 9
Call onetouch(9)
End Select
Else
danhso = True
Exit Sub
End If
Else
Exit Sub
End If
End Sub
Trang 86
Laäp Trình Web Vôùi Visual Basic
Trang 87
Exit Sub
End If
Trang 88
Laäp Trình Web Vôùi Visual Basic
'**************phim so 1*****************
Case 1
Trang 89
'user dung phim so trong menu quick access
If quickaccess = True Then
luumuc = clickquickaccess(1)
orderinquick = 1
Exit Sub
End If
'**************phim so 2******************
Trang 90
Laäp Trình Web Vôùi Visual Basic
Case 2
'user dung phim so trong menu quick access
If quickaccess = True Then
luumuc = clickquickaccess(2)
orderinquick = 2
Exit Sub
End If
'****************phim so 3***************
Case 3
'user dung phim so trong menu quick access
If quickaccess = True Then
luumuc = clickquickaccess(3)
orderinquick = 3
Exit Sub
End If
Trang 91
'user dung phim so trong menu message
If messagelist = True Then
Call clickmessage(3)
Exit Sub
End If
'***************phim so 4****************
Case 4
'user dung phim so trong menu quick access
If quickaccess = True Then
luumuc = clickquickaccess(4)
orderinquick = 4
Exit Sub
End If
Trang 92
Laäp Trình Web Vôùi Visual Basic
Trang 93
tbnhap.Text = Left(tbnhap.Text, n - 1) & "K"
i=i+1
Case 2
n = Len(tbnhap.Text)
tbnhap.Text = Left(tbnhap.Text, n - 1) & "L"
i=i+1
Case 3
n = Len(tbnhap.Text)
tbnhap.Text = Left(tbnhap.Text, n - 1) & "5"
'i = 0
End Select
Trang 94
Laäp Trình Web Vôùi Visual Basic
n = Len(tbnhap.Text)
tbnhap.Text = Left(tbnhap.Text, n - 1) & "6"
'i = 0
End Select
Trang 95
End Select
Trang 96
Laäp Trình Web Vôùi Visual Basic
orderinquick = 9
Exit Sub
End If
Trang 97
If locked = True Or autolocked = True Then
Exit Sub
End If
'se thoat ra muc Phone Setup khi dang lam viec voi menu con cua no
If setup = True Then
tbnhap.Text = "Phone Setup"
setup = False
Exit Sub
End If
Trang 98
Laäp Trình Web Vôùi Visual Basic
Trang 99
tbnhap.Text = "Messages"
message1 = False
messagelist = False
Exit Sub
End If
Trang 100
Laäp Trình Web Vôùi Visual Basic
danhso = True
Exit Sub
End If
Trang 101
danhso = False
changecase = False
'Exit Sub
Else
If tbnhap.Text = "Menu" Then
Beep
Else
tbnhap.Text = Left(tbnhap.Text, n - 1)
Exit Sub
End If
End If
End If
Trang 102
Laäp Trình Web Vôùi Visual Basic
Trang 103
If tbnhap.Text = "Find Entry by Name" Then
tbnhap.Text = "Prevent Access"
Exit Sub
End If
Trang 104
Laäp Trình Web Vôùi Visual Basic
End If
Trang 105
tbnhap.Text = " Add Entry"
Exit Sub
End If
'phan xu ly khi vao menu con cua muc One-Touch Dial Setting
If tbnhap.Text = " To SIM Memory" Then
tbnhap.Text = " To Phone Memory"
Exit Sub
End If
Trang 106
Laäp Trình Web Vôùi Visual Basic
Trang 107
'vao menu con cua muc Call Diverting
If tbnhap.Text = "Divert Voice Calls" Then
tbnhap.Text = "Cancel All Diverting"
Exit Sub
End If
Trang 108
Laäp Trình Web Vôùi Visual Basic
End If
Trang 109
Exit Sub
End If
Trang 110
Laäp Trình Web Vôùi Visual Basic
Trang 111
If tbnhap.Text = "Store Message" Then
tbnhap.Text = " Send Message"
Exit Sub
End If
Trang 112
Laäp Trình Web Vôùi Visual Basic
'phan xu ly khi dung phim menu de di chuyen giua nhung tin nhan
If messagelist = True Then
Open filename4 For Random As #1 Len = Len(message)
banghi = LOF(1) \ Len(message)
Trang 113
If messagenumber = 1 Then
Get #1, banghi, message
tbnhap.Text = Trim(message.tin)
messagenumber = banghi
Else
messagenumber = messagenumber - 1
Get #1, messagenumber, message
tbnhap.Text = Trim(message.tin)
End If
Close #1
Exit Sub
End If
Trang 114
Laäp Trình Web Vôùi Visual Basic
Trang 115
End If
Trang 116
Laäp Trình Web Vôùi Visual Basic
Trang 117
If tbnhap.Text = " On " Then
tbnhap.Text = " Off "
Exit Sub
End If
Trang 118
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 119
If tbnhap.Text = "Preferred Networks" Then
tbnhap.Text = "Network Search"
Exit Sub
End If
Trang 120
Laäp Trình Web Vôùi Visual Basic
Trang 121
End If
Trang 122
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 123
Close #1
Exit Sub
Else
orderinquick = orderinquick - 1
Get #1, orderinquick, menuaccess
tbnhap.Text = Trim(menuaccess.feature)
luumuc = menuaccess.thutu
Close #1
Exit Sub
End If
End If
'vao nhung tinh nang trong Quick Access khi nhan va giu phim OK
If longpress = True Then
quickaccess = False
showtime = False
If tbnhap.Text = "Find by Location" Then
tbnhap.Text = "Find by Name"
st = "Find Name?"
luumuc = 1
Exit Sub
End If
Trang 124
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 125
luumuc = 14
Exit Sub
End If
'phan xu ly khi dung phim menu de di chuyen giua cac muc con
If found = True Then
Call menu_upswitchentry
End If
'khi dung phim menu de di chuyen giua nhung muc trong Fixed Dial
If listdial = True Then
Trang 126
Laäp Trình Web Vôùi Visual Basic
Call menu_uplistdial
End If
Trang 127
'********** phim menu-down ************
Case 12
If tbnhap.Text = "Menu" Then
tbnhap.Text = "Phone Book"
cancle = True
danhso = False
Exit Sub
End If
Trang 128
Laäp Trình Web Vôùi Visual Basic
Trang 129
'vao menu con cua muc Prevent Access
If tbnhap.Text = "No Memory Restrictions" Then
tbnhap.Text = "To SIM Card Memory"
Exit Sub
End If
Trang 130
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 131
If tbnhap.Text = "Setup Fixed Dialling" Then
tbnhap.Text = "View Fixed Dial List"
Exit Sub
End If
Trang 132
Laäp Trình Web Vôùi Visual Basic
Trang 133
End If
Trang 134
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 135
tbnhap.Text = "Int'l Calls Expect Home"
Exit Sub
End If
Trang 136
Laäp Trình Web Vôùi Visual Basic
Trang 137
'vao menu con cua muc Send Message
If tbnhap.Text = " Enter Number" Then
tbnhap.Text = " Find Entry by Name"
Exit Sub
End If
Trang 138
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 139
Else
messagenumber = messagenumber + 1
Get #1, messagenumber, message
tbnhap.Text = Trim(message.tin)
End If
Close #1
Exit Sub
End If
Trang 140
Laäp Trình Web Vôùi Visual Basic
Trang 141
End If
Trang 142
Laäp Trình Web Vôùi Visual Basic
Trang 143
If tbnhap.Text = " On " Then
tbnhap.Text = " Off "
Exit Sub
End If
Trang 144
Laäp Trình Web Vôùi Visual Basic
Trang 145
If tbnhap.Text = "Network Search" Then
tbnhap.Text = "Preferred Networks"
Exit Sub
End If
Trang 146
Laäp Trình Web Vôùi Visual Basic
Trang 147
Exit Sub
End If
Trang 148
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 149
Exit Sub
End If
Close #1
End If
Trang 150
Laäp Trình Web Vôùi Visual Basic
Trang 151
End If
'khi dung phim menu de di chuyen giua nhung muc trong Fixed Dial
If listdial = True Then
Call menu_downlistdial
End If
Trang 152
Laäp Trình Web Vôùi Visual Basic
st = networks.mang
Close #1
Else
tam1 = 1
Get #1, 1, networks
tbnhap.Text = networks.mang
st = networks.mang
Close #1
End If
Exit Sub
End If
'khi dung phim menu de di chuyen trong danh sach preferred network
If showlist = True Then
Open filename6 For Random As #1 Len = Len(networks)
banghi = LOF(1) \ Len(networks)
tam1 = tam1 + 1
If tam1 <= banghi Then
Get #1, tam1, networks
tbnhap.Text = networks.mang
st = networks.mang
Else
tam1 = 1
Get #1, 1, networks
tbnhap.Text = networks.mang
st = networks.mang
End If
Close #1
Exit Sub
End If
Trang 153
If tbnhap.Text = "Personal Number" Then
tbnhap.Text = "Find Entry by Name"
Exit Sub
End If
Trang 154
Laäp Trình Web Vôùi Visual Basic
quickaccess = False
tbnhap.Text = " Enter Location" & vbCrLf
cancle = True 'False
danhso = True 'False
luumuc = 0
phonebook = False
Exit Sub
End If
Trang 155
phonebook = True 'False
Exit Sub
End If
Trang 156
Laäp Trình Web Vôùi Visual Basic
Timer1.Interval = 3000
callnumber = False
phonebook = False
End If
End If
Trang 157
End If
Trang 158
Laäp Trình Web Vôùi Visual Basic
found = False
menucon = False
tbnhap.Text = "Add To Phone Memory"
Exit Sub
End If
Trang 159
cancle = True
danhso = True
changecase = False
Exit Sub
End If
End If
Trang 160
Laäp Trình Web Vôùi Visual Basic
danhso = False
Exit Sub
End If
'ghi vao trong Fixed Dial List
Call add_entry(st, nu, lo, swit)
Else
If swit = False Then
'ghi vao trong SIM
If lo < 100 Or lo > 255 Then
tbnhap.Text = "Range 101-255"
danhso = False
Exit Sub
End If
Call add_entry(st, nu, lo, swit)
Call sapthutu
Call prevent_access(prevent)
Exit Sub
Else
'ghi vao trong bo nho
If lo = 0 Or lo > 100 Then
tbnhap.Text = "Range 1-100"
danhso = False
Exit Sub
End If
Call add_entry(st, nu, lo, swit)
Call sapthutu
Call prevent_access(prevent)
Exit Sub
End If
End If
End If
End If
Trang 161
If tbnhap.Text = "Check Capacity" Then
tbnhap.Text = "Check Phone Capacity"
Exit Sub
End If
Trang 162
Laäp Trình Web Vôùi Visual Basic
prevent = 3
tbnhap.Text = "Enter Security Code" & vbCrLf
danhso = True
Exit Sub
End If
Trang 163
tbnhap.Text = "View Fixed Dial List"
danhso = False
cancle = True
Exit Sub
End If
Trang 164
Laäp Trình Web Vôùi Visual Basic
If st = pin2code Then
tbnhap.Text = "On."
phonebook = True 'False
danhso = False
cancle = True
Else
tbnhap.Text = "Not Match."
danhso = False
End If
Exit Sub
End If
Trang 165
End If
Trang 166
Laäp Trình Web Vôùi Visual Basic
onetouchphone = True
Exit Sub
End If
Trang 167
End If
Trang 168
Laäp Trình Web Vôùi Visual Basic
Trang 169
k = InStr(tbnhap.Text, vbLf)
If Len(Mid(tbnhap.Text, k + 1)) <> 4 Then
tbnhap.Text = " Enter 4 Digit"
danhso = False
Else
barpassword = Mid(tbnhap.Text, k + 1)
tbnhap.Text = "Completed"
End If
Exit Sub
End If
Trang 170
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 171
tbnhap.Text = "Call Voicemail"
message1 = True
Exit Sub
End If
Exit Sub
End If
Trang 172
Laäp Trình Web Vôùi Visual Basic
End If
Exit Sub
End If
Trang 173
End If
Trang 174
Laäp Trình Web Vôùi Visual Basic
taomoi = False
Open filename4 For Random As #1 Len = Len(message)
banghi = LOF(1) \ Len(message)
Get #1, messagenumber, message
tbnhap.Text = Trim(message.tin)
danhso = False
cancle = False
editor = True
message1 = False
Close #1
Exit Sub
End If
Trang 175
messagelist = True
Close #1
Exit Sub
End If
Trang 176
Laäp Trình Web Vôùi Visual Basic
tbnhap.Text = servicecentre
danhso = True
cancle = True
setting = True
service = True
message1 = False
Exit Sub
End If
Trang 177
setting = False
Exit Sub
End If
End If
Trang 178
Laäp Trình Web Vôùi Visual Basic
line2 = False
setup = False
Exit Sub
End If
If tbnhap.Text = "Line 2" Then
tbnhap.Text = "Completed"
quickaccess = False
line2 = True
setup = False
Exit Sub
End If
Trang 179
'vao menu con cua muc Ring or vibrate
If tbnhap.Text = "Ring or Vibrate" Then
tbnhap.Text = "Ring Only"
Exit Sub
End If
If luumuc = 9 And quickaccess = True Then
If longpress = True Then
Exit Sub
End If
quickaccess = False
luumuc = 0
If Image7.Visible = False Then
Image7.Visible = True
Else
Image7.Visible = False
End If
danhso = False
cancle = True
tbnhap.Text = "Completed"
Exit Sub
End If
Trang 180
Laäp Trình Web Vôùi Visual Basic
tbnhap.Text = "Completed"
setup = False
Exit Sub
End If
Trang 181
luumuc = 0
Exit Sub
End If
Trang 182
Laäp Trình Web Vôùi Visual Basic
Else
unlocked = Mid(tbnhap.Text, k + 1)
tbnhap.Text = "Completed"
danhso = False
setup = False
Exit Sub
End If
End If
Trang 183
setup = False
End If
Exit Sub
End If
'xu ly cua phan New Security Code
If tbnhap.Text = "New Security Code" Then
tbnhap.Text = "Current Code" & vbCrLf
danhso = True
setup = False
Exit Sub
End If
Trang 184
Laäp Trình Web Vôùi Visual Basic
End If
setup = False
quickaccess = False
luumuc = 0
Exit Sub
End If
Trang 185
If Not IsDate(Mid(tbnhap.Text, j + 1)) Then 'k < 1 Or k > 24 Then
tbnhap.Text = "Invalid Time"
cancle = True
danhso = False
Exit Sub
Else
newtime = Mid(tbnhap.Text, j + 1)
tbnhap.Text = "Enter Date" & vbCrLf
End If
Exit Sub
End If
Trang 186
Laäp Trình Web Vôùi Visual Basic
Trang 187
End If
Trang 188
Laäp Trình Web Vôùi Visual Basic
Exit Sub
End If
Trang 189
Exit Sub
End If
Trang 190
Laäp Trình Web Vôùi Visual Basic
k = InStr(tbnhap.Text, vbLf)
lo = Val(Mid(tbnhap.Text, k + 1))
If lo = 0 Then
tbnhap.Text = "New Location?" & vbCrLf
Exit Sub
End If
Call movenew(tam1, lo)
network = False
showlist = False
End If
Trang 191
If addnetwork = True Then
availablenetwork = False
tbnhap.Text = " Location?" & vbCrLf
danhso = True
cancle = True
addnetwork = False
network = False
Exit Sub
End If
Trang 192
Laäp Trình Web Vôùi Visual Basic
network = False
danhso = False
Exit Sub
End If
Trang 193
If tbnhap.Text = "Auxiliary Alert" Then
tbnhap.Text = "On"
Exit Sub
End If
'truong hop user nhap vao mot so de lam mot cuoc goi
If IsNumeric(tbnhap.Text) = True And sending = False Then
st = tbnhap.Text
If Len(tbnhap.Text) < 7 Then
If tbnhap.Text = "1080" Or tbnhap.Text = "113" Or tbnhap.Text = "114" Or
tbnhap.Text = "115" Then
cancall = False
Else
cancall = True
End If
If send = True Then
sending = True
send = False
End If
End If
danhso = False
cancle = True
tbnhap.Text = "Calling" '" Call Number"
Image2.Visible = True
callnumber = True
Trang 194
Laäp Trình Web Vôùi Visual Basic
End If
'truong hop user nhap vao so dien thoai co format khong phu hop
If tbnhap.Text = "Connecting Failed" Then
tbnhap.Text = "Menu"
Exit Sub
End If
Trang 195
End Select
Else
'xu ly cua phan Adjust Ring Volume
If advolume = True Then
i=i+1
If vol < 7 Then
Select Case i
Case 3, 6, 9, 12, 15, 18, 21
vol = vol + 1
volume.Picture = volume1(vol).Picture
End Select
Else
Beep
End If
Exit Sub
End If
End If
Trang 196
Laäp Trình Web Vôùi Visual Basic
Trang 197
messagelist = False
taomoi = False
editor = False
availablenetwork = False
addnetwork = False
Open filename3 For Random As #1 Len = Len(menuaccess)
Get #1, 1, menuaccess
tbnhap.Text = Trim(menuaccess.feature)
orderinquick = 1
luumuc = menuaccess.thutu
quickaccess = True
phonebook = False
thu = True
danhso = False
cancle = False
Close #1
Exit Sub
End Select
End Sub
Trang 198
Laäp Trình Web Vôùi Visual Basic
news.location = lo
banghi = banghi + 1
If addentrylist = True Then
Put #1, banghi, news
Else
If flag = True Then
Put #1, banghi, news
Else
Put #1, banghi, news
End If
End If
addentrylist = False
listdial = False
tbnhap.Text = "Stored" & Str(lo)
Close #1
End Sub
'**** THU TUC TIM VI TRI SE GHI MOT MUC KHI USER KHONG NHAP VAO
LOCATION ****
Private Function add_lo(co As Boolean) As Integer
Dim news As entry
Dim banghi As Byte
Dim j As Integer
Dim i As Integer
Dim timthay As Boolean
If co = True Then
i=1
If addentrylist = True Then
Open filefixed For Random As #1 Len = Len(news)
Else
Open filename For Random As #1 Len = Len(news)
End If
banghi = LOF(1) \ Len(news)
If banghi = 0 Then
add_lo = 1
timthay = False
Close #1
Else
timthay = True
End If
Trang 199
Do While timthay = True
For j = 1 To banghi
Get #1, j, news
If i = news.location Then
i=i+1
timthay = True
Exit For
Else
If j = banghi Then
add_lo = i
timthay = False
Close #1
Exit Do
End If
End If
Next j
Loop
Else
i = 101
Open filename For Random As #1 Len = Len(news)
banghi = LOF(1) \ Len(news)
If banghi = 0 Then
add_lo = 101
timthay = False
Else
timthay = True
End If
Do While timthay = True
For j = 1 To banghi
Get #1, j, news
If i = news.location Then
i=i+1
timthay = True
Exit For
Else
If j = banghi Then
add_lo = i
timthay = False
Close #1
Exit Do
End If
Trang 200
Laäp Trình Web Vôùi Visual Basic
End If
Next j
Loop
Close #1
End If
End Function
Trang 201
st = news.name
nu = news.number
tbnhap.Text = st & vbCrLf & nu
Close #1
flag = True
Exit Sub
'truong hop ten nhap vao khong trung voi ten da luu
For i = 1 To banghi
Get #1, i, news
If StrComp(Left(news.name, 1), Left(ten, 1)) = 0 Then
found = True
vitri = i
st = news.name
nu = news.number
st1 = news.name
tbnhap.Text = st & vbCrLf & nu
flag = True
Close #1
Exit Sub
End If
Next i
Trang 202
Laäp Trình Web Vôùi Visual Basic
'truong hop ten nhap vao khong tin thay, lay entry dau tien
Get #1, 1, news
st1 = news.name
st = news.name
nu = news.number
tbnhap.Text = st & vbCrLf & nu
found = True
flag = True
vitri = 1
Close #1
End Sub
Trang 203
Dim news1 As entry
Dim j As Integer
Dim banghi As Byte
Dim i As Integer
'found = True
Select Case prevent
Case 1
Open filename For Random As #1 Len = Len(news)
Case 2, 3
Open filename2 For Random As #1 Len = Len(news)
Case 4
tbnhap.Text = "No Number Stored"
Exit Sub
End Select
banghi = LOF(1) \ Len(news)
If banghi = 0 Then
tbnhap.Text = "No Numbers Stored"
Close #1
Exit Sub
End If
If so = 0 Then
Get #1, 1, news
i = news.location
For j = 2 To banghi
Get #1, j, news1
If i > news1.location Then
i = news1.location
vitri = j
Else
vitri = i
End If
Next j
found = True
flag = True
Get #1, vitri, news
st1 = news.name
tbnhap.Text = news.name & vbCrLf & news.number
Close #1
Exit Sub
Else
Trang 204
Laäp Trình Web Vôùi Visual Basic
For j = 1 To banghi
Get #1, j, news
If so = news.location Then
found = True
vitri = j
Exit For
Else
found = False
End If
Next j
If found = True Then
st1 = news.name
tbnhap.Text = news.name & vbCrLf & news.number
Else
tbnhap.Text = "Location Empty"
End If
End If
flag = True
Close #1
End Sub
Trang 205
Close #1
End If
Else
If so <> "" Then
news.number = so
Put #1, cho, news
Close #1
Else
Close #1
End If
End If
If editentrylist = True Then
editentrylist = False
listdial = False
End If
End Sub
Trang 206
Laäp Trình Web Vôùi Visual Basic
Trang 207
Next j
Close #1
Open filename1 For Random As #3 Len = Len(news)
For j = 1 To i
Get #2, j, news
Put #3, j, news
Next j
Close #2
Close #3
Kill filename2
Name filename1 As filename2
Case 3
For j = 1 To banghi
Get #1, j, news
If news.location > 100 Then
i=i+1
Put #2, i, news
End If
Next j
Close #1
Open filename1 For Random As #3 Len = Len(news)
For j = 1 To i
Get #2, j, news
Put #3, j, news
Next j
Close #2
Close #3
Kill filename2
Name filename1 As filename2
End Select
End Sub
Trang 208
Laäp Trình Web Vôùi Visual Basic
Trang 209
If i > news.location Then
i = news.location
vitri = j
Else
vitri = i
End If
Next j
End If
listdial = True
Get #1, vitri, news
st1 = news.name
tbnhap.Text = news.name & vbCrLf & news.number
End If
Close #1
End Sub
Trang 210
Laäp Trình Web Vôùi Visual Basic
Trang 211
If Left(tbnhap.Text, 6) = "Erased" Then
tbnhap.Text = "Menu"
Exit Sub
End If
Trang 212
Laäp Trình Web Vôùi Visual Basic
End If
Trang 213
If tbnhap.Text = " Enter 4 Digit" Then
tbnhap.Text = "New Barring Password" & vbCrLf
danhso = True
Exit Sub
End If
Trang 214
Laäp Trình Web Vôùi Visual Basic
cancall = False
Else
tbnhap.Text = " Connected"
End If
Exit Sub
End If
Trang 215
End If
Trang 216
Laäp Trình Web Vôùi Visual Basic
news.location = news1.location
Put #1, k + 1, news
Next k
news.name = ch
news.number = so
news.location = vitri
Put #1, k + 1, news
Next j
Close #1
Close #2
End Sub
Trang 217
End If
End Sub
Trang 218
Laäp Trình Web Vôùi Visual Basic
Trang 219
End If
Close #1
End Sub
Trang 220
Laäp Trình Web Vôùi Visual Basic
Trang 221
Close #2
tbnhap.Text = "Completed"
Exit Sub
End If
Trang 222
Laäp Trình Web Vôùi Visual Basic
Trang 223
End If
Next j
Do While j < banghi
Get #1, j + 1, networks
Put #2, j, networks
j=j+1
Loop
Close #1
Close #2
Kill filename6
Name filetam As filename6
tbnhap.Text = "Completed"
End Sub
'**** Ham dung phim so trong menu Quick Access *****
Private Function clickquickaccess(so As Integer) As Integer
Dim menuaccess As access
Open filename3 For Random As #1 Len = Len(menuaccess)
Get #1, so, menuaccess
tbnhap.Text = Trim(menuaccess.feature)
clickquickaccess = menuaccess.thutu
'orderinquick = 1
Close #1
End Function
'**** Thu tuc dung phim trong menu Message list
Private Sub clickmessage(so As Integer)
Dim message As messages
Dim banghi As Byte
Open filename4 For Random As #1 Len = Len(message)
banghi = LOF(1) \ Len(message)
If banghi < so Then
tbnhap.Text = "Invalid Msg Number"
messagelist = False
Else
Get #1, so, message
tbnhap.Text = Trim(message.tin)
messagenumber = 2
End If
Close #1
End Sub
Private Sub store_message()
Trang 224
Laäp Trình Web Vôùi Visual Basic
End Sub
Private Sub delete_message()
Dim message As messages
Dim banghi As Byte
Dim j As Integer
Open filename4 For Random As #1 Len = Len(message)
banghi = LOF(1) \ Len(message)
Open filetam For Random As #2 Len = Len(message)
For j = 1 To banghi
If j <> messagenumber Then
Get #1, j, message
Put #2, j, message
Else
Exit For
End If
Next j
Do While j < banghi
Get #1, j + 1, message
Put #2, j, message
j=j+1
Loop
tbnhap.Text = "Deleted"
Close #1
Trang 225
Kill filename4
Close #2
Name filetam As filename4
End Sub
Label2.Caption = Left(Time, 5)
tbnhap.Text = "Menu"
unlocked = "1234"
securitycode = "000000"
voicemailnumber = "4321"
servicecentre = "130"
pin2code = "13579"
expiryperiod = "24"
barpassword = "6789"
volume.Picture = volume1(2).Picture
vol = 3
prevent = 1
Open filename3 For Random As #1 Len = Len(menuaccess)
menuaccess.feature = "Find Name?"
menuaccess.thutu = 1
Put #1, 1, menuaccess
Trang 226
Laäp Trình Web Vôùi Visual Basic
news.name = "HUNG"
news.number = "8570726"
news.location = 101
Put #1, 2, news
Close #1
Trang 227
Open filename5 For Random As #1 Len = Len(networks)
networks.mang = "FPT"
Put #1, 1, networks
networks.mang = "SaigonNet"
Put #1, 3, networks
networks.mang = "VNN"
Put #1, 4, networks
Close #1
Kill filename
Kill filename3
Kill filename4
Kill filename5
Kill filename6
Trang 228
Laäp Trình Web Vôùi Visual Basic
Kill filefixed
End Sub
Trang 229
PHAÀN IV:
KEÁT LUAÄN
Vôùi nhöõng kieán thöùc laõnh hoäi ñöôïc ôû tröôøng vaø söï giuùp ñôõ cuûa caùc Thaày, Coâ trong
khoa coâng ngheä thoâng tin tröôøng Ñaïi Hoïc Kyõ Thuaät Thaønh Phoá Hoà Chí Minh. Vaø söï
höôùng daãn giuùp ñôõ taän tình cuûa thaày Nguyeãn Cao Trí, ñeán ñaây chuùng em xin hoaøn
thaønh luaän vaên cuûa mình.
Tuy luaän vaên hoaøn thaønh chöa ñöôïc lôùn lao gì, nhöng em cuõng hy voïng luaän vaên
naøy cuõng laø moät phaàn taøi lieäu tham khaûo nho nhoû giuùp cho nhöõng ngöôøi hoïc vaø laäp
trình Web vôùi Visual Basic.
Trang 230
Laäp Trình Web Vôùi Visual Basic
PHAÀN V :
TAØI LIEÄU THAM KHAÛO
Kyõ naêng laäp trình Visual Basic 6.0.
Microsoft Developer Network.
Trang 231