+ All Categories
Home > Documents > MCSD Visual Basic 6 Training Guide - New Riders - Hawhee

MCSD Visual Basic 6 Training Guide - New Riders - Hawhee

Date post: 08-Dec-2016
Category:
Upload: hoangthu
View: 216 times
Download: 0 times
Share this document with a friend

If you can't read please download the document

Transcript

MCSD Visual Basic 6 Training Guide - New Riders - Hawhee (ebook)/FlashCards.exe

MCSD Visual Basic 6 Training Guide - New Riders - Hawhee (ebook)/FLASHCARDS.GID

MCSD Visual Basic 6 Training Guide - New Riders - Hawhee (ebook)/FLASHCARDS.HLP

MCSD Visual Basic 6 Training Guide - New Riders - Hawhee (ebook)/MCSD Visual Basic 6 Training Guide - New Riders - Hawhee (ebook).zip

FlashCards.exe

FLASHCARDS.GID

FLASHCARDS.HLP

Practice.exe

PRACTICE.HLP

runfc.EXE

runpe.EXE

runsc.EXE

StudyCards.exe

STUDYCARDS.HLP

TP70175.DBF

QUESTIONANSWERAANSWERBANSWERCANSWERDANSWERECORRANSWERFEEDBACKOBJECTIVEEXHIBFILETOPIC1TOP1HELPTOP1URLCHECKACHECKBCHECKCCHECKDCHECKETOPIC2TOPIC3QANAMETOP1ACROPGTOP2ACROPGTOP3ACROPGTOP2HELPTOP3HELPTOP2URLTOP3URLCHAPTERSELECTNOTEFLASHCARDVALIDVB6GOODQUESTIMODIFIEDEXAMAUTHORQRYREVIEWREQREVIEWED12345BCD6Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFTTTFC95BDD27E52E3CBA1FB15CA59630021Select all that apply.TTTF70-1757TT

89101112B13Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFTFFFC95BDD27E52E3CBA1FB15CA59630021Select the best answer.TTTT70-17514TT

1516171819D20Creating and Managing COM ComponentsChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFFFTFC95BDD27E52E3CBA1FB15CA59630021Select the best answer.TTTF70-175FF

212223242526BE27Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFTFFT52D354BD5CA4B63F9B3CCA52125004Select all that apply.TTTT70-17528TT

2930313233A34Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesTFFFF52D354BD5CA4B63F9B3CCA52125004Select the best answer.TTTF70-17535TT

3637383940D41Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFFFTF52D354BD5CA4B63F9B3CCA52237004Select 1 answer.FTTF70-175FF

42434445460C47Creating User ServicesChapter 11 - Implementing Error-Handling Features in an ApplicationFFTFF2650011Select the best answer.TTTF70-1750FF

48495051520AB53Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesTTFFF52D354BD5CA4B63F9B3CCA52125004Select all that apply.TTTT70-1750FF

5455565758D59Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFFFTF52D354BD5CA4B63F9B3CCA52125004Select 1 answer.TTTF70-175FF

6061626364A65Creating User ServicesChapter 6 - Writing Code that Processes Data Entered on a FormTFFFF52D354BD5CA4B63F9B3CCA52237006Select 1 answer.TTTF70-175FF

6667686970B71Creating User ServicesChapter 6 - Writing Code that Processes Data Entered on a FormFTFFF52D354BD5CA4B63F9B3CCA52237006Select 1 answer.TTTF70-175FF

72737475760C77Creating User ServicesChapter 3 - Implementing Navigational DesignFFTFF52D354BD5CA4B63F9B3CCA52209003Select the best answer.TTTF70-17578TT

79808182830C84Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicFFTFF5090012Select the best answer.TTTF70-1750FF

85868788890ABD90Creating User ServicesChapter 3 - Implementing Navigational DesignTTFTF52D354BD5CA4B63F9B3CCA52683003Select all that apply.TTTT70-1750FF

91929394950C96Creating User ServicesChapter 3 - Implementing Navigational DesignFFTFF52D354BD5CA4B63F9B3CCA52735003Select 1 answer.FTTF70-1750FF

979899100101B102Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFTFFF52D354BD5CA4B63F9B3CCA52125004Select the best answer.TTTF70-175103TT

1041051061071080BC109Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFTTFF797004Select all that apply.TTTF70-1750FF

1101111121131140B115Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFTFFF125004Select all that applyFTTF70-1750FF

1161171181191200C121Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFFTFF98959761BF4012508ACA45CC125004Select 1 answer.TTTF70-1750FF

1221231241251260ABCD127Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesTTTTF98959761BF4012508ACA45CC125004Select all that apply.FTTT70-1750FF

1281291301311320AC133Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesTFTFF98959761BF4012508ACA45CC125004Select all that apply.TTTF70-175134TT

1351361371381390C140Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFFTFF98959761BF4012508ACA45CC125004Select the best answer.TTTF70-1750FF

1411421431441450B146Creating User ServicesChapter 17 - WebClass and DHTML ApplicationsFTFFF7970017Select the best answer.TTTF70-175147TT

1481491501511520B153Creating Data ServicesChapter 8 - Creating Data Services: Part IFTFFF111212FB1A1A48AE2BAD58A1303008Select the best answer.TTTF70-1750FF

1541551561571580D159Creating User ServicesChapter 8 - Creating Data Services: Part IFFFTF111212FB1A1A48AE2BAD58A1303008Select 1 answer.TTTF70-1750FF

1601611621631640BD165Creating User ServicesChapter 8 - Creating Data Services: Part IFTFTF111212FB1A1A48AE2BAD58A1303008Select all that apply.TTTF70-175166TT

1671681691701710B172Creating User ServicesChapter 8 - Creating Data Services: Part IFTFFF111212FB1A1A48AE2BAD58A1303008Select the best answer.TTTF70-175173TT

1741751761771780ACD179Creating Data ServicesChapter 9 - Creating Data Services: Part IITFTTF375009Select all that apply.FTTF70-175180TT

1811821831841850D186Creating User ServicesChapter 8 - Creating Data Services: Part IFFFTF111212FB1A1A48AE2BAD58A1303008Select the best answer.TTTF70-175187TT

1881891901911920B193Creating Data ServicesChapter 8 - Creating Data Services: Part IFTFFF111212FB1A1A48AE2BAD58A1303008Select 1 answer.TTTT70-175194TT

1951961971981990C200Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFTFF375009Select the best answer.TTTF70-175201TT

2022032042052060C207Creating Data ServicesChapter 8 - Creating Data Services: Part IFFTFF111212FB1A1A48AE2BAD58A1303008Select the best answer.TTTT70-175208TT

2092102112122130AC214Creating Data ServicesChapter 8 - Creating Data Services: Part ITFTFF303008Select all that apply.TTTF70-175215TT

2162172182192200BC221Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentFTTFFC95BDD27E52E3CBA1FB15CA54450010Select all that apply.TTTT70-175222TT

2232242252262270BD228Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentFTFTF4450010Select all that apply.FTTF70-175229TT

2302312322332340C235Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentFFTFFC95BDD27E52E3CBA1FB15CA54450010Select the best answer.FTTF70-175236TT

2372382392402410ABC242Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentTTTFFC95BDD27E52E3CBA1FB15CA54450010Select all that apply.TTTF70-175243TT

2442452462472480C249Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentFFTFFC95BDD27E52E3CBA1FB15CA54450010Select the best answer.TTTF70-1750FF

2502512522532540B255Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTFFFC95BDD27E52E3CBA1FB15CA55090012Select the best answer.TTTF70-1750FF

2562572582592600B261Creating User ServicesChapter 9 - Instantiating and Invoking a COM ComponentFTFFF375009Select the best answer.TTTF70-175262TT

2632642652662670B268Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFTFFFC95BDD27E52E3CBA1FB15CA56090013Select 1 answer.TTTF70-1750FF

2692702712722730BC274Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFTTFFC95BDD27E52E3CBA1FB15CA56090013Select all that apply.TTTF70-1750FF

2752762772782790AD280Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsTFFTFC95BDD27E52E3CBA1FB15CA56090013Select all that apply.TTTF70-175281TT

2822832842852860C287Creating User ServicesChapter 14 - Creating an Active DocumentFFTFFC95BDD27E52E3CBA1FB15CA56830014Select the best answer.TTTF70-1750FF

2882892902912920B293Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFTFFFC95BDD27E52E3CBA1FB15CA56830014Select the best answer.TTTF70-1750FF

2942952962972980A299Creating User ServicesChapter 11 - Implementing Error-Handling Features in an ApplicationTFFFFC95BDD27E52E3CBA1FB15CA54770011Select the best answer.TTTF70-1750FF

3003013023033040AC305Creating User ServicesChapter 11 - Implementing Error-Handling Features in an ApplicationTFTFFC95BDD27E52E3CBA1FB15CA54770011Select all that apply.FTTT70-175306TT

3073083093103110B312Creating User ServicesChapter 11 - Implementing Error-Handling Features in an ApplicationFTFFFC95BDD27E52E3CBA1FB15CA54770011Select the best answer.TTTF70-1750FF

