Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Default Problem?
Message
From
03/06/1999 08:20:07
 
 
To
03/06/1999 05:58:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00225814
Message ID:
00225869
Views:
11
>>Hi All,
>>I keep two complete sets of VFP forms, prgs, etc. in two locations, one is on C: the other on L: (mapped network drive). I can set default to C:\ and run test.prg and the one on C:\ runs. I then set default to L:\ from the command window and run test.prg, hoping that the test.prg on L:\ will run, but it doesn't--test.prg on C:\ runs instead! Sometimes I can get the default to change by using the complete path; i.e. DO L:\test . From then on, DO test finds the correct one. Now, VFP is pointed to L:\. When I want to SET DEFA TO C:\, the same problem occurs. CD, SYS(5), & SYS(2003) all show that default drive/dir is correct, but DO'ing a program from the command window runs the wrong one, namely the one that ran before changing default dir. Set default inside a .prg seems to behave correctly. This strange behavior seems to occur from the command window only.
>>I hate to use the *bug* word here, but it shouldn't work that way, right? Does anyone else have this problem? Does SP3 fix it?
>>TIA
>It's a partial bug. Sometimes compiled buffer is not refreshed. Docs say that this would occur especially when you use an external editor. It's not the case as you observed. Clear program forces the buffer refresh. To me it seems not a buffer problem but it finds an .fxp and uses it. Another forcing is to use the extension also.
>set default to l:\
>do test.prg
>Cetin
Thanks Cetin,
DO test.prg works great! Gonna make that a habit from now on. My thanks to Ed as well.
Previous
Reply
Map
View

Click here to load this message in the networking platform