How to Consolidate Location of Wizards & Catalog Manager

ID: Q115105

The information in this article applies to:

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:

1. Open WIZARD.DBF. This database is used by WIZARD.APP to find the

   appropriate wizard.

2. 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

3. Open FOXUSER.DBF and find the record whose the NAME field reads
   "WIZARD.APP Path".

4. 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

5. While in FOXUSER.DBF, find the record whose NAME field reads
   "Registration Table".

6. 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.

Additional reference words: FoxDos FoxWin 2.60 catman KBCategory: kbtool kbprg KBSubcategory: FxtoolWizother

Last Reviewed: June 27, 1995