OK, I see the difference. So if I define something like:
DEFINE CLASS myForm AS Form OLEPUBLIC
Height = 100
Width = 200
ADD OBJECT edtBox AS editbox WITH ;
Height = 75 , ;
Left = 6 , ;
Top = 6 , ;
Width = 200 - ( 2 * 6 ), ;
Name = "edtBox"
ENDDEFINE
... and if I create a project that compiles into an executable, the class "myForm" would be known as a COM object, usable in VB for example. Did I grasp the thing?
Pat
>There are two types of COM components, DLLs and EXEs. Any DLL created with VFP cannot have UI. Any EXE can.
>
>>
>>Hello Craig,
>>
>>I am confused with what you said ... but maybe it's simply me! You're saying that VFP COM DLLs cannot have any UI. But lately, I got a reply on the UT, saying that we can expose forms as COM objects (but I haven't got the time to test it yet and I am not using this a lot for now). Can you elaborate on this?
>>
>>Pat