This is a simple demo showing the use of named ADO Command
objects to perform parameter queries.  Also includes storing
photos in the database as BLOB fields, retrieving and
displaying them, and updating them.

While the demo uses Jet 4.0 to make it quick and easy "unzip
and play" the demo, these same concepts apply to other
databases you can use ADO with.


When the program runs it begins by looking for an existing
database.  If found, it asks whether to delete it and create
a new one or not.

If it creates a new database it then:

    o Removes any existing database.

    o Creates an empty database with one table [PicTable]
      with three fields:

          - [ID] an autonumber "identity" field set as the
            primary key.

          - [Description] a variable length (0-255
            character) text field.

          - [Picture] a variable length (0-20000 byte)) long
            binary (BLOB) field.

    o Closes the empty database, reopens the database
      defining commands InsertPic and UpdatePic.

    o Populates the table with three records based on
      information in a provided text file and provided JPEG
      images in a subfolder.

Else it then:


    o Opens the existing database defining the command
      UpdatePic (since it won't need InsertPic).

Finally, it:

    o Displays the first record, showing all three fields.

The user interface has three buttons:

    o "Back" and "Next" to step through records and display
      them.

    o "Replace Photo" to replace the photo of the current
      record by a provided fixed replacement JPEG and
      redisplay the updated record.

The Command objects are used to do a SQL INSERT and a SQL
UPDATE.  They are invoked as dynamic methods of the open
Connection object.
