Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable resource file
Message
De
24/03/1998 13:38:59
 
 
À
22/03/1998 12:08:27
Raul Davila
Davila Programming Services
Toa Alta, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00086263
Message ID:
00086755
Vues:
27
>Hi:
>
> I made a small OLE server with VP5 to be accessed from another program.
> Everything it's ok except for one thing, the darn FOXUSER.DBF
>
> Every time the OLE server is initialized it looks for a FOXUSER file
> in the root directory and creates it if not present.
>
> I've tried the following:
> In CONFIG.FPW -> SET RESOURCE OFF
> In CONFIG.FPW -> RESOURCE "" &&empty string to tell VFP no resource file wanted
> In the OLE class INIT procedure -> SET RESOURCE OFF
> but this is executed after it is created
>
>What am I missing???
>
>TIA
The correct statement format is 'RESOURCE=OFF', to reference the CONFIG.FPW include -cpathCONFIG.FPW in the properties for the executable to ensure you get to reference the right file. Note 'path' is the complete path to the file 'CONFIG.FPW', e.g. -cC:\PROGRAMS\CONFIG.FPW.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform