Skip to Content
author's profile photo Former Member
Former Member

use MSComctl.ocx with ui it_ActiveX

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2005 at 08:43 AM

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

    Miklos

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.