Cover image for MCSD test success : Visual Basic 6 desktop applications
MCSD test success : Visual Basic 6 desktop applications
McKelvy, Michael.
Personal Author:
Publication Information:
San Francisco, Calif. ; London : SYBEX, [1999]

Physical Description:
xxiii, 423 pages : illustrations ; 23 cm
General Note:
"Exam 70-176."--Cover.
Format :


Call Number
Material Type
Home Location
Item Holds
QA76.3 .M32568 1999 Adult Non-Fiction Central Closed Stacks

On Order



Sybex offers a complete line of Study Guides and Test Success books for MCSD certification, including books for all the core exams and the most popular elective exams. Look for Sybex MCSD titles at your favorite bookseller or visit for further information. Book jacket.

Table of Contents

Introductionp. xiv
Unit 1 Designing Your Applicationsp. 1
Assess the Potential Impact of the Logical Design on Performance, Maintainability, Extensibility, and Availabilityp. 3
Designing Maintainable Codep. 4
Designing for Code Reusep. 8
Designing for Performancep. 9
Design Visual Basic Components to Access Data from a Databasep. 9
Creating Components from Class Modulesp. 10
Creating Data-Bound Componentsp. 14
Design the Properties, Methods, and Events of Componentsp. 14
Determining the Design of the Componentp. 15
Creating a Property in a Componentp. 16
Creating a Method in a Componentp. 18
Creating an Eventp. 21
Unit 2 Setting Up Visual Basicp. 29
Establish the Environment for Source Code Version Controlp. 31
Adding a Projectp. 33
Retrieving a Projectp. 34
Install and Configure Visual Basic for Developing Desktop Applicationsp. 36
Running the Installation Programp. 36
Configuring Your Environmentp. 39
Unit 3 Developing the Basic User Interfacep. 47
Implement Navigational Designp. 49
Creating and Modifying Menusp. 50
Dynamically Modifying the Appearance of a Menup. 54
Adding a Pop-up Menu to an Applicationp. 57
Adding and Deleting Menu Itemsp. 59
Adding Controls to Formsp. 61
Setting Control Propertiesp. 62
Writing Code for Eventsp. 63
Unit 4 Creating Data Input Forms and Dialog Boxesp. 77
Create Data Input Forms and Dialog Boxesp. 79
Displaying and Manipulating Data Using Custom Controlsp. 79
Adding and Deleting Controls at Runtimep. 98
Using the Controls Collection to Manipulate Controls at Runtimep. 101
Using the Forms Collection to Manipulate Forms at Runtimep. 106
Unit 5 Writing Code for Your Applicationsp. 119
Write Code That Validates User Inputp. 121
Verifying Data in an Applicationp. 122
Enabling and Disabling Controls in an Applicationp. 126
Write Code That Processes Data Entered on a Formp. 128
Coding Events That Occur When a Form Loadsp. 128
Coding Events That Occur When a Form Unloadsp. 130
Unit 6 Working with COM Componentsp. 139
Add an ActiveX Control to the Toolboxp. 141
Create a Web Page by Using the DHTML Page Designer to Dynamically Change Attributes of Elements, Change Content, Change Styles, and Position Elementsp. 144
Use Data Binding to Display and Manipulate Data from a Data Sourcep. 147
Instantiate and Invoke a COM Componentp. 149
Using COM Componentsp. 150
Handling Events from a COM Componentp. 153
Create Callback Procedures to Enable Asynchronous Processing between COM Components and Visual Basic Client Applicationsp. 154
Unit 7 Implementing Help and Handling Errorsp. 165
Implement Online User Assistance in a Desktop Applicationp. 167
Enabling Help in Your Applicationp. 169
Creating HTML Helpp. 174
Sending Messages from a Server Componentp. 175
Implement Error Handling for the User Interface in Desktop Applicationsp. 176
Identifying and Trapping Runtime Errorsp. 177
Handling Inline Errorsp. 181
Unit 8 Creating COM Componentsp. 193
Create a COM Component That Implements Business Rules or Logic. Components Include DLLs, ActiveX Controls, and Active Documentsp. 196
Creating ActiveX Servers for Implementing Business Rulesp. 196
Create ActiveX Controlsp. 197
Setting Up the Properties of a Controlp. 198
Saving Persistent Property Information for Your Controlp. 207
Testing and Debugging Your Controlp. 209
Creating Property Pages for a Controlp. 210
Enabling Data Binding for a Controlp. 212
Creating a Data Sourcep. 213
Create an Active Documentp. 214
Interacting with a Containerp. 216
Navigating in an ActiveX Document Applicationp. 217
Unit 9 Managing COM Componentsp. 231
Debug a COM Client Written in Visual Basicp. 233
Starting a Projectp. 234
Avoiding Problems with COM Componentsp. 235
Finding and Killing Bugsp. 237
Compile a Project with Class Modules into a COM Componentp. 239
Implementing an Object Model within a COM Componentp. 239
Controlling the Instancing of a Class within a COM Componentp. 240
Use Visual Component Manager to Manage Componentsp. 241
Adding Componentsp. 242
Retrieving a Componentp. 244
Register and Unregister a COM Componentp. 244
Unit 10 Creating Database Applicationsp. 257
Access and Manipulate a Data Source by Using ADO and the ADO Data Controlp. 259
Setting Up the ADO Data Controlp. 260
Working with Bound Controlsp. 264
Extending the Capabilities of the ADODCp. 267
Unit 11 Debugging Your Applicationp. 281
Given a Scenario, Select the Appropriate Compiler Optionsp. 283
Choosing Native Code or P-Codep. 285
Selecting Native Code Optimization Optionsp. 286
Working with Advanced Optionsp. 287
Control an Application by Using Conditional Compilationp. 288
Marking the Code to Be Compiledp. 289
Setting the Conditional Variablesp. 290
Set Watch Expressions During Program Executionp. 292
Setting Watches for Your Variablesp. 294
Monitoring Variables with Other Toolsp. 296
Monitor the Values of Expressions and Variables by Using the Immediate Windowp. 297
Monitoring Values in the Immediate Windowp. 298
Using the Locals Windowp. 299
Implement Project Groups to Support the Development and Debugging Processesp. 300
Debugging DLLs in Processp. 302
Debugging a Controlp. 303
Given a Scenario, Define the Scope of a Watch Variablep. 303
Unit 12 Preparing Your Application for Distributionp. 315
Use the Package and Deployment Wizard to Create a Setup Program That Installs a Desktop Application, Registers the COM Components, and Allows for Uninstallp. 317
Plan and Implement Floppy Disk-Based Deployment or Compact Disk-Based Deployment for a Desktop Applicationp. 319
Packaging the Components of Your Applicationp. 320
Deploying to Disksp. 323
Plan and Implement Web-Based Deployment for a Desktop Applicationp. 325
Plan and Implement Network-Based Deployment for a Desktop Applicationp. 327
Fix Errors, and Take Measures to Prevent Future Errorsp. 328
Deploy Application Updates for Desktop Applicationsp. 330
Unit 13 Final Reviewp. 339
Final Reviewp. 340
Appendix Study Question and Sample Test Answersp. 361
Glossaryp. 407
Indexp. 412