Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem finding table if user changes directory
Message
From
02/05/2000 12:14:40
 
 
To
02/05/2000 11:53:50
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00365128
Message ID:
00365139
Views:
18
I often use this snippet of code in my main program.

*-- Set Default directory from program directory
lcSys16 = SYS(16)
lcProgram = SUBSTR(lcSys16, AT(":", lcSys16) - 1)
lcDefaDir = LEFT(lcProgram, RAT("\", lcProgram))
SET DEFA TO (lcDefaDir)
Previous
Reply
Map
View

Click here to load this message in the networking platform