>Then you cannot read the vcx/prg.
>
>VFP have not a
>
>=LOADCLASS('classname','classfile')
>
>
>well, it needs to force the loading:
>
>TRY
> =NEWOBJECT("classname")
>CATCH
>FINALLY
> ? getpem("classname","cFldNames"
> ? getpem("classname","cCaption"
> CLEAR CLASS "classname"
>ENDTRY
>
>
>Of course, the code in Init have to not change the application's state.
Thanks a lot, this may work nicely.
If it's not broken, fix it until it is.
My Blog