3133143153163170C318Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationFFTFFC95BDD27E52E3CBA1FB15CA5265007Select the best answer.TTTF70-175319TT

3203213223233240B325Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesFTFFFC95BDD27E52E3CBA1FB15CA58430018Select the best answer.TTTF70-1750FF

3263273283293300C331Testing the SolutionChapter 19 - Implementing Project Groups to Support the Development and Debugging ProcessFFTFFC95BDD27E52E3CBA1FB15CA58970019Select the best answer.TTTF70-1750FF

3323333343353360C337Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFFTFFC95BDD27E52E3CBA1FB15CA59630021Select the best answer.TTTF70-1750FF

3383393403413420ACD0Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramTFTTFC95BDD27E52E3CBA1FB15CA59630021Select all that apply.TTTF70-175343TF

3443453463473480ABD349Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramTTFTFC95BDD27E52E3CBA1FB15CA59630021Select all that apply.FTTT70-175350TT

3513523533543550BD356Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFTFTFC95BDD27E52E3CBA1FB15CA59630021Select all that apply.TTTT70-175357TT

3583593603613620C363Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFFTFFC95BDD27E52E3CBA1FB15CA59630021Select the best answer.FTTT70-175364TT

365366367368369370B371Creating Data ServicesChapter 9 - Creating Data Services: Part IIFTFFF4BF50A081B19F52347918E988D8B63BE11375009Select the best answer.FTTF70-1750FF

372373374375376377E378Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFFFT4BF50A081B19F52347918E988D8B63BE11375009Select the best answer.TTTF70-1750FF

379380381382383384ACD385Testing the SolutionChapter 19 - Implementing Project Groups to Support the Development and Debugging ProcessTFTTF4BF50A081B19F52347918E988D8B63BE118970019Select all that apply.TTTF70-175386TT

3873883893903910C392Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationFFTFF4BF50A081B19F52347918E988D8B63BE11265007Select the best answer.FTTF70-1750FF

3933943953963970BD398Testing the SolutionChapter 20 - Compiling a VB ApplicationFTFTF4BF50A081B19F52347918E988D8B63BE119170020Select all that apply.FTTF70-1750FF

3994004014024030C404Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFTFF4BF50A081B19F52347918E988D8B63BE116830014Select 1 answer.TTTF70-1750FF

4054064074084090A410Creating User ServicesChapter 11 - Implementing Error-Handling Features in an ApplicationTFFFF4BF50A081B19F52347918E988D8B63BE114770011Select the best answer.TTTF70-1750FF

4114124134144150ABC416Testing the SolutionChapter 20 - Compiling a VB ApplicationTTTFF4BF50A081B19F52347918E988D8B63BE119170020Select all that apply.FTTF70-1750FF

417418419000B420Testing the SolutionChapter 20 - Compiling a VB ApplicationFTFFF4BF50A081B19F52347918E988D8B63BE119170020Select True or False.TTTF70-175421TT

4224234244254260C427Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentFFTFF4450010Select 1 answer.FTTF70-175428TT

429430431432433434AC435Creating User ServicesChapter 10 - Instantiating and Invoking a COM ComponentTFTFF4450010Select all that apply.FTTF70-175436TT

4374384394404410D442Creating User ServicesChapter 3 - Implementing Navigational DesignFFFTF77003Select the best answer.TTTF70-175443TT

4444454464474480A449Creating User ServicesChapter 3 - Implementing Navigational DesignTFFFF77003Select the best answer.TTTF70-1750FF

4504514524534540D455Creating User ServicesChapter 4 - Creating Data Input Forms and Dialog BoxesFFFTF125004Select the best answer.TTTF70-175456TT

4574584594604610C462Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationFFTFF265007Select the best answer.TTTF70-1750FF

4634644654664670CD468Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationFFTTF265007Select all that apply.TTTF70-175469TT

4704714724734740D475Creating User ServicesChapter 12 - Creating a COM Component that Implement Business Rule or LogicFFFTF5090012Select the best answer.TTTF70-175476TT

4774784794804810AD482Creating User ServicesChapter 12 - Creating a COM Component that Implement Business Rule or LogicTFFTF5090012Select all that apply.FTTF70-175483TT

4844854864874880A489Creating User ServicesChapter 5 - Writing Code that Validates User InputTFFFF209005Select the best answer.FTTF70-175490TT

4914924934944950CD496Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFTTF6830014Select all that apply.FTTF70-175497TT

4984995005015020D503Creating User ServicesChapter 14 - Creating an Active DocumentFFFTF6830014Select the best answer.TTTF70-1750FF

5045055065075080C509Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesFFTFF8430018Select the best answer.TTTF70-1750FF

5105115125135140ABCD515Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesTTTTF8430018Select all that apply.FTTF70-1750FF

5165175185195200D521Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesFFFTF8430018Select the best answer.TTTF70-175522TT

5235245255265270C528Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesFFTFF8430018Select the best answer.TTTF70-1750FF

5295305315325330D534Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesFFFTF8430018Select the best answer.TTTF70-1750FF

5355365375385390A540Testing the SolutionChapter 18 - Using VB's Debug/Watch FacilitiesTFFFF8430018Select the best answer.TTTF70-1750FF

541542543544545546D547Testing the SolutionChapter 19 - Implementing Project Groups to Support the Development and Debugging ProcessFFFTF8970019Select the best answer.TTTF70-175548TT

5495505515525530D554Testing the SolutionChapter 19 - Implementing Project Groups to Support the Development and Debugging ProcessFFFTF8970019Select the best answer.TTTF70-175555TT

5565575585595600C561Creating User ServicesChapter 3 - Implementing Navigational DesignFFTFF77003Select the best answer.TTTF70-1750FF

5625635645655660AC567Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsTFTFF6090013Select all that apply.FTTF70-1750FF

5685695705715720C573Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFFTFF6090013Select the best answer.TTTF70-1750FF

5745755765775780D579Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFFFTF6090013Select the best answer.TTTF70-1750FF

5805815825835840C585Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFFTFF6090013Select the best answer.FTTF70-1750FF

5865875885895900B591Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFTFFF6090013Select the best answer.TTTF70-1750FF

5925935945955960BC597Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFTTFF6090013Select all that apply.FTTF70-175598TT

5996006016026030D604Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFFFTF6090013Select the best answer.TTTF70-1750FF

6056066076086090B610Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsFTFFF6090013Select the best answer.TTTF70-1750FF

611612613614615616AD617Creating and Managing COM ComponentsChapter 13 - Creating ActiveX ControlsTFFTF6090013Select all that apply.FTTF70-175618TT

6196206216226230AC624Creating User ServicesChapter 3 - Implementing Navigational DesignTFTFF77003Select all that apply.TTTF70-175625TT

626627628629630631ABDE632Creating User ServicesChapter 3 - Implementing Navigational DesignTTFTT77003Select all that apply.TTTF70-1750FF

6336346356366370B638Creating User ServicesChapter 5 - Writing Code that Validates User InputFTFFF209005Select the best answer.FTTF70-1750FF

6396406416426430D644Creating User ServicesChapter 5 - Writing Code that Validates User InputFFFTF209005Select the best answer.TTTF70-1750FF

6456466476486490B650Creating User ServicesChapter 5 - Writing Code that Validates User InputFTFFF209005Select the best answer.FTTF70-175651TT

6526536546556560A657Creating User ServicesChapter 5 - Writing Code that Validates User InputTFFFF209005Select the best answer.TTTF70-1750FF

6586596606616620D663Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFFTF375009Select the best answer.FTTF70-175664TT

6656666676686690A670Creating Data ServicesChapter 9 - Creating Data Services: Part IITFFFF375009Select the best answer.TTTF70-175671TT

6726736746756760D677Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFFTF375009Select the best answer.TTTF70-175678TT

6796806816826830B684Creating Data ServicesChapter 9 - Creating Data Services: Part IIFTFFF375009Select the best answer.TTTF70-1750FF

6856866876886890BC690Creating Data ServicesChapter 9 - Creating Data Services: Part IIFTTFF375009Select all that apply.FTTF70-175691TT

6926936946956960ACD697Creating Data ServicesChapter 9 - Creating Data Services: Part IITFTTF375009Select all that apply.FTTF70-1750FF

6986997007017020B703Creating Data ServicesChapter 9 - Creating Data Services: Part IIFTFFF375009Select all that apply.FTTF70-175704TT

7057067077087090A710Creating Data ServicesChapter 9 - Creating Data Services: Part IITFFFF375009Select the best answer.FTTF70-175711TT

7127137147157160C717Creating Data ServicesChapter 8 - Creating Data Services: Part IFFTFF303008Select the best answer.TTTF70-1750FF

7187197207217220B723Creating Data ServicesChapter 8 - Creating Data Services: Part IFTFFF303008Select the best answer.TTTF70-175724TT

7257267277287290C730Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFTFF375009Select the best answer.TTTF70-175731TT

7327337347357360A737Creating Data ServicesChapter 9 - Creating Data Services: Part IITFFFF375009Select the best answer.FTTF70-175738TF

7397407417427430C744Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFTFF375009Select the best answer.FTTF70-175745TT

