How do I know whether an application support OLE2 and which methods & attributes are exposed?

Posted by Esti on Stack Overflow See other posts from Stack Overflow or by Esti
Published on 2010-05-24T04:19:23Z Indexed on 2010/05/24 4:31 UTC
Read the original article Hit count: 326

Filed under:
|
|
|
|

I want to call an ActiveX DLL or OLE2 object from ABAP.

I already know the syntax of how to instantiate the object & execute the methods:

data: my_object type ole2_object.

create object my_object <ole2object>.

call method of my_object <objectmethod>.

But given a particular application, how do I know if this is supported, what the values/names of ole2object and objectmethod is?

Transaction SOLE supplies a table of OLE Applications, among this is Excel.Application which I know can be instantiated as an OLE object, so it looks like you have to add the OLE2 app to this table first, but once again where can I read the data like CLSID & LibType from - is it published as part of the application?

© Stack Overflow or respective owner

Related posts about dll

Related posts about activex