The steps to turn this into an application of its own are quite simple really. As described in
the section called “Summary”, all it really takes is to create a project, which I called
sbair. I then copied all the program files from the
program into the new project directory, renaming the one called
sbair.sma. I also copied all the toolbar images from the
addressbook\bin directory into the
sbair\bin directory. Into the same directory I copied the
converted database files (at this point we only need
flight.sbm), and the converted and reworked form:
In terms of changes to the program code, all the suggestions made in the section called “Summary” were applied. The resulting program came up immediately and can be seen below. The copying and code changes took less than ten minutes, including compiling and fixing things that were forgotten.
This is, of course, just the beginning. A full conversion would convert each of the forms, add navigation to the menu, add functions to support the buttons on the forms, add functions to handle constants and calculations for the tables, etc. The goal here was only to demonstrate the approach, not do a full conversion.