7467477487497500A751Creating Data ServicesChapter 9 - Creating Data Services: Part IITFFFF375009Select the best answer.TTTF70-1750FF

7527537547557560D757Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFFTF375009Select the best answerTTTF70-175758TT

759760761762763764CD765Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFTTF6830014Select all that apply.FTTF70-175766TT

7677687697707710D772Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFFTF6830014Select the best answer.TTTF70-1750FF

7737747757767770C778Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFTFF6830014Select the best answer.FTTF70-1750FF

7797807817827830D784Creating User ServicesChapter 14 - Creating an Active DocumentFFFTF6830014Select the best answer.FTTF70-1750FF

7857867877887890C790Creating and Managing COM ComponentsChapter 14 - Creating an Active DocumentFFTFF6830014Select the best answer.TTTF70-175791TT

7927937947957960CD797Creating User ServicesChapter 3 - Implementing Navigational DesignFFTTF77003Select all that apply.FTTF70-175798TT

7998008018028030C804Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationFFTFF265007Select the best answer.TTTF70-175805TT

8068078088098100A811Creating Data ServicesChapter 9 - Creating Data Services: Part IITFFFF375009Select the best answer.TTTF70-1750FF

8128138148158160C817Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFTFF375009Select the best answer.TTTF70-175818TT

8198208218228230AC824Creating Data ServicesChapter 9 - Creating Data Services: Part IITFTFF375009Select all that apply.TTTF70-175825TT

8268278288298300D831Creating Data ServicesChapter 9 - Creating Data Services: Part IIFFFTF375009Select the best answer.TTTF70-175832TT

8338348358368370B838Creating User ServicesChapter 3 - Implementing Navigational DesignFTFFF77003Select the best answer.FTTF70-175839TT

840841842843844845BCE846Establishing the Development EnvironmentChapter 2 - Establishing the Development EnvironmentFTTFT43002Select all that apply.FTTF70-175847TT

8488498508518520D853Establishing the Development EnvironmentChapter 2 - Establishing the Development EnvironmentFFFTF43002Select the best answer.FTTF70-175854TT

8558568578588590C860Establishing the Development EnvironmentChapter 2 - Establishing the Development EnvironmentFFTFF43002Select the best answer.TTTF70-175861TT

8628638648658660B867Establishing the Development EnvironmentChapter 2 - Establishing the Development EnvironmentFTFFF43002Select all that apply.FTTF70-175868TT

8698708718728730ABCD874Establishing the Development EnvironmentChapter 2 - Establishing the Development EnvironmentTTTTF43002Select all that apply.FTTF70-1750FF

8758768778788790A880Developing the Conceptual and Logical DesignChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignTFFFF15001Select the best answer.FTTF70-1750FF

8818828838848850AB886Developing the Conceptual and Logical DesignChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignTTFFF15001Select all that apply.FTTF70-175887TT

8888898908918920D893Deriving the Physical DesignChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignFFFTF15001Select the best answer.TTTF70-175894TT

8958968978988990A900Deriving the Physical DesignChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignTFFFF15001Select the best answer.FTTF70-175901TT

9029039049059060D907Developing the Conceptual and Logical DesignChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignFFFTF15001Select the best answer.TTTF70-1750FF

9089099109119120D913Creating User ServicesChapter 17 - Webclass and DHTML ApplicationsFFFTF7970017Select the best answer.TTTF70-1750FF

9149159169179180A919Creating User ServicesChapter 17 - Webclass and DHTML ApplicationsTFFFF7970017Select the best answer.FTTF70-175920TT

9219229239249250BD926Creating User ServicesChapter 17 - Webclass and DHTML ApplicationsFTFTF7970017Select all that apply.FTTF70-175927TT

9289299309319320B933Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTFFF5090012Select the best answer.FTTF70-1750FF

9349359369379380B939Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTFFF5090012Select the best answerFTTF70-1750FF

9409419429439440A945Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicTFFFF5090012Select the best answer.TTTF70-1750FF

9469479489499500BC951Creating and Managing COM ComponentsChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTTFF5090012Select all that apply.FTTF70-1750FF

9529539549559560B957Creating and Managing COM ComponentsChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTFFF5090012Select the best answer.TTTF70-175958TT

9599609619629630ACD964Creating and Managing COM ComponentsChapter 12 - Creating a COM Component that Implements Business Rules or LogicTFTTF5090012Select all that apply.TTTF70-1750FF

965966967968969970A971Testing the SolutionChapter 20 - Compiling a VB ApplicationTFFFF9170020Select the best answer.FTTF70-1750FF

9729739749759760C977Testing the SolutionChapter 20 - Compiling a VB ApplicationFFTFF9170020Select the best answerFTTF70-175978FT

9799809819829830ABD984Creating User ServicesChapter 7 - Implementing Online User Assistance in a Distributed ApplicationTTFTF265007Select all that apply.FTTF70-175985TT

9869879889899900B991Creating User ServicesChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTFFF5090012Select the best answer.FTTF70-175992TT

993994995996997998C999Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentFFTFF7350015Select 1 answerTTTF70-1750FF

100010011002100310040A1005Creating and Managing COM ComponentsChapter 16- Developing MTS ApplicationsTFFFF7650016Select 1 answer.TTTF70-1750FF

100610071008100910100B1011Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFTFFF7650016Select 1 answer.TTTF70-1750FF

101210131014101510160B1017Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentFTFFF7350015Select 1 answerTTTF70-1750FF

101810191020102110220D1023Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentFFFTF7350015Select 1 answerTTTF70-1750FF

102410251026102710280BC1029Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFTTFF7650016Select all that apply.FTTF70-1751030TT

103110321033103410350C1036Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFTFF7650016Select 1 answer.TTTF70-1751037FT

103810391040104110420B1043Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFTFFF7350015Select the best answer.TTTF70-1750FF

104410451046104710480A1049Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsTFFFF7650016Select the best answer.TTTF70-1750FF

105010511052105310540D1055Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFFTF7650016Select the best answer.TTTF70-1750FF

105610571058105910600BC1061Creating and Managing COM ComponentsChapter 12 - Creating a COM Component that Implements Business Rules or LogicFTTFF5090012Select all that apply.FTTF70-1750FF

106210631064106510660A1067Creating and Managing COM ComponentsChapter 12 - Creating a COM Component that Implements Business Rules or LogicTFFFF5090012Select the best answer.TTTF70-1750FF

106810691070107110720C1073Creating and Managing COM ComponentsChapter 10 - Instantiating and Invoking a COM ComponentFFTFF4450010Select the best answer.TTTF70-1751074TT

107510761077107810790C1080Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramFFTFF9630021Select the best answerTTTF70-1751081FT

108210831084108510860A1087Deploying an ApplicationChapter 21 - Using the Package and Deployment Wizard to Create a Setup ProgramTFFFF9630021Select the best answer.TTTF70-1750FF

108810891090109110921093E1094Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentFFFFT7350015Select the best answer.FTTF70-1751095TT

109610971098109911000A1101Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentTFFFF7350015Select the best answer.TTTF70-1750FF

110211031104110511060C1107Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFFTFF7350015Select the best answer.TTTF70-1751108TT

110911101111111211130B1114Establishing the Development EnvironmentChapter 15 - Understanding the MTS Development EnvironmentFTFFF7350015Select the best answer.TTTF70-1750FF

111511161117111811190A1120Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsTFFFF7650016Select 1 answer.TTTF70-1751121TT

112211231124112511260ABC1127Establishing the Development EnvironmentChapter 16 - Developing MTS ApplicationsTTTFF7650016Select all that apply.FTTF70-1751128TT

112911301131113211331134ACD1135Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentTFTTF7350015Select 3 answers.FTTF70-1751136TT

113711381139114011410D1142Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFFFTF7350015Select the best answer.TTTF70-1750FF

114311441145114611470C1148Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFFTFF7350015Select the best answer.TTTF70-1751149TT

115011511152115311540C1155Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFFTFF7350015Select 1 answer.TTTF70-1750FF

115611571158115911600B1161Creating and Managing COM ComponentsChapter 15 - Understanding the MTS Development EnvironmentFTFFF7350015Select the best answer.TTTF70-1750FF

116211631164116511660C1167Establishing the Development EnvironmentChapter 16 - Developing MTS ApplicationsFFTFF765001Select 1 answer.TTTF70-1751168TT

116911701171117211730A1174Establishing the Development EnvironmentChapter 16 - Developing MTS ApplicationsTFFFF7650016Select the best answer.TTTF70-1750FF

117511761177117811790A1180Creating and Managing COM ComponentsChapter 15 -Understanding the MTS Development EnvironmentTFFFF7350015Select the best answer.TTTF70-1750FF

118111821183118411850B1186Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFTFFF7650016Select the best answer.TTTF70-1750FF

118711881189119011911192C1193Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFTFF7650016Select the best answer.TTTF70-1750FF

119411951196119711980D1199Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFFTF7650016Select the best answer.TTTF70-1750FF

120012011202120312040B1205Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFTFFF7650016Select the best answer.TTTF70-1751206TT

120712081209121012110CD1212Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFTTF7650016Select 2 answers.TTTF70-1751213TT

121412151216121712181219BD1220Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFTFTF7650016Select all that apply.TTTF70-1751221TT

122212231224122512260ACD1227Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsTFTTF7650016Select 3 answers.TTTF70-1751228TT

122912301231123212330D1234Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFFTF7650016Select the best answer.TTTF70-1751235TT

123612371238123912400A1241Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsTFFFF7650016Select the best answer.TTTF70-1751242TT

124312441245124612470D1248Creating and Managing COM ComponentsChapter 16 - Developing MTS ApplicationsFFFTF7650016Select 1 answer.TTTF70-1750FF

124912501251125212530AB1254Maintaining and Supporting an ApplicationChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignTTFFF96878C849815001Select all that apply.TFFF0FF

125512561257125812590A1260Maintaining and Supporting an ApplicationChapter 1 - Developing the Conceptual and Logical Design and Deriving the Physical DesignTFFFF96878C849815001Select the best answer.TFFF0FF

126112621263126412650B1266Maintaining and Supporting an ApplicationChapter 11 - Implementing Error-Handling Features in an ApplicationFTFFF96878C84984770011Select the best answer.TFFF0FF

126712681269127012710C1272Maintaining and Supporting an ApplicationChapter 11 - Implementing Error-Handling Features in an ApplicationFFTFF96878C84984770011Select the best answer.FFFF1273TF

TP70175.DBT

Tp70175.ini

[TestInfo]Test Name=70-175:Designing and Implementing Distributed Applications with Microsoft Visual Basic 6.0Passing Score=750Time Limit=90Number of Questions=61[Menu Options]LockedDatabase=91BB8ACA8ADF65A0E627261AF815E13797CB09TP Exam=1Flash Cards=1Study Cards=1Show Links=1Show Chapter=0No Links=0Write Scores=0

[BookFormat]Format=Acrobat

[Objectives]ObjectiveCount=9Objective0=Developing the Conceptual and Logical DesignObjective1=Deriving the Physical DesignObjective2=Establishing the Development EnvironmentObjective3=Creating User ServicesObjective4=Creating and Managing COM ComponentsObjective5=Creating Data ServicesObjective6=Testing the SolutionObjective7=Deploying an ApplicationObjective8=Maintaining and Supporting an ApplicationObjectiveSel=-1

tp70175.pdf

Introduction

MCSD Training Guide: Visual Basic 6 Exams is designedfor developers with the goal of certification as aMicrosoft Certified Solutions Developer (MCSD). It covers both the Designing and ImplementingDistributed Applications with Microsoft Visual Basic6.0 exam (70-175) and the Designing andImplementing Desktop Applications with MicrosoftVisual Basic 6.0 exam (70-176). These exams measureyour ability to design and implement distributed anddesktop application solutions by using Microsoft VisualBasic version 6.0.

This book is your one-stop shop. Everything you needto know to pass the exams is in here, and Microsoft hasapproved it as study material. You do not have to take aclass in addition to buying this book to pass the exam.However, depending on your personal study habits orlearning style, you may benefit from buying this bookand taking a class.

This book also can help advanced users and administra-tors who are not studying for the exam but are lookingfor a single-volume reference on Microsofts TCP/IPimplementation.

HOW THIS BOOK HELPS YOUThis book conducts you on a self-guided tour of all theareas covered by the VB6 Distributed Applicationsexam and the VB6 Desktop Applications exam andteaches you the specific skills you need to achieve yourMCSD certification. Youll also find helpful hints, tips,real-world examples, exercises, and references to addi-tional study materials. Specifically, this book is set up tohelp you in the following ways:

Organization. This book is organized by individualexam objectives. Every objective you need to knowfor the VB6 Distributed Applications exam and theVB6 Desktop Applications exam is covered in thisbook. The objectives are not covered in exactly thesame order as they are listed by Microsoft, but wehave attempted to organize the topics in the mostlogical and accessible fashion to make it as easy aspossible for you to learn the information. We havealso attempted to make the information accessible in the following ways:

The full list of exam topics and objectives isincluded in this introduction.

Each chapter begins with a list of the objectivesto be covered. Each objective is also identified asone that applies to the Distributed Applicationsexam, the Desktop Applications exam, or both.

Each chapter also begins with an outline that pro-vides you with an overview of the material andthe page numbers where particular topics can befound.

We also repeat objectives before where the mater-ial most directly relevant to it is covered (unlessthe whole chapter addresses a single objective).

Information on where the objectives are coveredis also conveniently condensed on the tear card at the front of this book.

Instructional Features. This book has been designedto provide you with multiple ways to learn and rein-force the exam material. Following are some of thehelpful methods:

02 002-8 Intro 3/1/99 7:45 AM Page 1

2 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

Objective Explanations. As mentioned previ-ously, each chapter begins with a list of theobjectives covered in the chapter. In addition,immediately following each objective is anexplanation in a context that defines it moremeaningfully.

Study Strategies. The beginning of the chapteralso includes strategies for approaching thestudying and retaining of the material inthe chapter, particularly as it is addressed on the exam.

Exam Tips. Exam tips appear in the margin toprovide specific exam-related advice. Such tipsmay address what material is covered (or notcovered) on the exam, how it is covered,mnemonic devices, or particular quirks ofthat exam.

Review Breaks and Summaries. Crucial infor-mation is summarized at various points in thebook in lists or tables. Each chapter ends witha summary as well.

Key Terms. A list of key terms appears at theend of each chapter.

Notes. These appear in the margin and containvarious kinds of useful information such astips on technology or administrative practices,historical background on terms and technolo-gies, or side commentary on industry issues.

Warnings. When using sophisticated informa-tion technology, there is always the potentialfor mistakes or even catastrophes that occurbecause of improper application of the tech-nology. Warnings appear in the margin toalert you to such potential problems.

In-depths. These more extensive discussionscover material that may not be directly relevantto the exam but which is useful as referencematerial or in everyday practice. In-depths mayalso provide useful background or contextualinformation necessary for understanding thelarger topic under consideration.

Step by Steps. These are hands-on, tutorialinstructions that lead you through a particulartask or function relevant to the exam objectives.

Exercises. Found at the end of the chapters inthe Apply Your Knowledge section, exercisesmay include additional tutorial material aswell as other types of problems and questions.

Case Studies. Presented throughout the book,case studies provide you with a more concep-tual opportunity to apply and reinforce theknowledge you are developing. They include adescription of a scenario, the essence of thecase, and an extended analysis section. Theyalso reflect the real-world experiences of theauthors in ways that prepare you not only forthe exam but for actual network administra-tion as well.

Extensive practice test options. The book pro-vides numerous opportunities for you to assessyour knowledge and practice for the exam. Thepractice options include the following:

Review Questions. These open-ended questionsappear in the Apply Your Knowledge sectionat the end of each chapter. They allow you toquickly assess your comprehension of whatyou just read in the chapter. Answers to thequestions are provided later in the section.

02 002-8 Intro 3/1/99 7:45 AM Page 2

INTRODUCTION 3

Exam Questions. These questions also appearin the Apply your Knowledge section. Theyreflect the kinds of multiple-choice questionsthat appear on the Microsoft exams. Usethem to practice for the exam and to helpyou determine what you know and what youneed to review or study further. Answers andexplanations for them are provided.

Practice Exam. A Practice Exam is included inthe Final Review section. The Final Reviewsection and the Practice Exam are discussedbelow.

Top Score. The Top Score software includedon the CD-ROM provides further practicequestions.

It also provides you with valuable exam-daytips and information on new exam/questionformats such as adaptive tests and simulation-based questions.

Practice Exam. A full practice test for each ofthe exams is included. Questions are writtenin the styles used on the actual exams. Use itto assess your readiness for the real thing.

The book includes several valuable appendices as well,including a glossary (Appendix A), an overview of theMicrosoft certification program (Appendix B), and adescription of what is on the CD-ROM (Appendix C).

The Microsoft VB exams assume an elementary knowl-edge of VB but do not specify this knowledge in theexam objectives. For that reason, this book includesAppendix E, Visual Basic Basics that provides youwith an overview of the elementary VB knowledge andskills that are not specified as objectives but that youwill need to know in order to pass the exam.

Finally, Appendix F provides you with a list ofSuggested Readings and Resources that provides youwith useful information on Visual Basic 6.

These and all the other book features mentioned previ-ously will provide you with thorough preparation forthe exam.

For more information about the exam or the certifica-tion process, contact Microsoft:

Microsoft Education: 800-636-7544

Internet: ftp://ftp.microsoft.com/Services/MSEdCert

World Wide Web: http://www.microsoft.com/train_cert

CompuServe Forum: GO MSEDCERT

NO

TE For a complete description of the New

Riders Top Score test engine, pleasesee Appendix D, Using the Top ScoreSoftware.

Final Review. This part of the book provides you with three valuable tools for preparing forthe exam.

Fast Facts. This condensed version of theinformation contained in the book will proveextremely useful for last-minute review.

Study and Exam Tips. Read this section early on to help you develop study strategies.

02 002-8 Intro 3/1/99 7:46 AM Page 3

4 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

WHAT THE DESIGNING ANDIMPLEMENTING DISTRIBUTEDAPPLICATIONS WITHMICROSOFT VISUAL BASIC 6.0EXAM (70-175) COVERSThe Designing and Implementing DistributedApplications with Microsoft Visual Basic 6.0 Exam(70-175) covers the nine main topic areas representedby the conceptual groupings of the test objectives:Developing the Conceptual and Logical Design,Deriving the Physical Design, Establishing theDevelopment Environment, Creating User Services,Creating and Managing COM Components, CreatingData Services, Testing the Solution, Deploying theApplication, and Maintaining and Supporting anApplication. Each of these main topic areas is coveredin one or more chapters. The exam objectives are listedby topic area in the following sections.

Developing the Conceptual andLogical DesignGiven a conceptual design, apply the principles ofmodular design to derive the components and servicesof the logical design.

Deriving the Physical DesignAssess the potential impact of the logical design on per-formance, maintainability, extensibility, scalability,availability, and security.

Design Visual Basic components to access data from adatabase in a multitier application.

Design the properties, methods, and events of components.

Establishing the DevelopmentEnvironmentEstablish the environment for source-code version control.

Install and configure Visual Basic for developing distributed applications.

Configure a server computer to run MicrosoftTransaction Server (MTS).

Install MTS.

Set up security on a system package.

Configure a client computer to use an MTS component.

Create packages that install or update MTS components on a client computer.

Creating User ServicesImplement navigational design.

Dynamically modify the appearance of a menu.

Add a pop-up menu to an application.

Create an application that adds and deletesmenus at runtime.

Add controls to forms.

Set properties for controls.

Assign code to a control to respond to an event.

02 002-8 Intro 3/1/99 7:46 AM Page 4

INTRODUCTION 5

Create data input forms and dialog boxes.

Display and manipulate data by using customcontrols. Controls include TreeView, ListView,ImageList, Toolbar, and StatusBar.

Create an application that adds and deletes controls at runtime.

Use the Controls collection to manipulate controls at runtime.

Use the Forms collection to manipulate forms atruntime.

Write code that validates user input.

Create an application that verifies data entered atthe field level and the form level by a user.

Create an application that enables or disablescontrols based on input in fields.

Write code that processes data entered on a form.

Given a scenario, add code to the appropriateform event. Events include Initialize,Terminate, Load, Unload, QueryUnload, Activate,and DeActivate.

Add an ActiveX control to the toolbox.

Create dynamic Web pages by using Active ServerPages (ASP) and Web classes.

Create a Web page by using the DHTML PageDesigner to dynamically change attributes of elements,change content, change styles, and position elements.

Use data binding to display and manipulate data froma data source.

Instantiate and invoke a COM component.

Create a Visual Basic client application that usesa COM component.

Create a Visual Basic application that handlesevents from a COM component.

Create callback procedures to enable asynchronous pro-cessing between COM components and Visual Basicclient applications.

Implement online user assistance in a distributed appli-cation.

Set appropriate properties to enable user assis-tance. Help properties include HelpFile,HelpContextID, and WhatsThisHelp.

Create HTML Help for an application.

Implement messages from a server component toa user interface.

Implement error handling for the user interface in dis-tributed applications.

Identify and trap runtime errors.

Handle inline errors.

Determine how to send error information from aCOM component to a client computer.

Use an active document to present information withina Web browser.

Creating and Managing COMComponentsCreate a COM component that implements businessrules or logic. Components include DLLs, ActiveXcontrols, and active documents.

Create ActiveX controls.

Create an ActiveX control that exposes properties.

Use control events to save and load persistentproperties.

02 002-8 Intro 3/1/99 7:46 AM Page 5

6 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

Test and debug an ActiveX control.

Create and enable property pages for an ActiveXcontrol.

Enable the data-binding capabilities of anActiveX control.

Create an ActiveX control that is a data source.

Create an active document.

Use code within an active document to interactwith a container application.

Navigate to other active documents.

Design and create components that will be used with MTS.

Debug Visual Basic code that uses objects from a COMcomponent.

Choose the appropriate threading model for a COMcomponent.

Create a package by using the MTS Explorer.

Use the Package and Deployment Wizard to create a package.

Import existing packages.

Assign names to packages.

Assign security to packages.

Add components to an MTS package.

Set transactional properties of components.

Set security properties of components.

Use role-based security to limit use of an MTS packageto specific users.

Create roles.

Assign roles to components or component interfaces.

Add users to roles.

Compile a project with class modules into a COMcomponent.

Implement an object model within a COM component.

Set properties to control the instancing of a classwithin a COM component.

Use Visual Component Manager to manage components.

Register and unregister a COM component.

Creating Data ServicesAccess and manipulate a data source by using ADOand the ADO Data control.

Access and manipulate data by using the ExecuteDirect model.

Access and manipulate data by using thePrepare/Execute model.

Access and manipulate data by using the StoredProcedures model.

Use a stored procedure to execute a statement ona database.

Use a stored procedure to return records to aVisual Basic application.

Retrieve and manipulate data by using different cursorlocations. Cursor locations include client-side and server-side.

Retrieve and manipulate data by using different cursortypes. Cursor types include forward-only, static,dynamic, and keyset.

Use the ADO Errors collection to handle databaseerrors.

02 002-8 Intro 3/1/99 7:46 AM Page 6

INTRODUCTION 7

Manage database transactions to ensure data consis-tency and recoverability.

Write SQL statements that retrieve and modify data.

Write SQL statements that use joins to combine datafrom multiple tables.

Use appropriate locking strategies to ensure dataintegrity. Locking strategies include read-only, pes-simistic, optimistic, and batch optimistic.

Testing the SolutionGiven a scenario, select the appropriate compiler options.

Control an application by using conditional compilation.

Set Watch expressions during program execution.

Monitor the values of expressions and variables byusing the Immediate window.

Use the Immediate window to check or changevalues.

Use the Locals window to check or change values.

Implement project groups to support the developmentand debugging processes.

Debug DLLs in process.

Test and debug a control in process.

Given a scenario, define the scope of a watch variable.

Deploying an ApplicationUse the Package and Deployment Wizard to create asetup program that installs a distributed application,registers the COM components, and allows for unin-stall.

Register a component that implements DCOM.

Configure DCOM on a client computer and on aserver computer.

Plan and implement floppy disk-based deployment orcompact disc-based deployment for a distributed appli-cation.

Plan and implement Web-based deployment for a dis-tributed application.

Plan and implement network-based deployment for adistributed application.

Maintaining and Supporting anApplicationImplement load balancing.

Fix errors and take measures to prevent future errors.

Deploy application updates for distributed applications.

WHAT THE DESIGNING ANDIMPLEMENTING DESKTOPAPPLICATIONS WITHMICROSOFT VISUAL BASIC6.0 EXAM (70-176)COVERSThe Designing and Implementing DistributedApplications with Microsoft Visual Basic 6.0 Exam(70-176) covers the nine main topic areas representedby the conceptual groupings of the test objectives:Developing the Conceptual and Logical Design,Deriving the Physical Design, Establishing theDevelopment Environment, Creating User Services,

02 002-8 Intro 3/1/99 7:46 AM Page 7

8 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

Creating and Managing COM Components, CreatingData Services, Testing the Solution, Deploying theApplication, and Maintaining and Supporting anApplication. Each of these main topic areas is coveredin one or more chapters. The exam objectives are listedby topic area in the following sections.

Deriving the Physical DesignAssess the potential impact of the logical design on per-formance, maintainability, extensibility, and availability.

Design Visual Basic components to access data from adatabase.

Design the properties, methods, and events of com-ponents.

Establishing the DevelopmentEnvironmentEstablish the environment for source-code version control.

Install and configure Visual Basic for developing desk-top applications.

Creating User ServicesImplement navigational design.

Dynamically modify the appearance of a menu.

Add a pop-up menu to an application.

Create an application that adds and deletesmenus at runtime.

Add controls to forms.

Set properties for controls.

Assign code to a control to respond to an event.

Create data input forms and dialog boxes.

Display and manipulate data by using customcontrols. Controls include TreeView, ListView,ImageList, Toolbar, and StatusBar.

Create an application that adds and deletes controls at runtime.

Use the Controls collection to manipulate controls at runtime.

Use the Forms collection to manipulate forms atruntime.

Write code that validates user input.

Create an application that verifies data entered atthe field level and the form level by a user.

Create an application that enables or disablescontrols based on input in fields.

Write code that processes data entered on a form.

Given a scenario, add code to the appropriateform event. Events include Initialize,Terminate, Load, Unload, QueryUnload, Activate,and DeActivate.

Add an ActiveX control to the toolbox.

Create a Web page by using the DHTML PageDesigner to dynamically change attributes of elements,change content, change styles, and position elements.

Use data binding to display and manipulate data froma data source.

Instantiate and invoke a COM component.

Create a Visual Basic client application that uses a COM component.

Create a Visual Basic application that handlesevents from a COM component.

02 002-8 Intro 3/1/99 7:46 AM Page 8

