Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot create file FXP
Message
 
To
30/01/2001 18:46:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00470411
Message ID:
00470413
Views:
42
>I wonder why this is not working.
>I want one program to call another.
>So at the beginning of the first one I have:
>
>SET DEFAULT TO c:\myDefault
>SET PATH TO .\PROG, .\DATA, .\REPORTS, \ETC
>
>I have no problem finding, for example, my reports, but when I do:
>
>DO nextProg.prg WITH var1, var2
>
>I have an error: “Cannot create file c:\myDefault\prog\nextProg.FXP”
>Obviously it means what it says, but why this doesn’t work or what is the right way to call the program without using the full path?


The problem is related to a known problem in VFP that causes files to be locked and not released until VFP closes. So to fix the problem I just restart VFP.
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform