>>>>The root object in an EXE cannot be a form, it must be a PRG.
>>>
>>>Starting with VFP 7, the main file in a project can be anything you want.
>>
>>Since when? AFAIK, you've always been able to use something other than .PRG a the main file. I just tried it in VFP6 with a form and it works fine.
>
>You're right (kind of < s >). Looks like you could always use a form as the main file. It's a class you couldn't set as the main until VFP 7. That was a big deal, because before that it was a PITA to create a COM component.
Really, you can use a class in VFP7 and up? I didn't know that.
But I thought you added OLEPUBLIC keyword to a .PRG class for a COM object. Didn't know you could specify it any other way.