>>I have a class (a custom form) which is based on a direct subclass of the VFP baseclass form. This sublcass of the VFP baseclass lives in a library called baseclas.vcx, which also contains subclasses of all the VFP baseclasses. Some time ago I was forced to move baseclas.vcx on the file server.
>>
>>Now when I open my custom form, I get asked to locate baseclass.vcx and the find file dialog always starts at the library's original location on the file server.
>>
>>Someone please help me. Is there a fix for this?
>
>Fix is in vcx. When you subclass two recs are created. The first contains the original class name and location (superclass) with props changed (if any) and name = "newsubclass", methods empty or new changed/added methods. The other contains "newsubclass" in objname. Change the superclass classloc.
>
>replace classloc with newloc for classloc = oldloc
>
>Cetin
Hi Cetin,
I've tried this and it works perfectly, thanks very much, this has saved me a great deal of stress. Now that I know where to look, I've been looking through some other VCX's and some have an explicit path, some just have a class name e.g. baseclas.vcx, some even have a relative path e.g.
..\classlib\library\baseclas.vcx.
Do you know what is going on here? Doesn't Fox have a uniform standard technique for storing this information? This seems to be very ad-hoc.