|2020ok Directory of FREE Online Books and FREE eBooks|
How To Program Visual Basic 5.0
by Harvey M. Deitel, Paul J. Deitel, and Tem R. Nieto
(Respecting the intellectual property of others is utmost important to us, we make every effort to make sure we only link to legitimate sites, such as those sites owned by authors and publishers. If you have any questions about these links, please contact us.)
This complete course in Visual Basic 6 comes straight from the world's leading programming trainers, Deitel & Associates. Whether you're a novice or experienced developer, here's your single source for learning both fundamental concepts and the realities of VB development for maximum performance and reliability. Start with a high-level overview of programming concepts and the VB6 Integrated Development Environment. Learn control structures, procedures, functions, arrays, string processing and basic graphics techniques. Discover VB6's powerful tools for GUI development; manage error handling and debugging; understand sequential and random access file processing; and integrate VB6 with business databases. The book includes detailed coverage of VB6 object techniques, Web development, and distributing applications with COM, COM+ and DCOM.
Helps you build real-world VB6 applications. Includes hundreds of live code programs with screen captures that show exact outputs, extensive exercises accompanying every chapter, & hundreds of tips, recommendations, & cautions. Paper. CD-ROM included. DLC: Microsoft Visual Basic.
From the Back Cover
The Complete, authoritative introduction to Visual Basic 6
Visual Basic 6 is revolutionizing software development with multimedia-intensive, object-oriented, compiled code for conventional and Internet/Intranet-based applications, This new volumes in the Deitels' How to Program Series -- the world's most widely used introductory/intermediate, college-level programming language textbook series -- explains Visual Basic 6's extraordinary capabilities.
Dr. Harvey M. Deitel and Paul J. Deitel are the principals of Deitel & Associates, Inc., the internationally-recognized training organizations specializing in Java, C, C++, Visual Basic and object technologies. They are also the authors of the world's #1 introductory C, C++ and Java textbooks -- C How to Program, C++ How to Program, and Java How to Program. The Deitels and their colleague, Tem R. Nieto, introduce the fundamentals of object-oriented programming in Visual Basic 6. Key topics include:
Visual Basic 6 How to Program helps you build real-world VB6 applications. It includes:
Visual Basic How to Program is the centerpiece of a complete family of resources for teaching and learning VB6, including a Web site (http://www.prenhall.com.deitel) with the book's source-code examples and other information for faculty, students and professional programmers; and optional interactive CD-ROM (Visual Basic 6 Multimedia Cyber Classroom) containing extensive interactivity features -- such as thousands of hyperlinks, audio walkthorughs of the code examples and solutions to about half the exercises in Visual Basic 6 How to Program -- and e-mail access to the authors at firstname.lastname@example.org
For information on corporate on-site seminars and public seminars offered by Deitel & Associates, Inc., worldwide, visit http://www.deitel.com
For information on the latest Visual Basic software, documentation and demos http://www.microsoft.com/vbasic or http://www.developer.com
About the Author
Harvey Deitel and Paul Deitel are principals of Deitel & Associates, Inc., a global leader in programming training. They are authors of C++ How to Program and Java How to Program, each the best-selling book in its market. The Deitels have taught 500,000 programmers! Now, leverage their extraordinary expertise to learn Visual Basic, with Visual Basic 6: How to Program.
Excerpt. © Reprinted by permission. All rights reserved.
Welcome to Visual Basic 6 and the exciting world of Internet and World Wide Web programming! This book is by an old guy and two young guys. The old guy HMD; Massachusetts Institute of Technology (MIT) 1967 has been programming and/or teaching programming for 37 years. The two young guys PJD; MIT 1991 and TRN; MIT 1992 have each been programming for 15 years and have caught the teaching and writing "bug." The old guy programs and teaches from experience; the young guys do so from an inexhaustible reserve of energy. The old guy wants clarity; the young guys want performance. The old guy seeks elegance and beauty; the young guys want results. We got together to produce a book we hope you will find informative, interesting, challenging and entertaining.
Why We Wrote Visual Basic 6 How to Program
Dr. Harvey M. Deitel taught introductory programming courses in universities for 20 years with an emphasis on developing clearly written, well-structured programs. Much of what is taught in these courses is the basic principles of programming with an emphasis on the effective use of control structures, primitive data types, arrays, functions and the program development process.
We present these topics in Visual Basic 6 How to Program exactly the way HMD has done in his university courses. Our experience has been that students handle the material in the early chapters on primitive data types, control structures, procedures and arrays in about the same manner as they handle introductory Pascal or C courses. There is one noticeable difference though: students are highly motivated by the fact that they are learning a leading-edge language (Visual Basic 6) and leading-edge programming paradigms (event-driven programming and object-oriented programming) that will be immediately useful to them as they leave the university environment. This increases their enthusiasm for the material. Students quickly discover that they can do great things with Visual Basic 6, so they are willing to put incredible effort into their courses.
Our goal was clear: produce a Visual Basic 6 textbook for introductory university-level courses in computer programming for students with little or no programming experience, yet offer the depth and the rigorous treatment of theory and practice demanded by traditional, upper-level C and C++ courses and that satisfies professionals' needs. To meet these goals, we produced a comprehensive book because our text also patiently teaches the principles of control structures, event-driven programming, object-oriented programming and the Visual Basic 6 language.
Visual Basic 6 How to Program was written fresh on the heels of C How to Program: Second Edition, C++ How to Program: Second Edition and Java How to Program: Second Edition, each of which has become the world's leading introductory textbook in its respective field. Hundreds of thousands of students and professional people worldwide have learned C, C++ and Java from these texts. Upon publication in November, 1998 Visual Basic 6 How to Program will be used in universities, professional schools and corporate training programs worldwide.
We have prepared an interactive multimedia CD-ROM edition of this book - the Visual Basic 6 Multimedia Cyber Classroom. Prentice Hall offers a "value pack" edition of both Visual Basic 6 How to Program and the Visual Basic 6 Multimedia Cyber Classroom called The Complete Visual Basic 6 Training Course at a discount for people who want to use both the book and the multimedia CD. Please see the last few pages of this book for ordering instructions. The Complete Visual Basic 6 Training Course is discussed in more detail later in this Preface.
We believe in Visual Basic 6. Its conceptualization by Microsoft, the creators of Visual Basic 6, is brilliant: Base a language on one of the world's most widely known languages, Basic. Endow the language with the ability to conveniently build applications for Microsoft Windows - the world's most widely used platform. Provide the kinds of heavy duty, high-performance capabilities needed for enterprise systems development. Make the language appropriate for implementing Internet-based and World-Wide-Web-based applications, and build in the features people really need such as Strings, graphics, graphical user interface components, error handling, multimedia (audio, images, animation and video), file processing, database processing, Internet-based client/server networking, World Wide Web browsing, World Wide Web document enhancement with Visual Basic Script (VBScript), and prepackaged components. Make the language extensible so that independent software vendors (ISVs) can provide componentry for a vast array of application arenas. These features are precisely what businesses and organizations need to meet today's information processing requirements.
Visual Basic 6 empowers programmers to unleash their creativity. Once Visual Basic 6 students enter lab, instructors will not be able to hold the students back. They will be eager to experiment and explore. They will quickly produce applications that go well beyond anything they would have produced in introductory programming courses in procedural languages like C, Pascal and non-visual versions of Basic.
The computer field has never seen anything like the Internet/World Wide Web "explosion" occurring today. People want to communicate. People need to communicate. Sure they have been doing that since the dawn of civilization, but computer communications have been mostly limited to digits, alphabetic characters and special characters passing back and forth. The next major wave is surely multimedia. People want to transmit pictures and they want those pictures to be in color. They want to transmit voices, sounds and audio clips. They want to transmit full-motion color video. And at some point, they will insist on three-dimensional, moving-image transmission. Our current flat, two-dimensional televisions will eventually be replaced with three-dimensional versions that turn our living rooms into "theaters in the round." Actors will perform their roles as if we were watching live theater. Our living rooms will be turned into miniature sports stadiums. Our business offices will enable video conferencing among colleagues half a world apart as if they were sitting around one conference table. The possibilities are intriguing and Visual Basic 6 is sure to play a key role in making many of these possibilities become reality.
There have been predictions that the Internet will eventually replace the telephone system. Well, why stop there? It could also replace radio and television as we know them today. It's not hard to imagine the Internet replacing the newspaper with completely electronic news media. This textbook you are reading may someday appear in a museum alongside radios, TVs and newspapers in an "early media of ancient civilization" exhibit.
Visual Basic 6 How to Program contains a rich collection of examples, exercises, and projects drawn from many fields to provide the student with a chance to solve interesting real-world problems. The book concentrates on the principles of good software engineering and stresses program clarity. We avoid arcane terminology and syntax specifications in favor of teaching by example. Each of our code examples has been carefully tested.
This book is written by three educators who spend most of their time teaching edge-of-the-practice topics in industry classrooms worldwide. The text emphasizes pedagogy.
Live-Code Teaching Approach
The book is loaded with live-code examples. This is the focus of the way we teach and write about programming, and the focus of each of our multimedia Cyber Classrooms as well. Virtually every new concept is presented in the context of a complete, working Visual Basic 6 program immediately followed by one or more windows showing the program's output. We call this style of teaching and writing our live-code approach. We use the language to teach the language. Reading these programs is much like entering and running them on a computer.
World Wide Web Access
All of the code for Visual Basic 6 How to Program is on the Internet at the Prentice Hall Web site http://www.prenhall.com/deitel and at the Deitel & Associates, Inc. Web site http://www.deitel.com.
Please download all the code then run each program as you read the text. Make changes to the code examples and see what happens. See how the Visual Basic 6 compiler "complains" when you make various kinds of errors. Immediately see the effects of making changes to the code. It's a great way to learn programming by doing programming. You must respect the fact that this is copyrighted material. Feel free to use it as you study Visual Basic 6, but you may not republish any portion of it without explicit permission from the authors and Prentice Hall.
Each chapter begins with a statement of Objectives. This tells the student what to expect and gives the student an opportunity, after reading the chapter, to determine if he or she has met these objectives. It is a confidence builder and a source of positive reinforcement.
The learning objectives are followed by quotations. Some are humorous, some are philosophical and some offer interesting insights. Our students enjoy relating the quotations to the chapter material. The quotations are worth a "second look" after you read each chapter.
The chapter Outline helps the student approach the material in top-down fashion. This, too, helps students anticipate what is to come and set a comfortable and effective learning pace.
7806 lines of code in 178 Example Programs (with Program Outputs)
We present Visual Basic 6 features in the context of complete, working Visual Basic 6 programs. This is the focus of our teaching and our writing. We call it our "live-code" ...
Related Free eBooks