Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I prevent path getting put into files?
Message
 
 
To
11/07/2003 16:56:36
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00809421
Message ID:
00809487
Views:
28
Bill,

If all of the files are accessible from a relative path and they are all on 1 drive then VFP only stores a relative path in the vcx/scx. This path is fundamentally ignored if the classlib is included in the project. VFP looks for the files in the EXE/DLL before it tries going outside to find files.

If you look in the classloc field you will see what is stored, the property sheet shows the fullpath() to the file, not the actual stored value. If you see any drive letters in classloc then you should change your dev environment to have all the source code on just one disk drive.

>I'm using VFP 7.0
>
>I've just discovered that all my vcx and scx files have a path in the CLASSLOC field.
>
>Is there a way to get rid of it without editing each table?
>
>How can I prevent that in the future?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform