Cover image for Object-oriented programming in Visual Basic .NET
Title:
Object-oriented programming in Visual Basic .NET
Personal Author:
Publication Information:
Harlow : Pearson Addison-Wesley, 2004
ISBN:
9780201787054

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010063781 QA76.64 M56 2004 Open Access Book Book
Searching...

On Order

Summary

Summary

Object-Oriented Programming in Visual Basic . NETAlistair McMonnies Approved by author 8th September 2003 Visual Basic . Net (VB . NET) has been a radical departure from previous versions of Visual Basic. The language is now fully object-oriented, and can be used either to write programs, or to create components that fit within the . NET architecture. If you are learning to program, VB . NET will give you a previously unheard-of mix of power, flexibility and ease of use. The book approaches the language from an object-oriented (OO) perspective, demonstrating that Visual Basic can now be used to develop real industrial-strength OO systems and software components. It starts by covering OO analysis, design and modelling using UML, and then moves on to a full discussion of OO concepts. Advanced topics such as data structures, database applications and software design patterns are also covered. Throughout, students are shown how to develop short programs in order to illustrate the fundamentals of algorithm design and structured programming. Features Object-oriented programming is placed fully in the context of the software development life cycle Includes a chapter on database developmen


Author Notes

Alistair McMonnies is currently a lecturer in the Computing and Information Systems department at the University of Paisley.


Table of Contents

Introduction: What is Visual Basic .NET?p. xii
1 Software Development and .NETp. 1
1.1 Software Developmentp. 1
1.2 The Life-Cycle Approachp. 3
1.3 Software Requirements Specificationp. 10
1.4 Algorithmsp. 15
1.5 Visual Basic .NET Projectsp. 21
1.6 Summaryp. 22
2 Software Designp. 44
2.1 Designing Objects, Classes and Applicationsp. 44
2.2 Object Relationshipsp. 49
2.3 An Example Class Designp. 58
2.4 Locating Class Code in VB .NETp. 61
3 The Visual Basic .NET Languagep. 71
3.1 The Common Language Runtimep. 71
3.2 Variablesp. 73
3.3 Expressions and Operatorsp. 84
3.4 Statements and Blocksp. 88
3.5 Structured Variablesp. 90
3.6 Enumerationsp. 93
4 Objects in Visual Basic .NETp. 107
4.1 Classesp. 107
4.2 Object-Orientation and Variablesp. 121
5 Controlling Program Codep. 143
5.1 Control Structuresp. 143
5.2 Selection Structuresp. 144
5.3 Repetitionp. 154
5.4 Subs, Functions and Parametersp. 166
5.5 Errors and Exception-Handlingp. 174
5.6 Scopep. 183
6 Data and Object Structuresp. 212
6.1 Organizing Datap. 212
6.2 Arraysp. 214
6.3 Other Data Structuresp. 233
6.4 Choosing Collectionsp. 250
7 Inheritance and Polymorphismp. 278
7.1 Inheritance in Visual Basicp. 278
7.2 Code Inheritancep. 287
7.3 Interface Inheritancep. 301
7.4 Inheriting Data Structuresp. 306
7.5 Visual Inheritancep. 308
7.6 Polymorphismp. 309
8 WinForms Applicationsp. 324
8.1 Application Structurep. 324
8.2 WinForms Basicsp. 334
8.3 User Interface Code and the Form Designerp. 340
8.4 Tools for Creating a User-interfacep. 345
8.5 Dialog Boxes and Other User-interface Optionsp. 346
8.6 Other Form Stylesp. 351
8.7 Controls Collectionp. 355
8.8 Delegates and Event-handlersp. 355
8.9 Visual Inheritancep. 358
9 WinForms Controls in Detailp. 375
9.1 Windows Controlsp. 375
9.2 Accessing Controls Collectivelyp. 387
9.3 Command Controlsp. 388
9.4 Simple Input Controlsp. 390
9.5 List Controlsp. 398
9.6 Manipulating Controls at Run Timep. 408
9.7 Graphics in WinForms Programsp. 415
10 Object Modellingp. 444
10.1 Application Structurep. 444
10.2 Modelling Real-World Object Structuresp. 450
10.3 Choices in Modelling Object Relationshipsp. 458
10.4 Managing Scarce Resourcesp. 463
10.5 Software Patternsp. 471
11 Files, Streams and Serializationp. 511
11.1 Storing Application Datap. 511
11.2 Computer Filesp. 512
11.3 The Windows Registryp. 514
11.4 File Storagep. 517
11.5 Structured Datap. 523
11.6 Serializationp. 526
11.7 XMLp. 535
12 Databases in Visual Basic .NETp. 569
12.1 Object-Oriented Database Systemsp. 569
12.2 .NET Support for Relational Databasesp. 579
12.3 Data Access in a Three-Tiered Systemp. 582
12.4 Reading and Writing Datap. 584
12.5 Data Object Modellingp. 604
12.6 Summaryp. 611
Appendix 1 VB .NET Programming without Visual Studiop. 629
Appendix 2 Connectionsp. 636
Appendix 3 Visual Basic Style Guidep. 642
Appendix 4 Application Checklistp. 655
Indexp. 658