Sponsored
Concepts of Object-Oriented Programming with Visual Basic - by Steven Roman (Paperback)
$69.99 sale price when purchased online
$99.00 list price
Target Online store #3991
About this item
Highlights
- 1 The Basics of Object-Oriented Programming.
- Author(s): Steven Roman
- 188 Pages
- Computers + Internet, Programming
Description
About the Book
This book explores object-oriented programming and how it is implemented in Microsoft Visual Basic. Written in a hands-on style with plenty of code and error-handling tips, the book will be an invaluable introduction to this topic. Extracts from the book are posted to Microsoft's Visual Basic Web site. 24 illus.Book Synopsis
1 The Basics of Object-Oriented Programming.- Data Types.- Encapsulation.- Abstract Data Types.- Classes.- Defining a Class in Visual Basic.- Defining a Property in Visual Basic.- Defining a Method in Visual Basic.- Exposing Properties Through the Property Let/ Set/ Get Procedures.- Objects.- Explicit Object Creation.- Instance Variables and Member Variables.- The As Object Syntax.- Implicit Object Creation.- Referencing Public Variables and Procedures.- The Object/Message Model.- The Me Keyword.- Object Properties and Object Hierarchies.- Creating and Destroying Objects.- Creating Objects.- Destroying Objects.- Reference Counts.- Circular References.- The Notorious End Statement.- How to Control a Circular Reference-A Linked List Example.- Form Modules.- Properties and Methods in a Form Module.- Collection Classes.- Constructing a Collection Class.- Polymorphism and Overloading.- Overloading.- Polymorphism.- Inheritance.- 2 Handling Object Errors.- Error Detection and Error Handling.- Types of Errors.- The Error Object.- Dealing with Run-Time Errors.- Where to Handle a Run-Time Error.- Dealing with Logical Errors.- Detecting Logical Errors.- Where to Handle a Logical Error.- Handling the Error in the Calling Procedure.- Errors Occurring in Events.- An Error-Handling Example.- 3 Turing Machines - A Simple Object-Oriented Application.- What Is an Algorithm?.- What Is a Turing Machine?.- Informal Definition of a Turing Machine.- Describing a Turing Machine.- Coding a Turing Machine.- Error Handling.- The Symbol Class.- The Symbols Collection Class.- The State Class.- The States Collection Class.- The Transition Class.- The Transitions Collection Class.- The Machine Class.- The User Interface.- The Standard Module.- A Final Comment.- 4 OLE Automation Objects.- What Is OLE Automation?.- Public Really Means Public.- The Plan for This Chapter.- Communication Between OLE Automation Clients and Servers.- The Communication Problem.- Supplying Information to the Client.- What Is an Interface?.- The Vtable Interface.- Type Libraries.- OLE Interfaces.- The IUnknown Interface.- The IDispatch Interface.- Binding.- Putting It All Together.- In-Process and Out-of Process Servers.- Creating a Simple OLE Automation Server.- Creating a Simple Server.- A Small Client and the Three Forms of Binding.- Referencing the Server's Type Library.- Registering and Unregistering a Server.- How Servers Are Started and Ended.- Reference Counts for Servers.- Servers with a Visual Interface.- Servers with Dialog Boxes.- OLE Servers That Also Function as Stand-Alone Applications.- Handling Errors.- Be Nice.- Errors from Your Server's Servers.- Externally Creatable and Dependent Objects - The Object Hierarchy.- In-Process Issues.- Version Compatibility.- How Compatibility Can Be Affected.- How Visual Basic Handles Compatibility.- The Reference Server and Interim Builds.From the Back Cover
This book is about object-oriented programming and how it is implemented in Microsoft Visual Basic. Accordingly, the book has two separate, though related, goals: to describe the general concepts of object orientation and to describe how to do object-oriented programming in Visual Basic. Readers are assumed to have only a modest familiarity with Visual Basic and some rudimentary programming skills. On this foundation, the author introduces the abstract concepts of object orientation, including classes, abstraction, encapsulation, and object creation and destruction, showing how each is implemented in Visual Basic. The style of the book is hands-on, with plenty of code examples for the reader to try. The book contains complete chapters on handling object errors and OLE automation objects. Visual Basic programmers and students will find this an invaluable introduction to the topic.Dimensions (Overall): 9.18 Inches (H) x 7.15 Inches (W) x .6 Inches (D)
Weight: .76 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 188
Genre: Computers + Internet
Sub-Genre: Programming
Publisher: Springer
Theme: Object Oriented
Format: Paperback
Author: Steven Roman
Language: English
Street Date: December 5, 1996
TCIN: 1001919928
UPC: 9780387948898
Item Number (DPCI): 247-07-3529
Origin: Made in the USA or Imported
If the item details above aren’t accurate or complete, we want to know about it.
Shipping details
Estimated ship dimensions: 0.6 inches length x 7.15 inches width x 9.18 inches height
Estimated ship weight: 0.76 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO
Return details
This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, shipped, delivered by a Shipt shopper, or made ready for pickup.
See the return policy for complete information.