Microsoft Visual Basic 6.0 Programmer's Guide: Programmer's Guide

Overview


Created by the Microsoft Visual Basic development team in convenient, easy-to-digest print form, Microsoft Visual Basic 6.0 Programmer's Guide is a comprehensive resource for beginning to intermediate users. It is designed to help you get the best possible results from one of Microsoft's most popular programming systems for Windows. Microsoft Visual Basic 6.0 Programmer's Guide will help you learn programming fundamentals, create your first Visual Basic program, and optimize and distribute applications. Taken ...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (26) from $1.99   
  • New (3) from $46.22   
  • Used (23) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$46.22
Seller since 2007

Feedback rating:

(988)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
1998-09-05 Paperback New NEW-IT IS BRAND NEW-and in its NEW dust cover. It is free from any foreign markings.

Ships from: Rockford, IL

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$46.66
Seller since 2010

Feedback rating:

(63)

Condition: New

Ships from: Hayward, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$215.00
Seller since 2014

Feedback rating:

(144)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview


Created by the Microsoft Visual Basic development team in convenient, easy-to-digest print form, Microsoft Visual Basic 6.0 Programmer's Guide is a comprehensive resource for beginning to intermediate users. It is designed to help you get the best possible results from one of Microsoft's most popular programming systems for Windows. Microsoft Visual Basic 6.0 Programmer's Guide will help you learn programming fundamentals, create your first Visual Basic program, and optimize and distribute applications. Taken from the Programmer's Guide content available in the online documentation, but available in printed form only from Microsoft Press, the book provides vital insights into creating applications for stand-alone desktops, networked PCs, the Internet and intranets, and the components market.


From a programmer's perspective, this definitive and essential Visual Basic 6.0 programmer's guide covers the VB environment and language. It brings you from your first VB application to you applications distribution. This comprehensive guide is written in a tutorial style and divided into two major parts. The first part covers basic techniques, and the second part covers intermediate to advanced techniques. You should have some familiarity with VB programming concepts, the environment and language structures.

Read More Show Less

Product Details

  • ISBN-13: 9781572318632
  • Publisher: Microsoft Press
  • Publication date: 6/3/1998
  • Series: Microsoft Professional Editions Series
  • Edition number: 1
  • Pages: 928
  • Product dimensions: 7.38 (w) x 8.97 (h) x 1.57 (d)

Meet the Author


Microsoft Press offers comprehensive learning and training resources to help new users, power users, and professionals get the most from Microsoft® technology. We offer books, CDs, self-paced training kits, and videos to accommodate different learning styles and preferences.
Read More Show Less

Read an Excerpt


Chapter 9: Programming with Objects

Set frm - New Forml

Note You may find it helpful to think of a form as having two parts, a code part and a visual part. Before the

entering the next state:

A form used in this fashion is no better than a class module, so the vast majority of forms pass on to the next state.

Loaded, but Not Shown

The event that marks the beginning of this state is the familiar Load event. Code you place in the Form_Load event procedure is executed as soon as the form enters the loaded state.

When the Form_Load event procedure begins, the controls on the form have all been created and loaded, and the form has a window - complete with window handle (hWnd) and device context (hDC) - although that window has not yet been shown.

Any form that becomes visible must first be loaded.

Many forms pass automatically from the Created, But Not Loaded state into the Loaded, but Not Shown state. A form will be loaded automatically if:

  • The form has been specified as the Startup Object, on the General tab of the Project Properties dialog box.
  • The Show method is the first property or method of the form to be invoked, as for example Forml. Show.
  • The first property or method of the form to be invoked is one of the form's built-in members, as for example the Move method.
  • The Load statement is used to load the form, without first using New or As New to create the form, as described earlier.
Forms That Are Never Shown

In the first two cases listed above, the form will continue directly on to the visible state, as soon as Form-Load completes. In the last two cases, the form will remain loaded, but not shown.

It has long been common coding practice in Visual Basic to load a form but never show it. This might be done for several reasons:

  • To use the Timer control to generate timed events.
  • To use controls for their functionality, rather than their user interface - for example, for serial communications or access to the file system.
  • To execute DDE transactions.

    Note With the Professional or Enterprise edition, you can create ActiveX components (formerly called OLE servers), which are often better at providing code-only functionality than controls are. See "Creating ActiveX Components" in the Microsoft Visual Basic 60 Component Tools Guide volume in the Microsoft Visual Basic 6.0 Reference Guide.

Always Coming Home

Forms return from the visible state to the loaded state whenever they're hidden. Returning to the loaded state does not re-execute the Load event, however. Form-Load is executed only once in a form's life.

