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

How to disable print button in CRAXDDRT control

Dear Friends ,

I am using CRAXDDRT control in windows application . I know that CR XI R2 (11.5) is out of support , but it is the only version available in CR RDC .

Everything is working fine as per my requirement , But i need to disable the Print Button and Crystal Logo .

I disabled Save Button by below command and working fine .

AxCRDesignerCtrl11_51.ShowToolbarButton(CRDESIGNERCTRLLib11_5.CRToolbarButtonId.crTBSaveReport, False)

My system configuration is windows 7 and using VS 2010 and SP6 ,

1.png (35.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jan 08, 2014 at 03:22 AM

    I don't know about the CRAXDDRT, but using CRAXDRT (which avoids the licensing headaches) it is simply:

    CRViewer1.EnablePrintButton = False

    where CRViewer1 is the viewer control.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 02:27 PM

    Wow.. using everything that has never been tested....

    That version of The Embedded Designer Control is only tested Visual Studio 6 and it also needs an RCAPI License to distribute it. You can call Sales and they can set you up for a redist licensing package, maybe. Since it's end of life not sure if you can even get one.

    Unfortunately there is no option for that ActiveX control. If you used craxdrt.dll and it's viewer crviewer.dll then the viewer has an option in it's properties to disable any or all of the buttons but the EDC doesn't have the same abilities, I don't recall now it's been so long. You can try clicking on the Viewer and looking at the Properties, it may have the option to turn off the button. Or you should be able to do it in code also, something like Viewer.PrintButton = false

    As for the logo I believe it too can be changed with the crviewer but not sure with the EDC viewer, or the image simply needs to be renamed... Again I don't recall how it was done.

    I know it's a lot of work but using CR for VS ( version 13 ) has the RAS controller and you can build your own Report Designer. All the info on how to is on this link:

    SAP Crystal Reports, version for Visual Studio

    PS - check the Licensing link on this page out for info on Licensing the RDC also.

    Good luck


    Add a comment
    10|10000 characters needed characters exceeded

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.