cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove Crystal logo from CrystalReportViewer

Former Member
0 Kudos

Hi

I need help to remove Crystal logo from CrystalReportViewer in window application. I am using following technologies

Visual Studio 2005 Window application

Crystal Report 11.5 SP2

Thanks

Nadeem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The Viewer related features are available in the location C:\Program Files\Business Objects\Common\4.0\crystalreportviewers115 folder. The logo can be found under js\crviewer\images folder that you are looking for.

However, do remember that making changes to these files may not be a good idea.

Thanks,

AG.

Former Member
0 Kudos

Hi Nadeem,

I found this on [http://aspalliance.com/1744_Lessons_Learned_Sorting_out_Crystal_Reports_2008_Versioning_Service_Packs_and_Deployment.all|http://aspalliance.com/1744_Lessons_Learned_Sorting_out_Crystal_Reports_2008_Versioning_Service_Packs_and_Deployment.all|http://aspalliance.com/1744_Lessons_Learned_Sorting_out_Crystal_Reports_2008_Versioning_Service_Packs_and_Deployment.all]

However, there is a completely undocumented property of the CrystalReportViewer control called ShowLogo. It is not surfaced in the Properties page. It does not show up in Intellisense. It does not show up in the Object Browser. I could not even find it using Reflector. But you can code it in and it will compile and it does, indeed, do the trick as you can see in Figure 4.

CrystalReportViewer1.ShowLogo = False

This works with Crystal report 2008. Try it with Crystal Report 11.5 SP2 too

Former Member
0 Kudos

Chittananda,

Thank you for your value able feedback. I have tried that property but complier gives me error.It might be working with CR2008 but in my case it is not working and compiling ( CR 11.5 R2 & VS2005 ).

Still looking for any work around

Thanks for your help.

Former Member
0 Kudos

Nadeem,

downloaded the hot fix / service pack. and try this one

CRviewer.EnableAnimationCtrl = false

fritzfeltus
Product and Topic Expert
Product and Topic Expert
0 Kudos

Try this (1219600 - How to hide the BusinessObjects logo in the Windows report viewer component):

Dim d As ToolStrip = CType(CrystalReportViewer1.Controls(1), ToolStrip) d.Items(d.Items.Count - 1).Visible = False

Answers (3)

Answers (3)

Former Member
0 Kudos

I'm using CR2008 SP0 in VS2008 (also Runtimes are SP0).

I wnated an own logo shown instead of Business Objects and I replace the logo like this:

ToolStrip d = (ToolStrip)crystalReportViewer1.Controls[4];
d.Items[d.Items.Count - 1].BackgroundImage = CR_ReportViewer.Properties.Resources.mylogo ;

Here

CR_ReportViewer.Properties.Resources.mylogo

is a BMP-resource I added into the resources of the project named CR_ReportViewer.

In my configuration (as said above CR2008SP0 in VS2008) the following worked for hiding the logo at all (although undocumented):

this.crystalReportViewer1.ShowLogo = false;

Former Member
0 Kudos

Fritz

Thank you very much for your help, my problem has been solved by using your provided lines of code, I would like to thank Deepu as well for making some corrections.

I will like to thanks all of the people for their precious time and words.

Regards

Nadeem

Former Member
0 Kudos

Hi Nadeem,

I found the following code (Note No [1219600|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313339333633303330%7D.do] ) .I only changed argument for controls property ( replaced 1 by 3, it didn't work for 1).Works fine at my end (running VS 2005 Windows Application, CR XIR2 SP2).

C#

ToolStrip d = (ToolStrip)crystalReportViewer1.Controls[3];

  d.Items[d.Items.Count - 1].Visible = false;

VB.NET

Dim d As ToolStrip = CType(CrystalReportViewer1.Controls(3), ToolStrip)

d.Items(d.Items.Count - 1).Visible = False

let us know if it helps.

Regards,

Deepu Divakaran.