Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A visual foxpro DLL
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00612811
Message ID:
00612960
Views:
33
Nick;

Good references.

Visual FoxPro is an OLE automation server and you can create an OLE automation controller, to access properties and methods of the VFP application.

We had a third party piece of software that was used for the shipping industry. This software had a number of features such as giving the cost and carrier information to ship something from one point to another. We built custom interfaces using VFP and using this technology had a simple solution to a clients problems.

What was interesting is that no instance of the original application was running - it was being accessed by the OLE controller coupled to the interface.

Tom





>>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.asp
>
>Check out also earlier version:
>http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_custole.asp
>
>There were also multiple articles in FoxPro Advisor on COM subjects.
Previous
Reply
Map
View

Click here to load this message in the networking platform