Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable resource file
Message
From
24/03/1998 13:38:59
 
 
To
22/03/1998 12:08:27
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086263
Message ID:
00086755
Views:
23
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform