ODBC Directory
==============

The \VB\ODBC directory can be used to redistribute ODBC and the ODBC drivers that ship in Visual
Basic 5.0 with your application. The Visual Basic 5.0 Setup Wizard does not support the setup
and distribution ODBC or the ODBC drivers found on your computer.  This directory is provided
to assist you in distributing and properly installing all of the components required to use
ODBC with your application.

Contents
--------
The Setup provided within is a standard setup used by other Microsoft applications, such as
Visual Basic 5.0 itself.  Setup supports a maintenance mode after installation, which can be
accessed through the Control Panel (Add/Remove Programs).  The ODBC setup installs the
following components:

- Core ODBC
- Microsoft SQL Server ODBC Driver
- Microsoft Oracle ODBC Driver
- Microsoft ODBC Desktop Driver Pack

The end user is presented with the option of installing all of the ODBC drivers, or can
choose which drivers to install through the Custom setup option.

Distribution
------------
You can distribute the contents of the directory "as is", or you can create floppy disks from
the contents of the directory.

Creating Floppy Disks
---------------------
To distribute ODBC on floppy disks, you will need three (3) formatted 1.44 meg (or greater) 
floppy disks. You can simply copy the contents onto the disks, and run setup.exe from Disk1.  

Disk1
   Setup.exe
   Setup.ini
   Setup.lst
   Setup.tdf
   Odbcstp.inf
   Odbc-1.cab

Disk2
   Odbc2-cab

Disk3
   Odbc3-cab

Running ODBC Setup from a Network Share
---------------------------------------
If you are distributing your application over a network, you can copy the contents of this 
directory to a network share and run setup.exe from that location.

Internet Component Download of ODBC
-----------------------------------
This ODBC setup has been packaged into a Cabinet file that can be used to automatically download
and install ODBC via Component Download.  The Cabinet file (ODBC30.Cab) can be found in the 
\Tools\Cabinets directory and on http://activex.microsoft.com/controls/vb5.

The following sample .INF file entries show how to include ODBC in your download package.

[version]
signature="$CHICAGO$"
AdvancedINF=2.0

;Use the ODBC driver that you want to install
[Add.Code]
sqlsrv32.dll=sqlsrv32.dll

;Replace FileVersion with the appropriate version of the ODBC driver
[sqlsrv32.dll]
hook=ODBC30.cab_Installer
FileVersion=X,X,X,X

[ODBC30.cab_Installer]
file-win32-x86=ODBC30.cab
run=%EXTRACT_DIR%\ODBC30.exe
