The information in this article applies to:
- Microsoft FoxPro for Windows, version 2.6
- Microsoft FoxPro for MS-DOS, version 2.6
SUMMARY
This article explains how you can consolidate the wizards and Catalog
Manager in one location so that every session of FoxPro for MS-DOS or
FoxPro for Windows uses the same program files.
MORE INFORMATION
With the FoxPro power tools, it is easy to do this because each power tool
has its own system memory variable. The Catalog Manager does have a system
memory variable called _ASSIST. However, the wizards do not. To share the
Catalog Manager from one location, add this line to the CONFIG.FP (FoxPro
for MS-DOS) or CONFIG.FPW (FoxPro for Windows) file:
_ASSIST="<drive>:\<path>\CATALOG.APP"
To consolidate the wizards:
- Open WIZARD.DBF. This database is used by WIZARD.APP to find the
appropriate wizard.
- Modify each record's PROGRAM memo field so that it points to the WIZARDS
directory (the central location for all the wizards). For example,
change this entry
WZ_QFORM.APP
to this:
D:\WIZARDS\WZ_QFORM.APP && <drive>:\<path>\*.APP
- Open FOXUSER.DBF and find the record whose the NAME field reads
"WIZARD.APP Path".
- Modify the contents of the memo field named DATA so that it points to
the desired location of the WIZARD.APP file. For example:
D:\WIZARDS\WIZARD.APP && <drive>:\<path>\WIZARD.APP
- While in FOXUSER.DBF, find the record whose NAME field reads
"Registration Table".
- Modify the contents of the memo field named DATA so that it points to
the desired location of the WIZARD.DBF file. For example:
D:\WIZARDS\WIZARD.DBF && <drive>:\<path>\WIZARD.DBF
NOTE: To make these modifications easier, place all the files in one
directory, and make all the paths point to that directory, including the
path for _ASSIST. In addition, make sure that the appropriate FOXUSER.DBF
file be found; otherwise, FoxPro will prompt you for the location of the
files it cannot find.
|