Make your own free website on Tripod.com

SBS Encyclopedia
Version 0.1.0
Spetember 19, 2006

How to use this program:
	The first thing to do is make sure that there are valid data directories.
If there are no red rectangles in the lower left corner of the status bar,
then everything is OK to go for the directory setup that is there.  If there
are red rectangles, then go to Data->Data Locations... to bring up the dialog
to change each of these directories.  
The Website Location is where the output of the website generation will go.  
Each file that is created on web generation will be placed in this folder. So,
if this directory is continuously used, certain index files of the website will
be overwritten.  Always remember to change this directory before writing it out.
The .DAT Location is where the new .dat files will go.  Each .dat file that is 
created will be saved to this location, using the filename defined in the .dat
creation area.
The Database Location is where the Access database (.mdb) will be stored.  These
files are created when a season is imported.

Next, a season needs to be imported so there are stats to work with.  Go to 
Data->Import Season...
This will bring up a dialog that will allow for importing of a season file.  First,
enter the filename of the new season.  This will be what the database (.mdb) will be
called.  For example if a 1990 season has been played in SBS, this filename could be
1990 (DO NOT enter an extension, one will be added automatically).  Then click the 
Select Season To Import button.  This will open an Open Dialog that will allow for 
navigation to the location of the season file.  Locate where this data is saved, 
select it and click on Open.  Once this file has been opened and a filename has been 
set, click on Import Stats From SBS.  This will launch the program in to the importing
process.  It will report any errors if any that do happen and write all the stats to 
a database, so if there are any pauses, do not get frustrated.  Sometimes the writes 
can take a little while.  Once the data has been loaded, this form can be closed by 
clicking on the X in the upper right corner.  Next, a website may be created from the 
data, or new .dat files may be generated.  
To create new .dat files, go to Data->Create .DAT Files.
This will bring up an Open Dialog box.  Navigate to the filename that was selected in 
the Import Season Form.  In the example, 1990.mdb would be selected (navigate to the 
folder that was set in the first steps, the Database Location directory).
In this form, select a team from the list of available teams.  Once a team has been 
selected, all the players will load into the batter and pitcher lists.  Each player
can then be selected and loaded into the lists at the bottom by selecting a player
and clicking on the button where that player should be placed. Players can be sent 
back to the main list, moved up or moved down in each of these lists.  The .DAT
extra information tab will allow for all the file specific details to be added to 
each .dat - most of this information is optional, but for completeness, should be
filled out.  Once everything is satisfactory, click on the Save button to send the
new .dat out to the .DAT Location.
Finally, a website can be generated by going to Data->Website Generation.
This will bring up an open dialog that will allow for selection of the same database
that was mentioned in the previous section.  Once the generation form loads, notice that
some of the pages can be modified for color - not all pages can be modified yet, as 
the entire underlying engine of the page generation will be re-written for version 1.0 final.
Once everyting is set up, click on the Generate button.  Each page will now be generated and
written to the Website Location that was defined earlier.  Once this operation completes,
use Windows explorer to navigate to the Website Location directory and launch index.html.
This will load the default internet browser and allow for navigating of the newly created
website generated stats.  

Feedback is needed to get this program to v 1.0!!  Please send all comments, questions, 
feature requests and bug reports to storm5@hotmail.com  with SBS Encyclopedia in the 
subject line (sorry about being so formal with the subject line, but it helps to 
filter out good messages from the junk e-mail)
1