Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using 'Set Resource To'
Message
De
03/03/1998 09:18:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Using 'Set Resource To'
Divers
Thread ID:
00082267
Message ID:
00082267
Vues:
59
Just recently I've created an small application, in VFP 5.0a, that queries FoxPro for DOS 2.5 tables and creates new tables that I use in another application at a remote site. I've place the EXE for the new app. in the directory of the old FoxPro app., where the tables, etc. are stored. I've run into a problem with the Foxuser file. Because these are two different versions of FoxPro/VFP, the entries in the Foxuser.dbf are different and I believe this is causing a problem with the old FoxPro app..

To correct this situation, I've place a line in my code to set the resource file to a new name:

SET RESOURCE TO &lcpath\foxres.dbf

When I ran the new EXE it created a new Foxuser.dbf file and did not use the foxres.dbf I referred to above. Can someone explain what I have done wrong and how I may correct this?

TIA,

Jason
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform