SAMPLE: Visual Basic 3.0 Code Available in the MSL and MSDN CD

Last reviewed: January 18, 1998
Article ID: Q113902
3.00 WINDOWS kbprg kbfile

The information in this article applies to:

- Microsoft Visual Basic programming system for Windows, version 3.0

SUMMARY

Microsoft engineers have developed a number of code samples that we are providing as is for you, our customers, to help you learn more about Visual Basic programming. These code samples were developed internally within Microsoft to demonstrate various Visual Basic version 3.0 programming techniques. These samples are not meant to be complete applications; they are for illustration purposes only. We make no warranty, implied or otherwise, regarding the performance, usability, or reliability of these code samples.

MORE INFORMATION

You can obtain the code samples from the Microsoft Developer Network (MSDN) compact disk (CD) by subscribing to MSDN. Or you can obtain them by downloading them from the Microsoft Software Library (MSL) the Internet.

How to Obtain the Code Samples from the Microsoft Software Library (MSL)

The files listed below are available to download from the Microsoft Software Library (MSL). For information on how to download these files, please see the "Instructions for Downloading" section below.

FILES AVAILABLE FROM ONLINE SERVICES

Item ID Filename     Description

S14725 BNDREAD.EXE Data Control with Bound Read-Only Text Boxes in VB 3.0

S14726  CDPLAY.EXE   How to Play Certain Tracks on a Musical CD Player
S14727  DB-XL.EXE    How to Transfer Data from a Database into Excel
                        Spreadsheet
S14728 FINDPRT.EXE How to Use the FindFirst Method on Partial Strings in
                        VB 3.0
S14729 FOCUSPRB.EXE Keep Track of Last Control After MsgBox Invoked in
                        LostFocus
S14730 LSTGRID.EXE How to Drag Data from a List Box to Certain Cell in
                        Grid
S14731 OUTLNDRG.EXE How to Drag and Drop from a Outline Control to a List
                        Box
S14732 PRTPREV.EXE How to Add Print Preview to Visual Basic Applications S14733 SEEKLST.EXE Seeking with the Table Object Selected from a List Box S14734 SQLSMTS.EXE Using Dynaset SQL Statements from a List Box in VB 3.0 S14635 VBEXTDEV.EXE How to Call Printer Driver Function ExtDeviceMode Via
                       DLL
S14270  FLIP.EXE     Demonstrates BitBlt and StretchBlt Animation
S13988  HEALTH.EXE   Visual Basic 3.0 Pen Healthcare Application
S13972 INSURE2.EXE Visual Basic 3.0 Pen Insurance Application
S14272  JIGSAW.EXE   Demonstrates GDI Region, Clipping, and Bitmap
                        Functions
S14273 KWIKZONE.EXE Demonstrates File Input and Output in Visual Basic
S13973 LOANAPP.EXE   Visual Basic 3.0 Pen Loan Application
S14274 MKEGROUP.EXE Uses DDE to Create Program Manager Groups and Items
S14276 SHUFFLE.EXE   Demonstrates BitBlts to Shuffle Around the Screen

The following files are available only on the MSDN CD:

FRMSCROLL: Demonstrates How to Scroll Inside a Form VBPRINT: Demonstrates Printing in Visual Basic 3.0 COLORVID: Uses a VBX to Play an AVI File EDIT_INFO: Retrieves Status of Text Box Using Windows Messages EIGEN: Calculates Unique Vector(Eigenvector) for a Matrix HEALTH: Visual Basic 3.0 Pen Healthcare Application INSURE2: Visual Basic 3.0 Pen Insurance Application LOANAPP: Visual Basic 3.0 Pen Loan Application

INSTRUCTIONS FOR DOWNLOADING

The above files are available for download from the Microsoft Software Library by replacing Filename1 below with the name of the .EXE file (SHUFFLE, for example) you wish to download: (Do not change the spacing and make sure that the tilde symbol (~) remains before the filename.)

 ~ Filename1.exe

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services

How to Obtain the Code Samples from the Microsoft Developer Network (MSDN)

You can also obtain the code samples and a lot of other useful information by joining the Microsoft Developer Network (MSDN). The MSDN provides technical information and development tool kits for all developers who write applications for Microsoft operating systems. MSDN members receive a quarterly CD-ROM disk and a bimonthly newsletter. You can perform full-text searches across all information in the MSDN CD. The CD contains code samples, technical articles, development tools, and the Microsoft Knowledge Base.

To join the Microsoft Developer Network (MSDN):

  • In the U.S. and Canada, call (800) 759-5474; this number is available 24 hours a day, 7 days a week.
  • In France, call 05 90 59 04 (toll-free).
  • In Germany, call 0130 81 02 1.
  • In the Netherlands, call 06 022 24 80 (toll-free).
  • In the United Kingdom, call 0800 96 02 79 (toll-free).
  • In Japan, call 03 5461-2617.
  • For any other country in Europe, call +31 10 258 88 64.
  • Outside Europe, the U.S., Canada, or Japan, call (402) 691-0173.

After joining MSDN, locate the Visual Basic code samples on the MSDN Libraries CD by following these steps:

  1. Load the Libraries CD, and choose the Contents button.

  2. Open the 'Sample Code' book by double-clicking it.

  3. Open the 'Sample City' book.

  4. Open the 'Visual Basic Samples' book.

  5. Search for the self-extracting file (see the list above) you want.


Additional query words: CodeSampleMSDN softlib ExtDeviceMode
Keywords : PrgOther vbwin
Version : WINDOWS:3.0
Platform : WINDOWS
Solution Type : kbsample


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.