Shown

Once a form becomes visible, the user can interact with it. Thereafter, the form may be hidden and shown as many times as you like before finally being unloaded.

Interlude: Preparing to Unload

A form may be either hidden or visible when it's unloaded. If not explicitly hidden, it remains visible until unloaded.

The last event the form gets before unloading is the Unload event. Before this event occurs, however, you get a very important event called QueryUnload. QueryUnload is your chance to stop the form from unloading. If there's data the user might like to save, this is the time to prompt the user to save or discard changes.

One of most powerful features of this event is that it tells you how the impending unload was caused: By the user clicking the Close button; by your program executing the Unload statement; by the application closing; or by Windows closing. Thus QueryUnload allows you to offer the user a chance to cancel closing the form, while still letting you close the form from code when you need to.

For More Information See "QueryUnload Event" in the Microsoft Visual Basic 60 Language Reference volume of the Microsoft Visual Basic 60 Language Reference Library.

Returning to the Created, but Not Loaded State

When the form is unloaded, Visual Basic removes it from the Forms collection. Unless you've kept a variable around with a reference to the form in it, the form will be destroyed, and its memory and resources will be reclaimed by Visual Basic.

If you kept a reference to the form in a variable somewhere, such as the hidden global variable described in "Customizing Form Classes" earlier in this chapter, then the form returns to the Created, But Not Loaded state. The form no longer has a window, and its controls no longer exist. . . .

Read More Show Less

Table of Contents

Document Conventions
Programmer's Guide
Pt. 1 Visual Basic Basics 1
Ch. 1 Introducing Visual Basic 3
Ch. 2 Developing an Application in Visual Basic 11
Ch. 3 Forms, Controls, and Menus 31
Ch. 4 Managing Projects 65
Ch. 5 Programming Fundamentals 79
Pt. 2 What You Can Do with Visual Basic 159
Ch. 6 Creating a User Interface 161
Ch. 7 Using Visual Basic's Standard Controls 219
Ch. 8 More About Programming 359
Ch. 9 Programming with Objects 385
Ch. 10 Programming with Components 499
Ch. 11 Responding to Mouse and Keyboard Events 543
Ch. 12 Working with Text and Graphics 595
Ch. 13 Debugging Your Code and Handling Errors 667
Ch. 14 Processing Drives, Folders, and Files 731
Ch. 15 Designing for Performance and Compatibility 751
Ch. 16 International Issues 781
Ch. 17 Distributing Your Applications 811
App. A Visual Basic Specifications, Limitations, and File Formats 847
App. B Visual Basic Coding Conventions 869
App. C Native Code Compiler Switches 881
App. D Adding Help to Your Application 887
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 9 Customer Reviews
  • Anonymous

    Posted November 17, 2002

    suppouse deal with bolt and nuts

    this book covers vast majority of items that vb deals with but not deep enough all talks remain in surface not enough deep and not enugh informative beside it is not well organized book with good classification of matters and subjects

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 12, 2002

    Great book.

    Excellent book. 'Nuf Sed

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 6, 2002

    it is cool

    it is cool

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 23, 2001

    Tremendous Book-Complete-Advanced Though

    I'm new to VB and I bought this book and the Reference Set. It's so complete that much of it is beyond the average, but I recommend it. Sooner or later, you'll understand it and need it! Very detailed. Just what I wanted although I didn't realize what I'd be getting in to. Makes you think - - and that's a good thing. Buy it!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 17, 2001

    Excellent

    I have bought about 6 books on Visual basic and I think that this book by far is the best for explanation and simplicity. It explains things well and it is simple. I don't think that this is a good first book but the best for a second book. I would recommend Visual Basic Step by Step for a first. Highly recommend this one.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 3, 2001

    Newbies stay clear of this book

    This book is a guide....not a book designed to teach you...although if you have programming experience you can learn from this, but the reading is diffcult for beginners.This book is a good reference book for your personal knowledge.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 28, 2001

    Excellent guide

    I am an intermediate for Visual Basics. I saw this book with one of my friends. Very explanatory and easy to understand.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 30, 2000

    No Visual Basic Without this book

    It's a great book, i have 2 copies one in home and one in office.. Outstanding book

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 21, 2000

    Filled with useful information!

    This book offers information for both the beginner and the intermediate programmer. I have not written any programs since my grade school years using my Commodore 64. I thought it would be difficult to begin once again. This book made it very easy, it had everything I needed to know. It is divided into two parts, one for the beginner and the the second for the advanced programmer. All around great book!

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 9 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)