Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro 2.6 and 5.0 sharing a FoxUser.dbf
Message
De
07/01/2000 15:56:12
 
 
À
07/01/2000 10:39:12
Mike Myers
Technology In Medicine, Inc.
Milford, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00314482
Message ID:
00314728
Vues:
19
>I have a legacy application running on Foxpro 2.6 that is conflicting with a different VFP 5.0 application. They are both sharing the same FoxUser.dbf file. This is a problem as each routine prompts the user to convert the file structure back and forth.
>
>The 5.0 routine does not need to have any resource set so I tried editing the 5.0 Config.fpw file to RESOURCE=OFF
>
>Now I discover that both 2.6 and 5.0 are accessing the same CONFIG.fpw file. What is the command to change where your app looks for the config.pfw file?

Several options:

(1) The command line switch -c can specify the exact fiel to use for the executable.

(2) You can burn a CONFIG.FPW into the application under VFP5

(3) USe RESOURCE=OFF in the CONFIG.FPW, and then do a SET RESOURCE TO in the application; the resource file does not have to be called FOXUSER.DBF. You could have the VFP5 app do a SET RESOURCE TO FOXUSER50, and the FPW app a SET RESOURCE TO FOXUSER26
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform