Mike Yearwood
Toronto, Ontario, Canada
Versions des environnements
Network:
Windows Server 2012
Virtual environment:
VMWare
>Hi all,
>
>Tried to get working this morning and could not open some classes - they were all complaining that they could not find the parent classes. That is, went to go back to work on a form I was working on last night and it would not load. So then I tried to use the class browser to look at the class and it would not load the parent.
>
>Tracked it down to the ClassLoc field missing the pathing back to the parent class e.g. parent is XXFW.vcx in d:\vmp\xlib
>
>- it showed:
>
>XXFW.VCX
>
>in classloc but should be:
>
>..\vmp\xlib\xxfwlib.vcx
>
>So I fixed up this one class but now have to fix up others. Wierd thing is that when I go to my latest backup, they are also missing the pathing. Is this something that VFP at times "figures out" without the pathing and then other times it does not? I could not find a system change based upon file date stamps from late yesterday.
>
>Albert
Unfortunately, VFP keeps relative pathing in the vcxs. All that is really needed is to have a path at design time and to never have duplicate files anywhere in that path. If you do that, MaxFrame includes a utility to erase the relative pathing, so that you can at any time you want move things to different folders, change the path and it will all continue to work.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement