Reference:
SAP Note 1220368 - How to disable/enable the toolbar buttons on the Embeddable Designer control
We are using Embedded Crystal Designer Control in our C# .NET Windows Form. To disable the "Insert Picture" toolbar button on the Crystal Designer Control, used the following code:
CRDesignerCtrl1.ShowToolbarButton(CRDESIGNERCTRLLib11_5.CRToolbarButtonId.crTBInsertPicture, false);
When I run our application and go to the form having the Embedded Crystal Designer Control, I am getting the following Exception:
Source: Interop.CRDESIGNERCTRLLib11_5
Message: Error HRESULT E_FAIL has been returned from a call to a COM component.
Does anyone have any suggestions to rectify this problem?
Thanks & Regards,
Vennila