Visual Basic程序设计教程 第十版 英文版
作者: (美)戴维 I.施耐德(DavidI.Schneider)著 罗凌改编
出版时间: 2019年版
内容简介
David I. Schneider的Visual Basic教材自出版以来,深受读者欢迎,第十版对前几版的内容进行了全面的修订与更新。本书不是粗略地论及众多主题,而是针对重要问题进行深入分析。全书共10章,主要内容包括:Visual Basic简介、控件与事件,变量、输入和输出,分支结构,通用过程,循环结构,数组,其他控件和对象,面向对象编程,数据库,以及文本文件。全书给出了100多个示例和大量的习题,每章后面还提供了实践性很强的程序设计项目,帮助读者掌握所学知识。
目录
Contents
Chapter 1 Visual Basic, Controls, and Events 1
1.1 An Introduction to Visual Basic 2015 1
1.2 Visual Basic Controls 3
1.3 Visual Basic Events 21
Chapter 2 Variables, Input, and Output 36
2.1 Numbers 36
2.2 Strings 54
2.3 Input and Output 74
Chapter 3 Decisions 93
3.1 Relational and Logical Operators 93
3.2 If Blocks 101
3.3 Select Case Blocks 122
3.4 Input via User Selection 136
Chapter 4 General Procedures 154
4.1 Function Procedures 154
4.2 Sub Procedures, Part I 170
4.3 Sub Procedures, Part II 185
4.4 Program Design 196
4.5 A Case Study: Weekly Payroll 199
Chapter 5 Repetition 212
5.1 Do Loops 212
5.2 For . . . Next Loops 226
5.3 List Boxes and Loops 240
Chapter 6 Arrays 256
6.1 Creating and Using Arrays 256
6.2 Using LINQ with Arrays 282
6.3 Arrays of Structures 296
6.4 Two-Dimensional Arrays 322
6.5 A Case Study: Analyze a Loan 335
Chapter 7 Additional Controls and Objects 352
7.1 List Boxes and Combo Boxes 352
7.2 Eight Additional Controls and Objects 360
7.3 Multiple-Form Programs 375
7.4 Graphics 387
Chapter 8 Object-Oriented Programming 406
8.1 Classes and Objects 406
8.2 Working with Objects 423
8.3 Inheritance 434
Chapter 9 Databases 454
9.1 An Introduction to Databases 454
9.2 Editing and Designing Databases 478
Chapter 10 Text Files 488
10.1 Managing Text Files 488
10.2 StreamReaders, StreamWriters, and Structured Exception Handling 504
10.3 A Case Study: Recording Checks and Deposits 522
Appendices…………………………………………………………………………………………………535
Appendix A ANSI Values 535
Appendix B How To 537
Appendix C Files and Folders 549
Appendix D Visual Basic Debugging Tools 550