Albert
>When I call a vfp COM object in an exe,
>I get a connection to the object, but the exe does not execute.
If I understand you correctly... you're saying you have a VFP exe that \is saved with classes marked as OLE Public? If so, the exe is not supposed to execute, is it? You're supposed to be able to create the class as an object, then execute its methods. The exe itself, and any code associated, even if Set as Main, does not execute.
Excuse me if I have misunderstood...
Regards
JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1