Viewer (version 1.7)
Green Lamar
Green Productions
Copyright 2008, 2002
Please note that the following has changed:
My email address is now:
greenlamar3020@yahoo.com
NOT highlanderlamar@mailcity.com
My website address is:
greenlamar.fortunecity.com/index.htm
NOT sebastiangreenlamar.bravepages.com
Some of my programs still have these addresses in them, and I haven't had
the time to go through all the code and make the changes.
Thank you for understanding and noting these changes.
---------------------------------------------------------------------
Viewer.exe DESCRIPTION
---------------------------------------------------------------------
This is the graphics Viewer I developed to browse and manage my library
of graphic files, and demonstrate some VB coding skill.
See the Quick Start notes below.
--------------------------------------------------------------------
Viewer.exe INSTALLATION NOTES
---------------------------------------------------------------------
You should have the following Compressed/Zip installation files:
"ViewerProg1.zip" and "ViewerProg2.zip".
The ViewerProg1.zip file contains:
Viewer.exe - the program
Viewer.mdb - main program database
SQLforms.mdb - secondary program database
ViewerHELP.htm - Help file
ViewerPic01.JPG - necessary image file
ViewerDB_add01.jpg - necessary image file
ViewerPicQuery.jpg - necessary image file
ViewerTimer.jpg - necessary image file
StarWars*.jpg - may or may not include these image files
The ViewerProg2.zip file contains:
Comctl32.ocx - Visual Basic/Viewer application file
Dao350.dll - Visual Basic/Viewer application file
DBlist32.ocx - Visual Basic/Viewer application file
MSflxGrd.ocx - Visual Basic/Viewer application file
StdOLE2.tlb - Visual Basic/Viewer application file
VB5db.DLL - Visual Basic/Viewer application file
The simplest way to install and run SGL Viewer is to unzip all of the
files from "ViewerProg1.zip" and "ViewerProg2.zip" into an empty directory/
folder, and double-click "Viewer.exe".
Or follow the directions below, slightly more detailed/complex installation.
The following files, from "ViewerProg1.zip", will need to be installed in
the same directory. This can be any directory/folder you decide to use
as your Viewer program directory):
Viewer.exe - the program
Viewer.mdb - main program database
SQLforms.mdb - secondary program database
ViewerHELP.htm - Help file
ViewerPic01.JPG - necessary image file
ViewerDB_add01.jpg - necessary image file
ViewerPicQuery.jpg - necessary image file
ViewerTimer.jpg - necessary image file
StarWars*.jpg - some program image files
You may or may not need the following files, from "ViewerProg2.zip".
If the program doesn't run then you dont have these common Visual Basic
Run-Time files on your system. Simply install them in your Window's
System ("C:\WINDOWS\SYSTEM32")) directory (preferable) OR in the
same directory (simpler) as the main Viewer program files above:
Comctl32.ocx - Visual Basic/Viewer application file
DBlist32.ocx - Visual Basic/Viewer application file
MSflxGrd.ocx - Visual Basic/Viewer application file
StdOLE2.tlb - Visual Basic/Viewer application file
VB5db.DLL - Visual Basic/Viewer application file
Your Window's System directory is most likely "C:\WINDOWS\SYSTEM32"
or it could be "C:\WINDOWS\SYSTEM" (depending on your Windows version).
Also Dao350.dll (Visual Basic/Viewer application file) found in
the ViewerProg2.zip file.
Install it in your Microsoft Common files "DAO directory", most likely
"C:\Program Files\Common Files\Microsoft Shared\DAO" (preferable) OR
in the same directory as the main Viewer program files (simpler) above.
The general Visual Baisc Run-Time file (VBRun60sp3.exe) is not included
in this installation, due to it's size. Most likely the smaller set of
VB files included above will do! Or you "should" already have a suitable
version of Visual Basic Runtime files on your system.
However, if necessary you can download the complete Visual Basic Run-Time
from my webpage (greenlamar.fortunecity.com/index.htm) or Miscrosoft.com
(or http://support.microsoft.com/kb/192461).
The Visual Basic Run-Time files should be installed in your Windows
System Directory (most likely "C:\WINDOWS\SYSTEM32").
---------------------------------------------------------------------
Viewer.exe REQUIREMENTS
---------------------------------------------------------------------
Operating System:
Any Windows Operating System 95 or newer (Windows 98/2000/NT/XP/Vista etc.).
Internet Explorer:
Viewer uses Internet Explorer for some functions, so you may want to
have it installed.
Memory:
I have never had a problem with Viewer running out of memory.
I originally created and ran Viewer on a much smaller laptop system with
very little memory. So you should be fine running it on your modern laptop
or desktop PC. It will run on most anything.
---------------------------------------------------------------------
Viewer.exe Quick Start notes
---------------------------------------------------------------------
After installation DoubleClick the "Viewer.exe" file to get started.
Note that your image files may be located anywhere on your harddrives!
Let's view/organize some pictures.
Select the image files directory/folder using the disk drive and
Directory/folder drop-down listboxes (located right of the large
picture box, at top -- see Figure 1 below) where your image files are
located. WHen you double-click a directory/folder the Files list
(below the Directory/folder drop-down listbox) will fill with picture
files. To view a file select/click it. It will popup in one of the
mini-picture-boxes (thumbnails) at right.
Figure 1
To view a picture in the large picture-box simply mouse-click one of the
mini-picture-boxes (thumbnail).
You can then use the Up/Down and Left/Right Arrow keys to scroll a very
large picture.
To use the keyboard to scroll backwards to the previous picture press Tab
twice then press Enter. To scroll forward to the next picture press Tab
three times then press Enter.
To view an even larger picture-box mouse-click the little blue (cyan)
button in the middle of the screen, next to the picture button.
This will chang to a screen without the Directory and Files listboxes,
but you'll still see the mini-picture-boxes (thumbnails) plus the large
picture-box. To switch back to the screen/view with files listboxes
where you can select individual files/pictures click the little blue
(cyan) button (now located on screen right/bottom) again.
To start the Rotator:
press the F8 key
or from the menu select /Viewer, Rotator, Rotator on
or click the green button
The Rotator allows you to view your pictures as a slideshow in the large
picture box for a specified length of time then the next one, without
you having to click the Next picture button.
Figure 2
To change the Rotator speed make sure the Rotator is off (click the
red Stop Rotator button, above the Directory and Files listboxes), then
click menu items "View", "Rotator", "Show Timer", and modify/edit the
number/seconds value (this is just some value that allows you to
increase/decrease the picture's onscreen time) or click the little
left or right black/grey arrows on the Rotator's "Timer" dialog.
See Figure 2.
Click the "Image" button (bottom right of screen) to view the whole
picture as it rotates. I originally wrote Viewer to automatically switch
to this GIF image mode when encountering a GIF/BMP image. However the
next version will allow only you to decide this. For now it automatically
switches to GIF image mode when encountering a GIF/BMP image.
Simply click the Picture button to swith back to actual picture size
view mode.
Click the "IE" button (bottom right of screen) to view a picture file
in an even larger format, in a seperate Internet Explorer Browser window.
Zooming/Resizing: You can also resize an image (zoom from 25% to 1000%),
by clicking one of the red bar symbols in the little floating ZoomBox.
Figure 3
|
Organizing Picture files (in the Viewer Database):
To add files to your Viewer database check (click)
the "Database" checkbox (top right of Viewer screen)
(see Figure 3 above), then click any/all image files
in the Directory/Files Listbox you want added. Each
picture file you select will pop-up in one of the
mini-picture boxes And be automatically added to the
pictures database, which is part of "Viewer". You can
now query, tag, and add notes to these pictures in you
picture database. See Figure 4 below.
And soon I will add functionality that allows you to
build groups of files that run with their own music,
sort of like a mini-film.
Don't forget to un-check the "Database" checkbox when
you are jsut selecting a file to view. Trying to add
a picture file to the Viewer database that has already
been added (for instance, clicking on a file a second
time) will give you an error. So check/click the
"Database" checkbox when you want to add files to your
Viewer database, and un-check the "Database" checkbox
when you just want to view the file.
|
Querying your picture file data:
To create a quick query.. select "Database", then "Query" from the
main menu. Then (in the Query Form) simply use the mouse to
double-click on a Field in the "Field Listing".
See Figure 4 and explanation below.
Figure 4
In this simple query (above) the tag field is selected, Greater
Than operator selected, and the Search Value is set to 2 double
quotes ("")(an empty field). You dont have to do any coding,
just select fields and operators, then click "Do It", "Run Query".
The table below the query form will fill with the matching records
from your picture database.
You can then double-click on any of the records to see the picture, view
its details (size, length, etc.), Tag/unTag it, and edit its
Note/Description.
There's a lot more to this little program.
Hey... This will get you started. I'm back to coding other good/useful programs.
Check my website or write me for an updated program with better Help
or if you need ANY modifications or questions answered.
email:
greenlamar3020@yahoo.com
web:
greenlamar.fortunecity.com/index.htm
:)
Enjoy!
Green
greenlamar3020@yahoo.com
/eof