INTRODUCTION 9

Create callback procedures to enable asynchronousprocessing between COM components and VisualBasic client applications.

Implement online user assistance in a desktop application.

Set appropriate properties to enable user assis-tance. Help properties include HelpFile,HelpContextID, and WhatsThisHelp.

Create HTML Help for an application.

Implement messages from a server component to a user interface.

Implement error handling for the user interface indesktop applications.

Identify and trap runtime errors.

Handle inline errors.

Creating and Managing COMComponentsCreate a COM component that implements businessrules or logic. Components include DLLs, ActiveXcontrols, and active documents.

Create ActiveX controls.

Create an ActiveX control that exposes prop-erties.

Use control events to save and load persistentproperties.

Test and debug an ActiveX control.

Create and enable Property Pages for an ActiveXcontrol.

Enable the data-binding capabilities of anActiveX control.

Create an ActiveX control that is a data source.

Create an active document.

Use code within an active document to interactwith a container application.

Navigate to other active documents.

Debug a COM client written in Visual Basic.

Compile a project with class modules into a COMcomponent.

Implement an object model within a COMcomponent.

Set properties to control the instancing of a classwithin a COM component.

Use Visual Component Manager to manage components.

Register and unregister a COM component.

Creating Data ServicesAccess and manipulate a data source by using ADOand the ADO Data control.

Testing the SolutionGiven a scenario, select the appropriate compileroptions.

Control an application by using conditional com-pilation.

Set Watch expressions during program execution.

Monitor the values of expressions and variables byusing the Immediate window.

Use the Immediate window to check or changevalues.

Use the Locals window to check or change values.

02 002-8 Intro 3/1/99 7:46 AM Page 9

10 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

Implement project groups to support the developmentand debugging processes.

Debug DLLs in process.

Test and debug a control in process.

Given a scenario, define the scope of a watch variable.

Deploying an ApplicationUse the Package and Deployment Wizard to create asetup program that installs a desktop application, regis-ters the COM components, and allows for uninstall.

Plan and implement floppy disk-based deployment orcompact disc-based deployment for a desktop appli-cation.

Plan and implement Web-based deployment for a desk-top application.

Plan and implement network-based deployment for adesktop application.

Maintaining and Supporting anApplicationFix errors and take measures to prevent future errors.

Deploy application updates for desktop applications.

HARDWARE AND SOFTWAREYOULL NEEDA self-paced study guide, this book was designed withthe expectation that you will use VB 6.0 EnterpriseEdition as you follow along through the exerciseswhile you learn. However, almost all the exercises can also be completed with the Professional Edition.

If you only have the Learning Edition, youll be ableto do some of the exercises and examples, but manysections will not be directly accessible to you.

Your computer should meet the following criteria:

On the Microsoft Hardware Compatibility List

486DX2 66Mhz (or better) processor

340MB (or larger) hard disk

3.5-inch 1.44MB floppy drive

VGA (or Super VGA) video adapter

VGA (or Super VGA) monitor

Mouse or equivalent pointing device

Double-speed (or faster) CD-ROM drive(optional)

Network Interface Card (NIC)

Presence on an existing network, or use of a 2-port(or more) miniport hub to create a test network

Any version of Microsoft Windows capable ofrunning Visual Studio 6.0

Internet access with Internet Explorer (not necessary for all sections)

It is easier to obtain access to the necessary computerhardware and software in a corporate business environ-ment. It can be difficult, however, to allocate enoughtime within the busy workday to complete a self-studyprogram. Most of your study time will occur after nor-mal working hours, away from the everyday interrup-tions and pressures of your regular job.

ADVICE ON TAKING THE EXAMMore extensive tips are found in the Final Review sec-tion titled Study and Exam Prep Tips, but keep thisadvice in mind as you study:

02 002-8 Intro 3/1/99 7:46 AM Page 10

INTRODUCTION 11

Read all the material. Microsoft has beenknown to include material not expressly specifiedin the objectives. This book has included addi-tional information not reflected in the objectivesin an effort to give you the best possible prepara-tion for the examinationand for the real-worldnetwork experiences to come.

Do the Step by Steps and complete theExercises in each chapter. They will help yougain experience using the Microsoft product. AllMicrosoft exams are task- and experienced-basedand require you to have experience using theMicrosoft product in a real networking environ-ment.

Use the questions to assess your knowledge.Dont just read the chapter content; use the ques-tions to find out what you know and what youdont. Study some more, review, then assess yourknowledge again.

Review the exam objectives. Develop your ownquestions and examples for each topic listed. Ifyou can develop and answer several questions foreach topic, you should not find it difficult topass the exam.

Remember, the primary object is not to pass theexamit is to understand the material. After youunderstand the material, passing the exam should besimple. Knowledge is a pyramid; to build upward, youneed a solid foundation. This book and the MicrosoftCertified Professional programs are designed to ensurethat you have that solid foundation.

Good luck!

NEW RIDERS PUBLISHINGThe staff of New Riders Publishing is committed tobringing you the very best in computer reference mate-rial. Each New Riders book is the result of months ofwork by authors and staff who research and refine theinformation contained within its covers.

As part of this commitment to you, the NRP reader,New Riders invites your input. Please let us know ifyou enjoy this book, if you have trouble with the infor-mation or examples presented, or if you have a sugges-tion for the next edition.

NO

TE Exam-taking advice Although this

book is designed to prepare you totake and pass the Designing andImplementing Distributed Applicationswith Microsoft Visual Basic 6.0 (70-175) and the Designing andImplementing Desktop Applicationswith Microsoft Visual Basic 6.0 (70-176) certification exams, thereare no guarantees. Read this book,work through the questions and exer-cises, and when you feel confident,take the Practice Exam and additionalexams using the Top Score testengine. This should tell you whetheryou are ready for the real thing.

When taking the actual certificationexam, make sure you answer all thequestions before your time limitexpires. Do not spend too much timeon any one question. If you areunsure, answer it as best as you can;then mark it for review when you havefinished the rest of the questions.

02 002-8 Intro 3/1/99 7:46 AM Page 11

12 MCSD TRAINING GUIDE: VISUAL BASIC 6 EXAMS

Please note, however, that New Riders staff cannot serveas a technical resource during your preparation for theMicrosoft certification exams or for questions aboutsoftware- or hardware-related problems. Please referinstead to the documentation that accompanies theMicrosoft products or to the applications Help systems.

If you have a question or comment about any NewRiders book, there are several ways to contact NewRiders Publishing. We will respond to as many readersas we can. Your name, address, or phone number willnever become part of a mailing list or be used for anypurpose other than to help us continue to bring youthe best books possible. You can write to us at the fol-lowing address:

New Riders PublishingAttn: Mary Foote201 W. 103rd StreetIndianapolis, IN 46290

If you prefer, you can fax New Riders Publishing at317-817-7448.

You also can send email to New Riders at the followingInternet address:

[email protected]

NRP is an imprint of Macmillan Computer Publishing.To obtain a catalog or information, or to purchase anyMacmillan Computer Publishing book, call 800-428-5331.

Thank you for selecting MCSD Training Guide: VisualBasic 6 Exams !

02 002-8 Intro 3/1/99 7:46 AM Page 12

IVISUAL BASIC 6 EXAM CONCEPTS

1 Developing the Conceptual and Logical Design and Deriving thePhysical Design

2 Establishing the Development Environment

3 Implementing Navigational Design

4 Creating Data Input Forms and Dialog Boxes

5 Writing Code that Validates User Input

6 Writing Code that Processes Data Entered on a Form

7 Implementing Online User Assistance in a Distributed Application

8 Creating Data Services: Part I

9 Creating Data Services: Part II

P A R T

03 002-8 Part 1 3/1/99 7:47 AM Page 13

10 Instantiating and Invoking a COM Component

11 Implementing Error-Handling Features in an Application

12 Creating a COM Component that Implements Business Rules or Logic

13 Creating ActiveX Controls

14 Creating an Active Document

15 Understanding the MTS Development Environment

16 Developing MTS Applications

17 Internet Programming with IIS/Webclass and DHTML Applications

18 Using VBs Debug/Watch Facilities

19 Implementing Project Groups to Support the Development andDebugging Process

20 Compiling a VB Application

21 Using the Package and Deployment Wizard to Create a SetupProgram

03 002-8 Part 1 3/1/99 7:47 AM Page 14

Developing the Conceptualand Logical Design and

Deriving the Physical Design

OBJECT IVES

1C H A P T E R

This chapter helps you prepare for the exam by cover-ing the following objectives:

Given a conceptual design, apply the princi-ples of modular design to derive the compo-nents and services of the logical design(70-175).

. Conceptual design has to do with a user-basedvision of the software solution. The exam objectivesdont require you to know how to derive a concep-tual design. The objectives do expect you to knowsomething about how conceptual design relates tological design. Logical design identifies the businessobjects and underlying services required by the con-ceptual design.

Assess the potential impact of the logicaldesign on performance, maintainability, exten-sibility, scalability, availability, and security(70-175 and 70-176).

