内容简介
这是一本详细讲解如何使用Visual Basic 6.0进行编程的英文版教材。根据国内教学的特点,该书在原书的基础上进行了较大幅度的删减。通过面向对象/事件驱动的技术,该书采用任务驱动的方式向学生逐步讲解Visual Basic编程的概念,让学生理解如何充分利用Visual Basic的强大功能,学会编写实际工作中遇到的应用程序。此外,该书还向学生介绍了Visual Basic.NET的最新功能。 该书是美国卡内基梅隆大学SSD软件系统开发课程指定教材,可作为大中专院校相关专业学生的教材和参考书,更可满足国内计算机双语教学的需要。
本书特点
每章的案例 全书的每一章都以一个与编程相关的问题开始,这些问题都是学生在现实生活中会遇到的情况。每一章的后续部分全部围绕解决这些问题而展开。 渐进的学习方法 独特的“Course Technology方法学”能使学生紧密跟踪各章的重点。这种方法已使无数的读者获益。 “Help?”段落 提示学生可能遇到的各种问题,帮助他们提高独立解决问题的能力。 小技巧 提供额外的信息,比如应避免的常见错误以及编程技术的背景知识等。 教师手册 包括VB的扩展知识、习题答案、教学建议、技术注解、供教学用的PPT文档以及VB安装程序等。
改编说明
为精简篇幅,本书删除了原书Tutorial 8(随机访问文件)、Tutorial 9(数据库访问)、Tutorial 12(Visual Basic.NET进阶和Internet)及全部附录,并对Tutorial 4(选择结构)和Tutorial 5(循环结构)进行了缩减,分别删除了If...Then...Else、Select语句及循环控制语句的内容。
目录
Tutorial 1 AN INTRODUCTION TO VISUAL BASIC
Lesson A: Creating a New Project
Starting Visual Basic
The Visual Basic Startup Screen
Setting the Project’s Name Property
Saving a Visual Basic Project
Starting and Ending a Visual Basic Project
Opening a New Project
Opening an Existing Project
Exiting Visual Basic
Lesson B: Working with Controls
Getting Help in Visual Basic
Adding a Control to a Form
Sizing, Moving, and Deleting a Control
Adding Label Controls to the Copyright Screen
Setting the Properties of a Label Control
Setting the Left and Top Properties
Changing the Property for More than One Control at a Time
Saving Files Under a Different Name
Lesson C: Writing Code
Adding an Image Control to the Form
Adding a Command Button to the From
Writing Visual Basic Code
Setting the BorderStyle Property
Adding a Frame Control to a Form
Hiding and Displaying Controls
The Options Dialog Box..