Example of using a COM Object/ActiveX in FoxPro

I have a library that is available as a COM Object/ActiveX, I can make my way around FoxPro code ok but I don't have the foggiest idea of how to access a COM Object through FoxPro. Also in general my knowledge of COM Programming is very limited. So any clarification would be greatly appreciated.
LVL 3
PoolcorpAsked:
Who is Participating?
 
pcelbaCommented:
Each COM Object has its own set of properties and events which is specific for it. You have to look at the COM Object documentation for more details.

To use COM Object in VFP you may create a form and place AcxtiveX Control (OLE Control on it). When you place the object on form the list of available (registered) objects appear and you have to select the right one. Then you may click on the object and look at all its properties in Property window:
olectrl.jpg
olectrlprop.jpg
0
 
PoolcorpAuthor Commented:
Awesome, thanks for the quick response!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.