Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simple one
Message
 
 
To
11/09/2005 19:24:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048570
Message ID:
01048579
Views:
24
This message has been marked as the solution to the initial question of the thread.
Grady,

Your code doesn't do anything because it sets default directory to itself. The default VFP directory and directory where application is started from are not the same.
SET DEFAULT TO (JUSTPATH(_VFP.ServerName))
* or
SET DEFAULT TO (JUSTPATH(SYS(16,0)))
The difference between two is in development only.

>I am trying to use the code below to establish a path to the default directory/folder of my app. But when I install and run the app it looks in 'My Documents\blah\blah blah\something'
>
>
>Set Default TO Sys(5)+Sys(2003)
>
>
>What have I missed?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform