Mastering Visual Basic by Example cover

Mastering Visual Basic by Example

No rating yet
Chapters
1
Series
Programming by Example Lecture Hall
ISBN
9787111263296

Tags

Summary

Mastering Visual Basic by Example is one title in the "Programming by Example Lecture Hall" series from China Machine Press, written by Chai Xianghua and others, published in April 2009, with 491 pages and one accompanying CD. Aimed at Visual Basic beginners and readers with some VB foundation, the book uses an "examples first, knowledge points second" approach: rather than listing syntax, controls, and functions in isolation as a manual, it links language elements to common application scenarios through small, reproducible examples. Following along, readers understand concepts through hands-on work and accumulate reusable code fragments. The book is divided into six parts. The Basic Knowledge part covers identifiers and data types, constants and variables, operators and expressions, arrays (one- and two-dimensional arrays and control arrays), basic statements (assignment, conditionals, Select Case, various loops, file writing), procedures (optional parameters, variable parameters, array parameters), basic and date functions, and string-processing functions. The Interface Design part centers on form design and the use of common controls. The Image and Multimedia Processing part introduces graphics drawing, image display, and calling multimedia files. The File Processing part covers sequential files, random files, binary files, and folder operations. The Database Processing part introduces SQL statements, the basics of ActiveX Data Objects (ADO), and database design. The Network part covers the Web Browser control, FTP file transfer, and examples related to network transmission. Organized into parts for easy reference as needed, the book can serve both as a hands-on manual for VB programming enthusiasts and as a practical-training supplement or self-study text for related courses in secondary and higher schools.

Editor's review

大多数VB入门书的问题是“讲清语法,却做不出东西”。这本书换了一条路:先用一个能跑通的小例子说明某语法规则或函数“解决的是什么问题”,再回头解释语法规则或函数本身;读者每翻几页,就能在VB 6.0环境里得到一个有实际输出的小结果,学习反馈来得很快。 全书按六个主题分篇,由浅入深:从标识符、数据类型、循环语句这些最基础的部分开始,逐步过渡到窗体与控件、图形与多媒体、三类文件读写、SQL与ADO数据库访问,最后进入Web浏览器控件和FTP网络传输。这个顺序几乎覆盖了一套VB应用开发所需的全部常见模块,因此对于已经会写几行代码、但不知道下一步该练什么的读者,它也能起手册的作用。 尤其值得肯定的是,文件处理和数据库处理两篇讲得比较扎实:这两块正是当年VB最常用的实际用途,而一般教程往往一带而过。书后附有光盘,收录了书中全部示例源码;敲代码时卡住,随时可以对照运行。 需要提醒的是,书中的VB指Visual Basic 6.0时代的经典VB,与后来的VB.NET并不相同;如果你学的是.NET,代码无法直接照搬。但“用实例串起知识点”的学习思路是通用的。对于想在短期内获得“我能写出程序”的成就感的人,这是一本性价比很高的老书。

Who it's for

A good fit for

  • 正在学习Visual Basic 6.0、希望以动手实例入门的中文读者
  • 大中专院校计算机相关专业、需要VB实训辅助教材的学生
  • 已掌握基础语法、想补充界面、文件、数据库、网络应用练习的自学者
  • 需要一本可随手翻查的VB实例手册、用于日常小工具开发的业余开发者

Not a good fit for

  • 学习VB.NET或C#等现代.NET语言、需要最新技术栈资料的读者
  • 希望系统学习软件工程、算法与架构设计,而非具体语法实例的读者
  • 完全不打算动手写代码、只想读概念性介绍的人

Reading tips

  1. 先装好VB 6.0或兼容环境,再读第一篇;每读完一小节,立刻照着敲一遍代码,确认能运行后再继续。
  2. 按“基础知识篇→界面设计篇→文件处理篇→数据库处理篇→网络篇”的顺序阅读,图像多媒体篇可在需要时穿插查阅。
  3. 遇到报错先对照书中示例源码(随书光盘)比对,养成用调试窗口查看变量值的习惯,比直接看答案收获更大。
  4. 把每篇的实例改造成与自己相关的小工具(如记账、文件批量改名),改造过程本身就是最好的巩固。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Programming by Example Lecture Hall

FAQ

这本书讲的是VB 6.0还是VB.NET?
书中的Visual Basic指经典的VB 6.0,即Visual Studio 6.0时代的开发环境,语法和对象模型与VB.NET差别较大。若你学的是VB.NET,书中的代码不能直接照搬,但“用实例串知识点”的学习思路仍可借鉴。
零基础能直接读这本书吗?
可以,但需要耐心。第一篇从标识符、数据类型、变量和基本语句讲起,默认读者是初学者;不过全书侧重实例操作,没有大量理论铺垫,建议边敲代码边读,遇到不懂的语法再补基础教材。
随书光盘里的内容和书里一致吗?
随书附有光盘1片,收录书中各章实例的源代码与相关素材,方便读者对照运行。纸质书本身按“实例驱动”编写,每个例子都有操作说明,即使光盘丢失也能照着步骤自行实现。
VB已经过时了,这本书还有学习价值吗?
若目标是使用现代.NET进行开发,这本书不适合作为首选。但VB 6.0在大量老系统和教学场景中仍在使用,书中关于文件读写、ADO数据库访问、窗体控件、FTP等思路具通用性,可作为了解经典Windows桌面编程的实践读物。
这本书的字数和评分是多少?
目前公开资料只给出491页、16开本、定价59.80元及ISBN 9787111263296等信息,未见可靠的字数统计与读者评分数据,故不作标注。

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.

Top rated in the same category