User Tools

Site Tools

Navigation:  Language Reference > App A - DDE, OLE, and OCX > Calling OLE Object Methods >====== Calling OLE Object Methods ====== Previous pageReturn to chapter overviewNext page

Both OLE Automation to an OLE Server application and OCX/ActiveX objects publish methods (procedures) that you can call to have the object perform specified actions. Since OCXs are the OLE successors to VBX controls, most OCX vendors provide their example code using Visual Basic (VB) syntax. Those that can be used in C++ programs usually also have C++ code examples.

Translating these examples to the relevant Clarion code usually requires some knowledge of VB or C++. This section demonstrates the most common types of method calls in VB examples and how they translate to Clarion.

Method Syntax Overview

Parameter Passing to OLE/OCX Methods

calling_ole_object_methods.htm.txt · Last modified: 2021/04/15 15:57 by