>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only