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 .NET | p. 1 |
1.1 Software Development | p. 1 |
1.2 The Life-Cycle Approach | p. 3 |
1.3 Software Requirements Specification | p. 10 |
1.4 Algorithms | p. 15 |
1.5 Visual Basic .NET Projects | p. 21 |
1.6 Summary | p. 22 |
2 Software Design | p. 44 |
2.1 Designing Objects, Classes and Applications | p. 44 |
2.2 Object Relationships | p. 49 |
2.3 An Example Class Design | p. 58 |
2.4 Locating Class Code in VB .NET | p. 61 |
3 The Visual Basic .NET Language | p. 71 |
3.1 The Common Language Runtime | p. 71 |
3.2 Variables | p. 73 |
3.3 Expressions and Operators | p. 84 |
3.4 Statements and Blocks | p. 88 |
3.5 Structured Variables | p. 90 |
3.6 Enumerations | p. 93 |
4 Objects in Visual Basic .NET | p. 107 |
4.1 Classes | p. 107 |
4.2 Object-Orientation and Variables | p. 121 |
5 Controlling Program Code | p. 143 |
5.1 Control Structures | p. 143 |
5.2 Selection Structures | p. 144 |
5.3 Repetition | p. 154 |
5.4 Subs, Functions and Parameters | p. 166 |
5.5 Errors and Exception-Handling | p. 174 |
5.6 Scope | p. 183 |
6 Data and Object Structures | p. 212 |
6.1 Organizing Data | p. 212 |
6.2 Arrays | p. 214 |
6.3 Other Data Structures | p. 233 |
6.4 Choosing Collections | p. 250 |
7 Inheritance and Polymorphism | p. 278 |
7.1 Inheritance in Visual Basic | p. 278 |
7.2 Code Inheritance | p. 287 |
7.3 Interface Inheritance | p. 301 |
7.4 Inheriting Data Structures | p. 306 |
7.5 Visual Inheritance | p. 308 |
7.6 Polymorphism | p. 309 |
8 WinForms Applications | p. 324 |
8.1 Application Structure | p. 324 |
8.2 WinForms Basics | p. 334 |
8.3 User Interface Code and the Form Designer | p. 340 |
8.4 Tools for Creating a User-interface | p. 345 |
8.5 Dialog Boxes and Other User-interface Options | p. 346 |
8.6 Other Form Styles | p. 351 |
8.7 Controls Collection | p. 355 |
8.8 Delegates and Event-handlers | p. 355 |
8.9 Visual Inheritance | p. 358 |
9 WinForms Controls in Detail | p. 375 |
9.1 Windows Controls | p. 375 |
9.2 Accessing Controls Collectively | p. 387 |
9.3 Command Controls | p. 388 |
9.4 Simple Input Controls | p. 390 |
9.5 List Controls | p. 398 |
9.6 Manipulating Controls at Run Time | p. 408 |
9.7 Graphics in WinForms Programs | p. 415 |
10 Object Modelling | p. 444 |
10.1 Application Structure | p. 444 |
10.2 Modelling Real-World Object Structures | p. 450 |
10.3 Choices in Modelling Object Relationships | p. 458 |
10.4 Managing Scarce Resources | p. 463 |
10.5 Software Patterns | p. 471 |
11 Files, Streams and Serialization | p. 511 |
11.1 Storing Application Data | p. 511 |
11.2 Computer Files | p. 512 |
11.3 The Windows Registry | p. 514 |
11.4 File Storage | p. 517 |
11.5 Structured Data | p. 523 |
11.6 Serialization | p. 526 |
11.7 XML | p. 535 |
12 Databases in Visual Basic .NET | p. 569 |
12.1 Object-Oriented Database Systems | p. 569 |
12.2 .NET Support for Relational Databases | p. 579 |
12.3 Data Access in a Three-Tiered System | p. 582 |
12.4 Reading and Writing Data | p. 584 |
12.5 Data Object Modelling | p. 604 |
12.6 Summary | p. 611 |
Appendix 1 VB .NET Programming without Visual Studio | p. 629 |
Appendix 2 Connections | p. 636 |
Appendix 3 Visual Basic Style Guide | p. 642 |
Appendix 4 Application Checklist | p. 655 |
Index | p. 658 |