Thanks for your suggestion. What I'd like to do is to use the Visual Class designer in FoxPro to create a class based on Session, so that the session based class will be stored in a VCX file.
Based on my understanding, a class based on Session cannot be in a vcx??
>Remember however, that you can run a visual class in a private datasession.
>
>* Session.PRG
>DEFINE SessionBase AS Session
> PROCEDURE Create(Class, ClassLib)
> RETURN NEWOBJECT(m.Class, m.ClassLib)
> ENDPROC
>ENDDEFINE
>
>Write code like this:
>
>oSession = NEWOBJECT("SessionBase","Session.PRG")
>oMyVisualObject = oSession.Create("MyVisualClass", "MyClassLib")
>
>
>
>>>>Is it true that I cannot use the Visual Class Designer to create a class based on the Session class?
>>>
>>>Yes, the Session class can only be subclassed in code.
>>
>>Thanks for the answer!