Microsoft KB Archive/115105

{| = How to Consolidate Location of Wizards & Catalog Manager =
 * width="100%"|

ID: Q115105

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=" :\ \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  && :\ \*.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 && :\ \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 && :\ \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
 * }