on 09-04-2008 3:44 PM
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
As the note says, it is specific to VB 6. And actually, the Embedded Designer Controls were only designed for VB 6. In addition, the RDC (craxdrt.dll) is not tested and thus not supported in .NET. Some time back, if you could prove the same issue in a supported environment we may have been able to get a fix for you. However the life cycle stage the RDC is in now does not allow for any fixes, period.
I would thus recommend not using the RDC in .NET and moving on to the CR assemblies for .NET.
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.