. The logical design that you derive from the concep-tual design will have consequences for the finalproduct. The logical design affects many of thedesired qualities of a good software solution, suchas those listed in this objective.

Design Visual Basic components to accessdata from a database in a multitier application(70-175 and 70-176).

. Multitier applications break the various functions ofan application into separate components that residein different physical locations. An important com-ponent of almost any software solution is the com-ponent that provides access to the applications data.

04 002-8 CH 01 3/1/99 7:38 AM Page 15

OBJECT IVES

Design the properties, methods, and events ofcomponents (70-175 and 70-176).

. The components that you design in a VB solutionwill be implemented as objects with their ownmembers (properties, methods, and events).

Implement load balancing (70-175).

. The final objective listed in this chapter, load bal-ancing, is out of sequence with Microsofts pub-lished exam objectives. Load balancing is theprocess by which workload is spread among two ormore physical servers to prevent bottlenecks on asingle machine. As such, the topic is closely tied todesign decisions that you will make when imple-menting a solution. This chapter therefore discussesthe objective of load balancing because it logicallyfits with the other general design objectives dis-cussed here.

04 002-8 CH 01 3/1/99 7:38 AM Page 16

STUDY STRATEGIES

Overview of Microsoft ApplicationDevelopment Concepts 18

The VB Enterprise Development Model 20

The Conceptual Design 20

Deriving the Logical Design From theConceptual Design 21

Deriving the Physical Design From the Logical Design 22

Assessing the Logical Designs Impact on the Physical Design 23

Designing VB Data-Access Components for a Multitier Application 29

Designing Properties, Methods, and Events of Components 30

Designing Properties of Components 30

Designing Methods of Components 31

Designing Events of Components 31

Implementing Load Balancing 32

Chapter Summary 36

. Examine closely the sections on maintainability,scalability, performance, extensibility, availability,and security. Devise your own scenarios withthese criteria in mind.

. Examine the case study for this chapter.

OUTL INE

04 002-8 CH 01 3/1/99 7:38 AM Page 17

18 Par t I VISUAL BASIC 6 EXAM CONCEPTS

INTRODUCTIONThe two VB6 certification exams are the first VB certification examsto ask questions about design decisions.

Therefore it is important to pay close attention to the topics of thischapter, even though you may be inclined to want to pay less atten-tion to it in favor of the good stuff,that is, the more programmer-centric topics of the rest of this book.

In fact, you will find that strategic design considerations are closelytied to most of the newest aspects of VB programming technologysuch as COM components, newer features of database access, andthe new types of Internet programming available in VB.

OVERVIEW OF MICROSOFTAPPLICATION DEVELOPMENTCONCEPTSMicrosofts latest framework for discussing application developmentis known as the Enterprise Application Model. The EAM is really anumbrella that covers the following six distinct ways, or models, oflooking at any development project:

The Development Model has to do with the software development process, including project management and testing.

The Business Model concerns itself with business goal definition, resource decisions about the project, and businessrules and policies affecting the project.

The User Model takes up issues of user interface, training, documentation, support, and configuration.

The Logical Model deals with the logical structure and model-ing of business objects and service interface definitions withinthe project.

The Technology Model attends to reusability of software components, system and database platforms, and systemresource-management decisions.

NO

TE This Section Refers to the Latest MS

Concepts, but Exam Objectives DoNot The concepts discussed in thissection relate to the EnterpriseApplication Model and as such arethe more recently published conceptsthat can be found in the documenta-tion for Visual Studio 6 and VB6. Theconcepts discussed in this sectionare not part of the exam objectives.

Microsofts published exam objectivestalk about conceptual, logical, andphysical design. These concepts arefound in the documentation for VB5. Ifyou dont own a copy of the VB5 docu-mentation, try MSDN online at:

http://premium.microsoft.com/msdn/library

You will probably be asked to registerbefore you can look at this site.

04 002-8 CH 01 3/1/99 7:38 AM Page 18

The Physical Model the final product, encompasses the architecture of developed components, their distribution, andtheir interconnections.

Although all these models are important (each in its own way) to the overall makeup of the Enterprise Application Model, the mostimportant of these models, and the one you will be mostly con-cerned with as a VB programmer, is the Development Model.

The Development Model is important because Microsoft sees it asthe pivotal link that holds together the rest of the EAM. It providesthis glue in two ways:

The Development Model is responsible for mediating betweenthe Business Model, on the one hand, and the User, Logical,and Technology Models on the other.

The Development Model is also responsible for mediatingbetween the User, Logical, and Technology Models, on the one hand, and the Physical Model on the other.

Microsofts latest Visual Studio documentation also speaks of a scal-able, team-centered approach to solution development. This teammodel identifies six major roles:

Product management

Program management

Development

Test and quality assurance (QA)

User education

Logistics planning

The model is scalable because, according to the size and needs of theproject, all six roles can be distributed to six different teams, or amongfewer teams (with some teams performing multiple roles), or amongmore than six teams (some roles will be performed by several teams).

In the most extreme case, one individual might perform the tasks ofall six teams.

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 19

04 002-8 CH 01 3/1/99 7:38 AM Page 19

20 Par t I VISUAL BASIC 6 EXAM CONCEPTS

THE VB ENTERPRISE DEVELOPMENTMODELThe exam objectives speak of tying conceptual, logical, and physicaldesigns together. The idea of a conceptual design, a logical design,and a physical design, as noted in the preceding section, belongs toVB5 and Visual Studio 5 documentation; here it is referred to as theVB Enterprise Development Model.

Brief descriptions of the three design phases follow:

Conceptual design regards the system from the point of view ofthe proposed systems users.

Logical design identifies the business objects and underlyingservices required by the conceptual design.

Physical design identifies the specific implementations of thelogical design, including the specific hardware and softwaresolutions.

Because the VB EDM is the focus of the exam objectives on this topic,the following sections of this chapter deal with them more extensively.

The Conceptual DesignThe exam subobjectives do not require the exam candidate to derivea conceptual design, but just to derive a logical design from an existing conceptual design. This discussion will therefore justdescribe what a conceptual design is, as opposed to discussing howto derive a conceptual design.

A conceptual design consists of three deliverable items:

User profiles describe who the system users are and how they tieinto the system. For example, user profiles might describe vari-ous functions in the system such as data entry clerk, creditmanager, and sales person, including the type of role eachplays with respect to the business process being modeled.

Usage scenarios for the current system state (optional) describehow users work with the current system. Examples for currentsystem usage scenarios would be similar to examples given forproposed system usage scenarios.

04 002-8 CH 01 3/1/99 7:38 AM Page 20

Usage scenarios for the proposed system state describe how userswill work with the new system to be developed. For example,different usage scenarios might describe how sales people willcontact customers and take orders, how data entry clerks willenter orders from sales people or by phone, and how creditmanagers will check credit and approve or reject orders.

Deriving the Logical Design From theConceptual Design. Given a conceptual design, apply the principles of modular

design to derive the components and services of the logical design (70-175).

Microsoft lists the following steps to derive the logical design:

1. Identifying business objects and services

2. Defining interfaces

3. Identifying business object dependencies

4. Validating logical design

5. Revising and refining the logical design

For purposes of the certification exam, you can focus on the first step,identifying business objects and services. It is this step where youactually derive the initial logical design from the conceptual design.

Overview of Business ObjectsIn the context of software solutions, a business object is a logical and physical entity that represents a physical or conceptual entityconnected with the business environment at hand.

Examples of business objects might include the following:

Accounts

Customers

Purchase orders

Invoices

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 21

04 002-8 CH 01 3/1/99 7:38 AM Page 21

22 Par t I VISUAL BASIC 6 EXAM CONCEPTS

Your software solution will implement representations of these busi-ness objects. Each object has its own attributes (properties) andactions (methods) and interacts with other objects through a systemof messages (events and callbacks).

As stated in the preceding section, one of the main tasks of logicaldesign (and the task that the certification exam tests) is to identifybusiness objects from the usage scenarios of the conceptual design.

The following section discusses how to derive business objects fromthe conceptual design.

Identifying Business ObjectsEssentially, you can make a first pass at identifying business objectsby identifying the major nouns in the usage scenarios.

You can identify the relations and interactions between the businessobjects by identifying the significant verbs in the usage scenarios.

You can classify the relationships between objects into several mainrelationship types:

Own. Indicated by verbs such as owns or has.

Use . Indicated by verbs such as uses.

Contain. Indicated by verbs such as holds, contains, orconsists of.

Generalize. Indicated by verb phrases such as is an exampleof or is a.

Deriving the Physical Design From theLogical DesignTo derive the physical design from the logical design, you take thefollowing major steps:

1. Allocate services to components. Derive components from thelogical objects and determine whether each object is a user,business, or data service object.

2. Deploy components across the network. Assign the componentsto locations on the network.

04 002-8 CH 01 3/1/99 7:38 AM Page 22

3. Refine component packaging and distribution. Group components according to the systems needs.

4. Specify component interfaces. Define relations between components.

5. Validate the physical design. Make sure that each componentcorresponds to a service in the logical objects.

