>>Hi All:
>>
>>If I have a form that is based on a class in a VCX library, how do I change the reference to the parent class if I move the VCX to another folder?
>>
>>Thanks,
>>
>>Yossi
>
>Hi Yossi,
>
>This's my function does what do you want:
>
>
>LPARAMETERS xfile,xnewclass,xvcxname
>IF !FILE(xfile)
> MESSAGEBOX("file cannot be found: "+xfile,16)
> RETURN
>ENDIF
>USE (xfile)
>REPLACE classloc WITH xnewclass FOR xvcxname$classloc
>USE
>
>
>Actually it was hard coded and I added xnewclass,xvcxname parameters for you. So there would be syntax error(s)...
Thanks