Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Set Path' Statement in an Application
Message
From
15/05/2003 00:34:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787726
Message ID:
00788506
Views:
22
>I would like to verify the usage of the 'set path' statement in a compiled VFP 7 exe.
>
>When we are in development mode in house we include the path to forms, programs and class libraries as a 'set path' statement in our startup program.
>
>Am I correct in assuming that these paths are * not necesary * when you run a 'app' or 'exe' since the forms, programs and class libraries are included in the project?
>
>TIA.
BY default they are. Library files and Tables are excluded by default though.

You could use the DIRECTORY() function to verify if needed.

Note: You cannot "SET PATH" to a UNC path. Must have a Drive letter. VFP will not give an error but will not set path to the UNC path. You need to map it first.

eg: SET PATH TO \\myserver\mydir\ will not set path

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform