Image Cartridge NT Demo

The directory \ImgSamp contains a simple image sample, SimpImg.exe, which
was developed using MS Visual C++ 5.0.  SimpImg.exe gets and updates images,
using the base or VIR image cartridges, in an Oracle8 Database. 

SimpImg is written to work with any table which contains a single image column,
and any number of columns of other types.  SQL scripts are provided to set up 
sample tables, or you can use your own table. When executed, SimpImg will 
prompt for an Oracle username, password and server name, as well as the name of
the table to be displayed.

SimpImg essentially performs a select * from the table that you specified
in the open table dialog box. The table data will be displayed, with the image
column represented by a camera icon.  If the image in a row is not null, you
can see the image by doubleclicking on the camera icon. Double clicking the
camera icon brings up the colunm's image in a image display dialog.  Multiple
image display dialogs may be active simultaneously.

From the image display dialog, you can copy the image to the clipboard and then
paste it into any application that can incorporate images, like Microsoft Word 
or PowerPoint.

You can also insert an image into a NULL image column by double-clicking the 
no-camera icon and pasting an image copied to the paste buffer from another 
program (such as Paint) into the image display dialog. After the image is in 
the image display dialog, you can update the database by pressing the update 
button. NOTE: You can only insert and update BLOB images. BFILE images are not 
insertable or updateable at this time from OCI.

There are three image sample subdirectories: ImgSamp\realty, ImgSamp\emp, and
ImgSamp\catalog. Each of these subdirectories contains batch files and SQL 
scripts to set up tables that you can access via SimpImg (although you can also
use your own tables as input to SimpImg). Refer to the *readme.txt files in each
of these subdirectories for instuctions on setting up the demo tables and 
accessing them via SimpImg.exe.

The batch files in the demo directories operate under the assumption that the
default manager account, sys, with password change_on_install exists with 
manager privileges.

The source files and MSVC project for SimpImg.exe are available in the
self extracting ZIP file, simpimg_source_selfextract.exe, which is
located in \ImgSamp.  To extract the sources, run simpimg_source_selfextract.
The files for the SimpImg MSVC project will be placed in subdirectory 
ImgSamp\SimpImg. Open the workspace SimpImg.dsw, to view the project in the 
Microsoft Developer Studio.
