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