cancel
Showing results for 
Search instead for 
Did you mean: 

use MSComctl.ocx with ui it_ActiveX

Former Member
0 Kudos

Hi,

i have the reference interop.mscomctllib in my project

When i try to affect the clsid to my SAPbouiCOM ActiveX i have an error like this :

An exception not manage like type 'system.runtime.interopservices.comexception' is comming in mywinapp.Exe.

Exception of hresult : oxFFFFFFFF

the code is :

Dim ActiveX as SAPbouiCOM.ActiveX

.....

oItem = oForm.Items.Add("Axiud",SAPbouiCOM.boFormItemTypes.it_Active_X)

ActiveX = oItem.Specific

ActiveX.ClassID = "MsComCtllib.TreeCtrl.2" <=== Here is the message error and abort program !!

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

According to this /message/179160#179160 [original link is broken] only ATL ActiveX controls are supported by SBO.

Miklos

former_member185703
Active Contributor
0 Kudos

Right. I forgot to mention this in some thread befroe. Sorry.

...and just as a small reminder not to forget the notes on SAP Service Marketplace:

You can find the same information in note no. 796442.

The note will certainly be updated whenever something has been changed around this - as all the other notes as well.

Regards,

Frank

Answers (0)