Once again, the VB6 certification exam does not require you toknow each of these steps in detail. Instead, as the subobjectives state,you should concentrate on the following:

Assessing the logical designs impact on the physical design

Designing VB data access components for a data access tier

Designing properties, methods, and events of a component

The following sections discuss these three topics.

Assessing the Logical Designs Impacton the Physical Design. Assess the potential impact of the logical design on

performance, maintainability, extensibility, scalability,availability, and security (70-175 and 70-176).

The certification exam objectives list the following ways that a logi-cal design can impact the physical system derived from it:

Performance

Maintainability

Extensibility

Scalability

Availability

Security

The following sections discuss each of these design considerations.

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 23

04 002-8 CH 01 3/1/99 7:38 AM Page 23

24 Par t I VISUAL BASIC 6 EXAM CONCEPTS

PerformancePerformance considerations include the speed and efficiency withwhich the system does its tasks. Performance needs to be evaluatedfrom two points of view:

The timeliness of activities from the point of view of systemrequirements.

The timeliness of system activities from the users point ofview, both in terms of perceived speed (slow perceived speedcan be a frustration factor) and in terms of allowing them todo their jobs appropriately. (You dont want phone calls back-ing up for an order entry clerk because the system takes toolong to approve the current order.)

You must often balance performance against some of the other con-siderations, because the features that can give better performanceoften degrade other desirable aspects of the system.

If users all have very powerful workstations and the servers resourcesare limited, for instance, performance might improve if more pro-cessing were delegated to the server.

Putting more processing logic on the workstations might compro-mise maintainability, however, because there would be more distrib-ution problems when a change was needed, because it would belikely that the elements needing maintenance would reside on theusers systems.

Improving performance may, however, have a positive effect on con-siderations of scalability, as described in the section titled Scalability.

MaintainabilityThe two basic rules for better system maintainability may seem tocontradict each other:

Centralize the location of services whenever possible so thatthere are as few copies of the same software entity as possible(preferably, only a single copy). This centralization means that,if a component breaks, you have very few locations where youneed to replace it with the fixed version.

04 002-8 CH 01 3/1/99 7:38 AM Page 24

Break services into smaller components that have completelywell-defined interfaces. Such modularization will keep prob-lems isolated to very specific areas, making them easier to trackdown and fix. With well-encapsulated, smaller modules, thechances are smaller that a problem will affect a large area of theapplication and that fixing it will have complex ramifications.

The apparent contradiction between these two rules can be resolvedby stating them together as a single, simpler rule:

Break services into smaller, encapsulated components and putthem all in a centralized location.

This drive toward more encapsulated, more specialized componentshas been part of the general movement away from the simpleclient/server (two-tier) Enterprise Application Model toward a three-tier and finally an n-tier model. The rationale for such multiplicationof tiers in terms of maintainability lies in the following reasoning:

If you want to centralize processing, you need to take more process-ing away from the client (a thin client). This would imply at leastanother tier (a business services tier in addition to the more tradi-tional data tier) on the server.

If you want to break services down into a number of components,once again you multiply the number of tiers as follows:

The business tier might break up into several components.

The data tier could split into a back-end data tier (representingthe database server itself, such as SQL Server) and a businessdata-access tier (representing customized data access proceduresto be used by the data objects). The section titled DesigningVB Data-Access Components for a Multitier Application dis-cusses data-access component design in more detail.

The method of deployment, or distribution, to users also affectsmaintainability. If it is harder to get changes out to users, the solu-tion is inherently more difficult to maintain.

Therefore, a solution that must be distributed to users on disks andthat depends on the users to run a setup routine will be less main-tainable than a solution that is implemented as an Internet down-load, because the Internet download happens automatically as soonas a user connects to the applications Web page.

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 25

04 002-8 CH 01 3/1/99 7:38 AM Page 25

26 Par t I VISUAL BASIC 6 EXAM CONCEPTS

An even more maintainable solution is one that doesnt depend onany user action at all to effect changes. Such solutions would be con-tained in tiers that reside entirely on a server. When developers needto make changes, they just replace components on the server withouthaving to require any action from the users.

ExtensibilityIn the context of VB itself, extensibility means the capability to inte-grate other applications (such as Visual SourceSafe, ComponentObject Manager, Visual Data Manager, and many others) into thedevelopment environment.

In the context of the VB certification exam objectives, however,extensibility is best understood as the capability to use a core set ofapplication services for new purposes in the future, purposes whichthe original developers may not have foreseen.

The following list details some of the ways that you might achievehigh extensibility in your design:

Break services into smaller, encapsulated components and putthem all in a centralized location. Note that this particulartechnique for extensibility is identical to the chief techniquefor ensuring maintainability, as discussed earlier.

Smaller components, representing smaller units of functional-ity, are more likely to be reusable as the building blocks in newconfigurations. To make the components more flexible, theyshould be highly parameterized so that their behavior can becontrolled more flexibly by client applications.

COM components implemented through ActiveX on theserver always make for good extensibility, because COM com-ponents can be programmed from many platforms. This leavesyour system more open to unforeseen uses in the future.

If your solution is Web-based and you cannot predict the typeof browser that the users will employ, consider using the tech-nology of IIS applications (WebClasses) as described inChapter 17. Because IIS applications prepare standard Webpages server-side before transmitting them to the client, theyare independent of the type of browser used by the client.

04 002-8 CH 01 3/1/99 7:38 AM Page 26

ScalabilityScalability refers to the ease with which an application or set of ser-vices can be moved into a larger or more demanding environment.

A client/server or n-tier application is said to scale well if any of thefollowing can happen with little impact on the systems behavior orperformance:

The number of users can increase.

The amount of system traffic can increase.

You can switch the back-end data services or other services(usually in the direction of more powerful processing engines).

You can look at scalability as a specialized aspect of performance. Itshould therefore come as no surprise that measures to improve per-formance might also improve scalability, such as the following:

Putting more business-rule processing in the user-interface tieron local workstations. Of course, this measure is usually a badidea for other considerations (such as maintainability).

Using a DHTML application, as described in Chapter 17.This provides a more maintainable way to offload processingto workstations. A DHTML application provides an ActiveXDLL component that downloads to the users workstationwhen the user opens a Web page with Internet Explorer. Youcould include business rules in this ActiveX component andthereby put less demand on server resources as more usersbegin to use the system.

Partitioning data access into a data tier (the actual databaseserver, such as SQL Server) and one or more data-access tiers.This will allow the data server to be more or less painlesslyswitched out, perhaps with only a recompile of the data-accesstier to point to a different data-access library or data engine, ormaybe even just a change in initialization files or Registryentries.

Using other data-access techniques that offload processingfrom the server to workstations.

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 27

04 002-8 CH 01 3/1/99 7:38 AM Page 27

28 Par t I VISUAL BASIC 6 EXAM CONCEPTS

This would include the use of client-side servers and offlinebatch processing, as described in detail in Chapter 9.

Splitting processing into multiple component tiers. This opensthe door to moving these tiers to different servers in the future,thus relieving the load on a particular server.

AvailabilityOptimum availability of a solution means that it can be reachedfrom the most locations possible and during the greatest possibleamount of time.

Availability is therefore affected by the method of deployment:

Local

Network

Intranet

Internet

The best choice for availability depends on the nature of the solutionand on the usage scenarios for the solution.

For a desktop application, local availability might be perfectlyacceptable. If the users are mobile laptop users, then Internet availability might be the best bet.

SecuritySecurity is the most readily understandable issue of all those men-tioned here.

For best security, a systems services should be centralized in a singlephysical location (to simplify administration and give less slack towould-be violators of security). Such a requirement might conflictwith availability, scalability, and performance needs.

04 002-8 CH 01 3/1/99 7:38 AM Page 28

DESIGNING VB DATA-ACCESSCOMPONENTS FOR A MULTITIERAPPLICATION. Design Visual Basic components to access data from a data-

base in a multitier application (70-175 and 70-176).

The role of the data-access component is central to the n-tier application model.

In the standard client/server model, the components are divided intothe following:

A client component, usually residing on local workstations andcontaining a user interface and business rules.

A server component that implements data access.

In the standard three-tier model, the components are as follows:

A client component containing the user interface services

A business logic component containing business rules

A data-access component

In an n-tier model, the components are as follows:

A client component containing the user interface services

One or more business logic components that implement various broad areas of business rules

One or more business data access components that mediatebetween the business logic components and the data-servicescomponent

A data-services component that provides data to the data-access components

In the context of VB6 development, a data-access component willtypically be a COM component exposing one or more data-awareclasses, as either of the following:

Chapter 1 DEVELOPING THE CONCEPTUAL AND LOGICAL DESIGN AND DERIVINGTHE PHYSICAL DESIGN 29

04 002-8 CH 01 3/1/99 7:38 AM Page 29

30 Par t I VISUAL BASIC 6 EXAM CONCEPTS

An ActiveX EXE (an out-of-process component) running on aserver

or

An ActiveX DLL (an in-process component) running on aserver under Microsoft Transaction Server

An important consideration for implementing individual datamanipulation facilities is the decision about whether to loca


Recommended