>A COM component, that is the idea. I'd like to find some examples.
>
>
>>You'll have to make it an EXE to show the forms and run the reports. Can you make into a COM component? It depends on how it was designed.
>>
As Craig says, you need to make it a COM object. The COM objects supposed to be defined as OLEPUBLIC, then you will be able to instantiate them from other objects/applications whether they written in VFP or other languages. You might want to start with Calvin Hsia article in MSDN library:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen7/html/vfpandcom.aspCheck out also earlier version:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_custole.aspThere were also multiple articles in FoxPro Advisor on COM subjects.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison