Visual Basic Programming
Tags
Summary
Editor's review
As a technical tutorial, the book's strength lies in its plain narrative style and solid knowledge system. Rather than pursuing flashy tricks, the author focuses on building a firm foundation, which is crucial for beginners to establish correct ways of thinking. The explanations of key concepts such as event-driven programming and visual interface design are particularly effective, helping readers understand how Windows applications work.
Although Visual Basic 6.0 is no longer a mainstream development tool, the programming ideas, problem-decomposition methods, and logical-construction skills the book teaches retain lasting value. For readers who need to quickly understand the principles of desktop application development or who work on maintaining legacy VB systems, the book remains a practical stepping stone. It is more like a patient mentor, guiding you through the entire process from understanding code to writing useful programs.
Who it's for
A good fit for
- Lower-year students in computer-related majors at colleges and universities
- Programming beginners who want to systematically learn desktop application development
- Technical personnel who need to understand or maintain legacy VB6-based systems
- Self-learners interested in event-driven and visual programming concepts
Not a good fit for
- Developers seeking to learn modern languages such as VB.NET on the .NET platform or C#
- Senior programmers who want to delve into advanced programming techniques or software architecture
Reading tips
- Read the chapters in order and be sure to practice every sample code in the book hands-on
- After understanding the basic syntax, try modifying and extending the book's cases to deepen your understanding
- Compare this book with a foundational tutorial in a modern programming language (such as Python) to appreciate the commonalities of programming ideas
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- 版权信息
- 内容提要
- 前言
- 第1章 Visual Basic概述
- 1.1 Visual Basic的编程特点
- 1.1.1 Visual Basic的发展历史
- 1.1.2 Visual Basic的编程特点
- 1.2 Visual Basic的启动与退出
- 1.3 Visual Basic的集成开发环境
- 1.3.1 标题栏
- 1.3.2 菜单栏
- 1.3.3 工具栏
- 1.3.4 工具箱
- 1.3.5 窗口
- 1.4 可视化编程的基本概念
- 1.4.1 对象和类
- 1.4.2 属性
- 1.4.3 事件
- 1.4.4 方法
- 1.5 窗体
- 1.5.1 窗体的属性
- 1.5.2 窗体的事件
- 1.5.3 窗体的方法
- 1.6 Visual Basic开发应用程序
- 1.6.1 编写简单的Visual Basic应用程序
- 1.6.2 用Visual Basic 开发应用程序的一般步骤
- 1.7 程序调试
- 1.7.1 错误类型
- 1.7.2 调试与排错
- 本章小结
- 习题1
- 第2章 Visual Basic程序设计基础
- 2.1 数据类型
- 2.1.1 数值型数据
- 2.1.2 字符串型数据
- 2.1.3 逻辑型数据
- 2.1.4 日期型数据
- 2.1.5 对象型数据
- 2.1.6 可变类型数据
- 2.2 常量与变量
- 2.2.1 常量
- 2.2.2 变量
- 2.3 Visual Basic中的运算符和运算表达式
- 2.3.1 算术运算符与算术表达式
- 2.3.2 字符串运算符和字符串表达式
- 2.3.3 日期表达式
- 2.3.4 关系运算符与关系表达式
- 2.3.5 逻辑运算符与逻辑表达式
- 2.3.6 表达式的运算顺序
- 2.4 Visual Basic程序书写规则
- 2.5 Visual Basic的常用内部函数
- 2.5.1 数学函数
- 2.5.2 数据类型转换函数
- 2.5.3 字符串操作函数
- 2.5.4 日期和时间函数
- 本章小结
- 习题2
- 第3章 Visual Basic程序控制结构
- 3.1 顺序结构
- 3.1.1 赋值语句
- 3.1.2 数据输入和输出
- 3.1.3 暂停与程序结束语句
- 3.1.4 应用举例
- 3.2 选择结构
- 3.2.1 单行结构If条件语句
- 3.2.2 块结构If条件语句
- 3.2.3 多分支条件语句
- 3.2.4 应用举例
- 3.3 循环结构
- 3.3.1 For…Next循环结构
- 3.3.2 Do…Loop循环结构
- 3.3.3 While…Wend循环结构
- 3.3.4 循环的嵌套
- 3.3.5 应用举例
- 本章小结
- 习题3
- 第4章 Visual Basic常用基本控件
- 4.1 概述
- 4.2 命令按钮
- 4.2.1 命令按钮的常用属性
- 4.2.2 命令按钮的常用事件
- 4.3 标签和文本框
- 4.3.1 标签
- 4.3.2 文本框
- 4.4 单选按钮、复选框和框架
- 4.4.1 单选按钮
- 4.4.2 复选框
- 4.4.3 框架
- 4.5 列表框和组合框
- 4.5.1 列表框
- 4.5.2 组合框
- 4.6 图像框和图片框
- 4.6.1 图片框
- 4.6.2 图像框
- 4.7 滚动条
- 4.7.1 滚动条的常用属性
- 4.7.2 滚动条的常用事件
- 4.8 计时器
- 本章小结
- 习题4
- 第5章 数组
- 5.1 数组的基本概念
- 5.1.1 数组与数组元素
- 5.1.2 数组的维数
- 5.2 数组的定义
- 5.2.1 一维数组的定义
- 5.2.2 一维数组元素的引用
- 5.2.3 二维数组的定义
- 5.2.4 二维数组的引用
- 5.2.5 动态数组的定义
- 5.3 数组的基本操作
- 5.3.1 一维数组的基本输入与输出
- 5.3.2 一维数组的应用
- 5.3.3 二维数组的基本输入与输出
- 5.3.4 二维数组的应用
- 5.3.5 与数组操作相关的几个函数
- 5.4 数组应用举例
- 5.4.1 一维数组应用举例
- 5.4.2 二维数组应用举例
- 5.5 控件数组
- 5.5.1 控件数组的概念
- 5.5.2 控件数组的建立
- 本章小结
- 习题5
- 第6章 过程
- 6.1 事件过程
- 6.2 Sub过程
- 6.2.1 子过程的定义
- 6.2.2 子过程的建立
- 6.2.3 子过程的调用
- 6.3 Function过程
- 6.3.1 函数过程的定义
- 6.3.2 函数过程的建立
- 6.3.3 函数过程的调用
- 6.4 过程之间参数的传递
- 6.4.1 形式参数与实际参数
- 6.4.2 参数传递
- 6.4.3 数组作为过程的参数
- 6.5 过程递归调用
- 6.6 变量作用域及生存期
- 6.6.1 变量的作用域
- 6.6.2 变量的生存期
- 本章小结
- 习题6
- 第7章 界面设计
- 7.1 菜单设计
- 7.1.1 下拉式菜单
- 7.1.2 弹出式菜单
- 7.2 对话框设计
- 7.2.1 自定义对话框
- 7.2.2 通用对话框
- 7.2.3 通用对话框控件的使用
- 7.3 状态栏设计
- 7.4 工具栏设计
- 7.4.1 使用手工方式制作工具栏
- 7.4.2 使用工具栏控件制作工具栏
- 7.5 多文档界面设计
- 7.5.1 多文档界面
- 7.5.2 建立多文档界面
- 7.5.3 创建MDI应用程序的菜单
- 7.6 Visual Basic 的工程结构
- 本章小结
- 习题7
- 第8章 文件
- 8.1 文件的基本概念
- 8.1.1 文件的类型
- 8.1.2 文件操作语句和函数
- 8.2 顺序文件
- 8.2.1 顺序文件的打开与关闭
- 8.2.2 顺序文件的读写
- 8.3 随机文件
- 8.3.1 定义数据类型和变量声明
- 8.3.2 随机文件的打开与关闭
- 8.3.3 随机文件的读写操作
- 8.4 文件系统控件
- 8.4.1 驱动器列表框
- 8.4.2 目录列表框
- 8.4.3 文件列表框
- 8.4.4 文件系统控件的组合使用
- 8.5 文件系统对象模型
- 8.5.1 文件系统对象模型概述
- 8.5.2 文件系统对象
- 8.5.3 管理驱动器
- 8.5.4 管理文件夹
- 8.5.5 管理文件
- 本章小结
- 习题8
- 第9章 图形及多媒体
- 9.1 鼠标和键盘事件
- 9.1.1 鼠标事件
- 9.1.2 键盘事件
- 9.1.3 拖放
- 9.2 图形控件与方法
- 9.2.1 图形的坐标系统
- 9.2.2 图形控件
- 9.2.3 图形方法
- 9.3 多媒体控件
- 9.3.1 Animation控件
- 9.3.2 MMControl控件
- 9.3.3 Shockwave Flash控件
- 本章小结
- 习题9
- 第10章 数据库程序设计
- 10.1 数据库基础
- 10.1.1 数据库基本概念
- 10.1.2 结构化查询语言SQL
- 10.2 Visual Basic可视化数据管理器
- 10.2.1 建立数据库
- 10.2.2 建立数据查询
- 10.3 用控件访问数据库
- 10.3.1 数据控件的属性
- 10.3.2 数据控件的常用方法和事件
- 10.3.3 记录的维护操作
- 10.4 ADO对象编程模型
- 10.4.1 DAO、RDO和ADO
- 10.4.2 ADO对象模型
- 10.4.3 使用ADO数据控件
- 10.4.4 ADO数据控件用法
- 10.4.5 ADO控件的事件
- 本章小结
- 习题10
- 参考文献
FAQ
Which version of Visual Basic does this book use?
Is there still value in learning VB 6.0 today?
Is this book suitable for people with no programming background at all?
Related on WeRead
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Lu Kui is an author about whom limited public information is available; the details currently confirmed center on the field of computer programming instruction. Two works by this author are included in the collection: Visual Basic Programming and Visual Basic Programming Experiments and Exam Guide, both commonly classified under programming design. Judging from the combination of these two titles, the author pays attention both to systematic explanation of basic programming language knowledge and to practical elements such as hands-on experiments and exam guidance, reflecting a textbook-oriented approach aimed at learners. The former focuses on fundamental concepts and methods of program design, while the latter supports experimental and examination needs, forming a structure in which knowledge learning and hands-on practice are connected. Because birth and death dates, nationality, and professional career are not found in the available materials, no speculation is made here. Overall, Lu Kui's writing style tends toward practicality and instructional support, suitable as a reference for Visual Basic beginners and exam preparation.
Yin Xiaobo — public information is limited, but it can be confirmed that Yin is one of the authors of computer textbooks for higher education. Together with Lu Kui, Yin co-edited Visual Basic Programming, published by Posts & Telecom Press in 2018 as a planned computer textbook for universities. In the same direction, the library also includes Yin's Visual Basic Programming: Experiments and Exam Guide, indicating that the writing covers both classroom instruction and teaching components such as lab work and examinations. Judging from the available works, Yin Xiaobo's writing focuses on the basics of Visual Basic programming for university students' introductory learning and hands-on practice, with an emphasis on textbook standards and practicality and chapters arranged to follow course progress. These textbooks provide beginners with systematic introductory material for understanding basic programming concepts and mastering programming methods in a visual development environment, and are suitable as companion books for related courses.