<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Crystal Reports'</title><link>http://bloggingabout.net/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=Crystal+Reports&amp;orTags=0</link><description>Search results matching tag 'Crystal Reports'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Need help with Crystal Reports? Look here!</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2008/07/30/need-help-with-crystal-reports-look-here.aspx</link><pubDate>Wed, 30 Jul 2008 11:36:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:469910</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;Because I blog about &lt;a target="_blank" href="http://bloggingabout.net/blogs/jschreuder/archive/tags/Crystal+Reports/default.aspx"&gt;Crystal Reports&lt;/a&gt; occasionally, and created a &lt;a target="_blank" href="http://www.codeproject.com/KB/cs/CrystalHelper.aspx"&gt;helper class&lt;/a&gt; to assist in integrating it into .Net applications, I get a lot of questions from people that have problems running their reports. Especially in production environments after they deploy the reports. Unfortunately, I&amp;#39;m not a Crystal Expert. I use it in my applications but that&amp;#39;s how far it goes. I don&amp;#39;t have all the answers people might want. &lt;/p&gt;
&lt;p&gt;But I do know where you can find information about Crystal and where you do find answers to any problems you might have. I created a blog post a few weeks ago to sum up a number of resources that can help you find answers to almost all of your Crystal Reports issues. &lt;a target="_blank" href="http://bloggingabout.net/blogs/jschreuder/archive/2008/07/09/sap-is-annoying-me.aspx"&gt;Click here to read that post&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>SAP is annoying me</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2008/07/09/sap-is-annoying-me.aspx</link><pubDate>Wed, 09 Jul 2008 12:26:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:464172</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;I never had to do anything with SAP my self, other than interfacing from a .Net application. But since SAP has purchased Business Objects, I find I have to deal with them more and more. Why? Well, since SAP bought Business Objects, who bought Crystal Decisions a while back, they are the owner of Crystal Reports. I&amp;#39;ve posted about crystal on several occasions (see &lt;a target="_blank" href="http://bloggingabout.net/blogs/jschreuder/archive/tags/Crystal+Reports/default.aspx" title="My Crystal posts"&gt;link&lt;/a&gt;). I even posted an article on CodeProject.com where you can find my &lt;a target="_blank" href="http://bloggingabout.net/blogs/jschreuder/archive/tags/Crystal+Reports/default.aspx" title="My article on CodeProject.com"&gt;CrystalHelper class&lt;/a&gt;. And because of that, people ask me questions about issues they have with the helper class and Crystal Reports in general. I feel it my duty to help them as much as I can. &lt;/p&gt;
&lt;p&gt;But SAP have thought it would be a good idea to redesign their entire site, making all my links virtually useless. And not just mine of course, but of thousands of others. The new site structure however is a fine example of making things disappear. It took me 15 minutes to find out where I could download the latest version of the merge modules for Visual Studio 2005. So for all you that are lost in the wonderfull world of SAP Crystal Reports, here are some starting points I managed to find:&lt;/p&gt;
&lt;h4&gt;&lt;a target="_blank" href="http://www.sdn.sap.com/irj/sdn/advancedsearch&amp;amp;cat=sdn_ossnotes&amp;amp;query=&amp;amp;adv=true"&gt;Notes&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Search SAP Business Objects Notes for Crystal Reports and Xcelsius products. Notes were known as Knowledge Base search and Knowledge Base Articles on the Business Objects web site. &lt;/p&gt;
&lt;h4&gt;&lt;a target="_self" href="http://www.sdn.sap.com/irj/sdn/businessobjects-articles"&gt;Articles&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Read SAP Business Objects articles, formerly known as Technical Papers on the Business Objects web site. &lt;/p&gt;
&lt;h4&gt;&lt;a target="_blank" href="http://www.sdn.sap.com/irj/sdn/businessobjects-downloads"&gt;Downloads&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Find Crystal Reports and Xcelsius service packs, hot fixes, critical updates, runtime packages, samples and utilities. &lt;/p&gt;
&lt;h4&gt;&lt;a target="_blank" href="http://www.sdn.sap.comhttp//help.sap.com"&gt;Product Guides&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Find SAP Business Objects Product Guides on the SAP Help Portal under &amp;ldquo;Business Objects&amp;rdquo; in the top navigation. &lt;/p&gt;
&lt;h4&gt;&lt;a target="_self" href="http://www.sdn.sap.com/irj/sdn/businessobjects-support?rid=/webcontent/uuid/00f6574f-8723-2b10-c1a6-f13e38194ee8"&gt;Product Lifecycles&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;Find out about the Technical Support Lifecycle policy and end of life dates. &lt;/p&gt;
&lt;h4&gt;Forums: Read and post questions to the new forums. &lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" href="http://www.sdn.sap.com/irj/sdn/businessobjects-forums"&gt;Business Objects Forums&lt;/a&gt;&amp;nbsp; &lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://www.sdn.sap.com/irj/sdn/businessobjects-sdk-forums"&gt;Business Objects SDK Application Development&lt;/a&gt;&amp;nbsp; &lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;UPDATE August 2, 2008&lt;/h3&gt;
&lt;p&gt;I found the download page for service packs, hot fixes, merge modules etc. It&amp;#39;s here: &lt;a href="https://websmp230.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm"&gt;https://websmp230.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Deploying applications that use Crystal Reports for .Net</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2008/05/14/deploying-applications-that-use-crystal-reports-for-net.aspx</link><pubDate>Wed, 14 May 2008 20:28:05 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:459001</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;I know, for a lot of Microsoft developers Crystal Reports (CR) is a no-go area. But I know that a lot of developers are using it, whether they like it or not. Because of my posts about CR, and more specifically my CrystalHelper class, I&amp;#39;m asked how to deploy applications that use the free version of CR that is shipped with various versions of Visual Studio. &lt;/p&gt; &lt;p&gt;This information is already available at support site for CR. In this post I will post links to that documentation as a reminder to myself, but also to help others that need help when deploying CR to client or server machines.&lt;/p&gt; &lt;h2&gt;Register your version of CR&lt;/h2&gt; &lt;p&gt;Although you are allowed to freely distribute the CR engine that is supplied with Microsoft Visual Studio, you still need to register that version. To do so, simply add a report to your application. CR will check if registration has already taken place. When this is not the case, CR will ask if you wish to register. Just follow the steps and registration will take place. Registration is free!&lt;/p&gt; &lt;h2&gt;Register yourself as a CR developer at Business Objects&lt;/h2&gt;An important source of information for everyone using CR, as a developer or a report designer, is the &lt;a href="https://boc.sdn.sap.com/" target="_blank"&gt;Diamond Technical Community web site&lt;/a&gt;. When you register here, you get access to all the documentation available on CR. Most of the information I will link to in this post can be found here, the downloads for Merge Modules and Service packs.  &lt;h2&gt;CR as part of a VS 2002/2003/2005 project &lt;/h2&gt; &lt;p&gt;For Visual Studio 2002/2003/2005, you are required to use merge modules. The current version of these modules can be found here:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Download merge modules for &lt;a href="http://support.businessobjects.com/downloads/runtime.asp#03" target="_blank"&gt;Visual Studio 2002&lt;/a&gt;  &lt;li&gt;Download merge modules for &lt;a href="http://support.businessobjects.com/downloads/runtime.asp#04" target="_blank"&gt;Visual Studio 2003&lt;/a&gt;  &lt;li&gt;Download merge modules for &lt;a href="http://support.businessobjects.com/downloads/runtime.asp#07" target="_blank"&gt;Visual Studio 2005&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;These downloads contain a number of merge modules. Which module is required for your setup depends on the reports you are deploying. A very comprehensive document that explains which modules to add and how to do so when you use Visual Studio 2002/2003 can be found &lt;a href="http://resources.businessobjects.com/support/communitycs/TechnicalPapers/crnet_deployment.pdf?recDnlReq=Record&amp;amp;dnlPath=crnet_deployment.pdf" target="_blank"&gt;here&lt;/a&gt;. Documentation on how to use the merge modules in Visual Studio 2005 is enclosed in the download of those merge modules.&lt;/p&gt; &lt;h2&gt;CR as part of a VS 2008 project&lt;/h2&gt; &lt;p&gt;The version of CR distributed with Visual Studio 2008 is actually the same as the one distributed with Visual Studio 2005. So for that version, simply follow the instructions for that version.&lt;/p&gt; &lt;h2&gt;Building a redistributable package for VS 2005&lt;/h2&gt; &lt;p&gt;For applications built with Visual Studio 2005, it might also be a good idea to have a Runtime Package as a custom action or a pre-requisite in your setup. There are some reasons for this:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;In a network environment, these packages can be pushed by the network administrator  &lt;li&gt;The embedded merge modules force you to rebuild the setup for your applications if you want to take advantage of fixes or service packs  &lt;li&gt;The runtime package is not part of your setup and can be deployed once, rather than each time your application is installed.  &lt;li&gt;Since the setup it is significantly smaller when the merge modules are omitted, the download of your setup takes less time.  &lt;li&gt;Setup of your application is faster as it doesn&amp;#39;t have to install the merge modules.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;CR however does not provide redistributable packages for this version (or for Visual Studio 2002/2003) so I created one myself for use in my current project. For those interested, I followed this easy steps:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Once you have downloaded the merge modules for Visual Studio 2005, extract the file CrystalReports2005_x86 to the folder C:\Program Files\Common Files\Merge Modules  &lt;li&gt;Create a new Setup project and name it RedistCrystalReports2005_x86  &lt;li&gt;Right-click the project name in the solution explorer and select Add -&amp;gt; Merge Module...  &lt;li&gt;Select the merge module CrystalReports2005_x86.msm file from the dialog box  &lt;li&gt;Build the project&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;And you&amp;#39;re ready. A redistributable for CR reports to support the applications you build using Visual Studio 2005 and Visual Studio 2008.&lt;/p&gt; &lt;p&gt;I&amp;#39;m sure this can also be done for Visual Studio 2002/2003 but I have not been able to test that. But the steps would be similar, with the exception of license information which is required for these versions of Visual Studio.&lt;/p&gt;</description></item><item><title>Crystal Reports for Visual Studio 2005 deployment trouble</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2007/12/10/crystal-reports-for-visual-studio-2005-deployment-trouble.aspx</link><pubDate>Mon, 10 Dec 2007 12:53:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:444639</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;I just spent 4 hours of figuring out why the reports we developed using Crystal Reports would not show the graphs after being deployed to our production server. We checked everything from access rights to proper installation of Crystal reports on the server. Below are a few things you may want to check when you need to deploy a .Net 2.0 web application that integrates Crystal Reports:&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Deploy Crystal components&lt;/h3&gt;
&lt;p&gt;First, and rather obvious, is to make sure the correct version of Crystal components are installed on the server. If you have the Visual Studio SDK installed, you can look for CRRedist2005_x86.msi, which is in this folder C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports on your machine. Running that installation on the server will make sure all components required for Crystal Reports are properly installed on your machine.&lt;/p&gt;
&lt;p&gt;If you have a setup project for your web application, you can add a merge module to that project. Crystal Reports provides four merge modules for download at &lt;a class="" href="http://support.businessobjects.com/downloads/runtime.asp#07" target="_blank"&gt;this location&lt;/a&gt;. Depending on your needs, you may need to add any combination of these to your setup project. Which module is required for your application can be found in &lt;a class="" title="Right-Click to download" href="http://diamond.businessobjects.com/system/files/deployingcrystalceports10for.net.doc" target="_blank"&gt;this document&lt;/a&gt; on the Business Objects support site.&lt;/p&gt;
&lt;p&gt;
&lt;h3&gt;Web.Config settings&lt;/h3&gt;
&lt;p&gt;In order for a Crystal Reports viewer to work, the following settings must be added to the appSettings section in the web.Config file:&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#cccccc 1pt solid;PADDING-RIGHT:1pt;BORDER-TOP:#cccccc 1pt solid;PADDING-LEFT:1pt;FONT-SIZE:9pt;BACKGROUND:#f5f5f5;PADDING-BOTTOM:1pt;OVERFLOW:auto;BORDER-LEFT:#cccccc 1pt solid;WIDTH:100%;COLOR:black;PADDING-TOP:1pt;BORDER-BOTTOM:#cccccc 1pt solid;FONT-FAMILY:Courier New;"&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;add&lt;/span&gt;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;key&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;CrystalImageCleaner-AutoStart&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;value&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;add&lt;/span&gt;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;key&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;CrystalImageCleaner-Sleep&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;value&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;60000&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;add&lt;/span&gt;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;key&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;CrystalImageCleaner-Age&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;value&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;120000&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This will ensure that the temporary images for Crystal are removed when they are no longer required. The following setting must be added the the httpHandlers section.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#cccccc 1pt solid;PADDING-RIGHT:1pt;BORDER-TOP:#cccccc 1pt solid;PADDING-LEFT:1pt;FONT-SIZE:9pt;BACKGROUND:#f5f5f5;PADDING-BOTTOM:1pt;OVERFLOW:auto;BORDER-LEFT:#cccccc 1pt solid;WIDTH:100%;COLOR:black;PADDING-TOP:1pt;BORDER-BOTTOM:#cccccc 1pt solid;FONT-FAMILY:Courier New;"&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR:#a31515;"&gt;add&lt;/span&gt;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;verb&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;GET&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;path&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;CrystalImageHandler.aspx&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt; &lt;/span&gt;&lt;span style="COLOR:red;"&gt;type&lt;/span&gt;&lt;span style="COLOR:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;CrystalDecisions.Web.CrystalImageHandler, &lt;/span&gt;&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;    CrystalDecisions.Web, &lt;/span&gt;&lt;span style="COLOR:blue;"&gt;Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&lt;/span&gt;&amp;quot;&lt;span style="COLOR:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This is required, because otherwise all you will see is an empty box with a red cross in it.&lt;/p&gt;
&lt;h3&gt;aspnet_client files&lt;/h3&gt;
&lt;p&gt;Last, but certainly not least, check the aspnet_client folder in the root folder of your web site. This folder should contain a folder with the name CrystalReportWebFormViewer3. That folder must exist in the following path: system_web\2_0_50727. If that folder is not there, copy it from your local machine. It should be in the folder C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles.&lt;/p&gt;</description></item><item><title>Crystal Reports helper class updated.</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2007/07/19/CrystalHelper.aspx</link><pubDate>Thu, 19 Jul 2007 03:57:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:10549</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;In this weblog, I&amp;#39;ve regularly posted examples of stuff I created to help me use Crystal Reports in .Net applications. To make life easier I created a small class library which contains the code from all the posts I&amp;#39;ve done sofar, as well as some new stuff. The class library can be used to handle Crystal Reports in a simple way.&amp;nbsp;In the past weeks I&amp;#39;ve been&amp;nbsp;adding functionality to support the version that&amp;#39;s included in Visual Studio 2005. A full description of the functionality can be found in my &lt;a class="" href="http://www.codeproject.com/useritems/CrystalHelper.asp" target="_blank"&gt;CodeProject article&lt;/a&gt; about the CrystalHelper class.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Functionality offered by this class library&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The class library handles the following general Crystal functionality: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Assign a database connection to the report. 
&lt;li&gt;Assign DataSet&amp;#39;s to the report. 
&lt;li&gt;Print a report on the default printer. 
&lt;li&gt;Write the report to disk in one of the following formats: 
&lt;ol&gt;
&lt;li&gt;Microsoft Word 
&lt;li&gt;Microsoft Excel 
&lt;li&gt;Rich Text 
&lt;li&gt;Adobe Portable Document Format (PDF) &lt;/li&gt;&lt;/ol&gt;
&lt;li&gt;Set values for report parameters &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;The class library also allows you to manipulate the Crystal Report Viewer control (WinForm only):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Show / Hide the status bar. 
&lt;li&gt;Show / Hide&amp;nbsp;the tabs. 
&lt;li&gt;Change the report name shown on the tabs. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;A few examples will show you how easy it is to use Crystal Reports in .Net using this class library:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sending a report to the default printer&lt;/strong&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#cccccc 1pt solid;PADDING-RIGHT:1pt;BORDER-TOP:#cccccc 1pt solid;PADDING-LEFT:1pt;FONT-SIZE:9pt;BACKGROUND:#f5f5f5;PADDING-BOTTOM:1pt;OVERFLOW:auto;BORDER-LEFT:#cccccc 1pt solid;WIDTH:100%;COLOR:black;PADDING-TOP:1pt;BORDER-BOTTOM:#cccccc 1pt solid;FONT-FAMILY:Courier New;"&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;using&lt;/span&gt; (CrystalHelper helper = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; CrystalHelper(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; CrystalReport1(),&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;Server&amp;quot;, &amp;quot;Database&amp;quot;, &amp;quot;UserName&amp;quot;, &amp;quot;Password&amp;quot;))&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;{&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Open();&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Print();&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Close();&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;}&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Writing a report to disk as an Adobe PDF file&lt;/strong&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:#cccccc 1pt solid;PADDING-RIGHT:1pt;BORDER-TOP:#cccccc 1pt solid;PADDING-LEFT:1pt;FONT-SIZE:9pt;BACKGROUND:#f5f5f5;PADDING-BOTTOM:1pt;OVERFLOW:auto;BORDER-LEFT:#cccccc 1pt solid;WIDTH:100%;COLOR:black;PADDING-TOP:1pt;BORDER-BOTTOM:#cccccc 1pt solid;FONT-FAMILY:Courier New;"&gt;&lt;pre style="MARGIN:0px;"&gt;&lt;span style="COLOR:blue;"&gt;using&lt;/span&gt; (CrystalHelper helper = &lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; CrystalHelper(&lt;span style="COLOR:blue;"&gt;new&lt;/span&gt; CrystalReport1(),&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;Server&amp;quot;, &amp;quot;Database&amp;quot;, &amp;quot;UserName&amp;quot;, &amp;quot;Password&amp;quot;))&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;{&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Open();&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Export(@&amp;quot;C:\Sample.pdf&amp;quot;, CrystalExportFormat.PortableDocFormat);&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.Close();&lt;/pre&gt;&lt;pre style="MARGIN:0px;"&gt;}&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The code is documented using XML tags. It is possible to generate documentation using NDoc or any other tool that can process the XML file created when you compile this code. Attached to this post is a zip file. It contains the sources to my CrystalHelper class and for a demo application that shows how you might use this helper.&lt;/p&gt;</description></item><item><title>New Business Objects Support site</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2006/08/30/New-Business-Objects-Support-site.aspx</link><pubDate>Wed, 30 Aug 2006 01:32:14 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:17810</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;&lt;/p&gt; &lt;p&gt;Business Objects have introduced a new web site, &lt;a href="http://diamond.businessobjects.com/" target="_blank"&gt;Diamond.businessobjects.com&lt;/a&gt;. Well not entirely new. But it has been up since 18 July 2006 so it's not old. The new support site is setup to provide information to developers on the Business Objects reporting solutions, such as &lt;a href="http://www.businessobjects.com/products/crystal/default.asp?intcmp=ip_products_crystal" target="_blank"&gt;Crystal Reports&lt;/a&gt;&amp;nbsp;and &lt;a href="http://www.businessobjects.com/products/businessobjectsxi/default.asp?intcmp=ip_products2" target="_blank"&gt;Business Objects XI&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;The information on this web site is divided into 3 main topics: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://diamond.businessobjects.com/node/259" target="_blank"&gt;Develop and Integrate&lt;/a&gt;  &lt;li&gt;&lt;a href="http://diamond.businessobjects.com/node/142" target="_blank"&gt;Report design&lt;/a&gt;  &lt;li&gt;&lt;a href="http://diamond.businessobjects.com/node/143" target="_blank"&gt;Deployment&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Each of these sections has an Overview section. From there you can reach the Forums, News and Media sections for these 3 main topics. The &lt;a href="http://diamond.businessobjects.com/node/259" target="_blank"&gt;Develop and Integrate&lt;/a&gt;&amp;nbsp;topic also has a &lt;strong&gt;Code Samples&lt;/strong&gt; and &lt;strong&gt;Developer Library&lt;/strong&gt; section. I have already searched the site for solutions to some of my problems (such as the one in &lt;a href="http://bloggingabout.net/blogs/jschreuder/archive/2006/08/30/Crystal-Reports-for-.Net-fails-on-Citrix-_2F00_-Terminal-Server.aspx" target="_blank"&gt;this post&lt;/a&gt;) and so far always found a solution. &lt;/p&gt; &lt;p&gt;So check it out if you have a problem with a Business Objects product, or simply if you want more information about any of them.&lt;/p&gt;</description></item><item><title>Crystal Reports for .Net fails on Citrix / Terminal Server</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2006/08/30/Crystal-Reports-for-.Net-fails-on-Citrix-_2F00_-Terminal-Server.aspx</link><pubDate>Wed, 30 Aug 2006 01:19:13 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:17807</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;Yesterday I received an email from a colleague whom I worked with on a Windows Forms project a few months ago. We had implemented Crystal Reports in that application to generate reports and Word documents. The application has since been deployed several times without problems. But in his email yesterday, he mentioned that he couldn't run any of the reports. Every time he started a report, he got the error message "&lt;strong&gt;Load Report Failed&lt;/strong&gt;".&lt;/p&gt; &lt;p&gt;The problem is caused by the fact that Crystal Reports stores some locations in the system registry. And normally, all applications are installed to the C: drive. But in most cases, a user that will access the application in a Citrix or Terminal Server environment&amp;nbsp;will never have access to the C: drive. To solve it, you need to change a few registry settings using RegEdit.&amp;nbsp;I found the solution to this problem &lt;a href="http://diamond.businessobjects.com/node/231" target="_blank"&gt;here&lt;/a&gt; at the &lt;a href="http://diamond.businessobjects.com/taxonomy/term/3" target="_blank"&gt;Crystal Reports Support Site&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>How to: Set parameters on a Crystal Report</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2005/12/13/10533.aspx</link><pubDate>Mon, 12 Dec 2005 23:05:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:10533</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;P&gt;It is possible to add parameters to reports. Using these parameters you can allow users to set date ranges, or pass other information to a report. Using the following method, you can set the parameters:&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: #cccccc 1pt solid; PADDING-RIGHT: 1pt; BORDER-TOP: #cccccc 1pt solid; PADDING-LEFT: 1pt; FONT-SIZE: 9pt; BACKGROUND: #f5f5f5; PADDING-BOTTOM: 1pt; OVERFLOW: auto; BORDER-LEFT: #cccccc 1pt solid; WIDTH: 100%; COLOR: black; PADDING-TOP: 1pt; BORDER-BOTTOM: #cccccc 1pt solid; FONT-FAMILY: Courier New"&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: gray"&gt;///&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;summary&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: gray"&gt;///&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt; Set value for report parameters&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: gray"&gt;///&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;/summary&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: gray"&gt;///&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;param name="name"&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;Parameter name.&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: gray"&gt;///&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;param name="value"&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;Value to be set for the specified parameter.&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;&amp;lt;/param&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; SetParameter(&lt;SPAN style="COLOR: blue"&gt;string&lt;/SPAN&gt; name, &lt;SPAN style="COLOR: blue"&gt;object&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;value&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;{&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: green"&gt;//Access the specified parameter from the parameters collection&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition parameter = _reportDocument.DataDefinition.ParameterFields[name];&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: green"&gt;// Now get the current value for the parameter and clear them&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrystalDecisions.Shared.ParameterValues currentValues = parameter.CurrentValues;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentValues.Clear();&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: green"&gt;// Create a value object for Crystal reports and assign the specified value.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrystalDecisions.Shared.ParameterDiscreteValue newValue = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; CrystalDecisions.Shared.ParameterDiscreteValue();&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newValue.Value = &lt;SPAN style="COLOR: blue"&gt;value&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: green"&gt;// Now add the new value to the values collection and apply the &lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: green"&gt;// collection to the report.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentValues.Add(newValue);&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parameter.ApplyCurrentValues(currentValues);&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;}&lt;/PRE&gt;&lt;/DIV&gt;</description></item><item><title>How to: Tweak the Crystal Reports Viewer control</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2005/08/03/8760.aspx</link><pubDate>Wed, 03 Aug 2005 04:29:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:8760</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;P&gt;Novita Wegbrands,&amp;nbsp;a colleague of mine, needed to hide the tabs that are usually shown in the Crystal reports viewer. Either that, or change the default "MainReport" description. She found some &lt;A href="http://forums.belution.com/en/crystal/000/021/22.shtml"&gt;code here&lt;/A&gt; on &lt;A href="http://forums.belution.com/en/crystal"&gt;forums.belution.com/en/crystal&lt;/A&gt; that suited her needs. She sent the code to me (thanks Novita!) and I changed them a little so they would fit my library of Crystal Helper classes. So here's what we have now. &lt;/P&gt;
&lt;H3&gt;Show / Hide the status bar&lt;/H3&gt;
&lt;P&gt;By default, the Crystal&amp;nbsp;Reports viewer shows a status bar at the bottom to indicate the current page, the total number of pages and the current zoom factor. But maybe you'd like to hide it. No problem, the following code will do just that:&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: #cccccc 1pt solid; PADDING-RIGHT: 1pt; BORDER-TOP: #cccccc 1pt solid; PADDING-LEFT: 1pt; FONT-SIZE: 9pt; BACKGROUND: #f5f5f5; PADDING-BOTTOM: 1pt; OVERFLOW: auto; BORDER-LEFT: #cccccc 1pt solid; WIDTH: 100%; COLOR: black; PADDING-TOP: 1pt; BORDER-BOTTOM: #cccccc 1pt solid; FONT-FAMILY: Courier New"&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; ViewerStatusBar(CrystalReportViewer viewer, &lt;SPAN style="COLOR: blue"&gt;bool&lt;/SPAN&gt; visible)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;{&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;foreach&lt;/SPAN&gt; (Control control &lt;SPAN style="COLOR: blue"&gt;in&lt;/SPAN&gt; viewer.Controls)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (control.GetType().Name.ToString() == "StatusBar")&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; control.Visible = visible;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;}&lt;/PRE&gt;&lt;/DIV&gt;
&lt;DIV class=cf&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H3 class=cf&gt;Show / Hide the tabs&lt;/H3&gt;
&lt;P&gt;The Crystal Reports viewer will also display tabs for the report. By default there is always one. But when it not possible to perform a drill-down in a report then this tab is virtually useless. Using the following code, you can hide those tabs:&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: #cccccc 1pt solid; PADDING-RIGHT: 1pt; BORDER-TOP: #cccccc 1pt solid; PADDING-LEFT: 1pt; FONT-SIZE: 9pt; BACKGROUND: #f5f5f5; PADDING-BOTTOM: 1pt; OVERFLOW: auto; BORDER-LEFT: #cccccc 1pt solid; WIDTH: 100%; COLOR: black; PADDING-TOP: 1pt; BORDER-BOTTOM: #cccccc 1pt solid; FONT-FAMILY: Courier New"&gt;&lt;PRE style="MARGIN: 0px"&gt;&lt;SPAN style="COLOR: blue"&gt;public&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;void&lt;/SPAN&gt; ViewerTabs(CrystalReportViewer viewer, &lt;SPAN style="COLOR: blue"&gt;bool&lt;/SPAN&gt; visible)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;{&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;foreach&lt;/SPAN&gt; (Control control &lt;SPAN style="COLOR: blue"&gt;in&lt;/SPAN&gt; viewer.Controls)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (control &lt;SPAN style="COLOR: blue"&gt;is&lt;/SPAN&gt; PageView)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; TabControl tab = (TabControl)((PageView)control).Controls[0];&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;if&lt;/SPAN&gt; (!visible)&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.ItemSize = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; Size(0, 1);&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.SizeMode = TabSizeMode.Fixed;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.Appearance = TabAppearance.Buttons;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: blue"&gt;else&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.ItemSize = &lt;SPAN style="COLOR: blue"&gt;new&lt;/SPAN&gt; Size(67, 18);&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.SizeMode = TabSizeMode.Normal;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; tab.Appearance = TabAppearance.Normal;&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;PRE style="MARGIN: 0px"&gt;}&lt;/PRE&gt;&lt;/DIV&gt;
&lt;DIV class=cf&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=cf&gt;The ItemSize that is created on the tab control is a default size. Because the&amp;nbsp;SizeMode property is set to Normal, Crystal Reports will automatically scale the tab to fit the name.&lt;/DIV&gt;
&lt;H3&gt;Change the name of the tab&lt;/H3&gt;
&lt;P&gt;As stated before, the default name for the first tab is usually MainReport. It is possible to change this by using the following code:&lt;/P&gt;</description></item><item><title>Crystal Reports and Visual Studio</title><link>http://bloggingabout.net/blogs/jschreuder/archive/2005/05/25/4230.aspx</link><pubDate>Wed, 25 May 2005 08:55:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:4230</guid><dc:creator>Jan Schreuder</dc:creator><description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;I have used Crystal Reports in a number of .Net projects. It is shipped with Visual Studio 2003 and will also be part of Visual Studio 2005. If you want to use Crystal in your application, you will need to register the version that comes with Visual Studio. Registration of that version is &lt;b&gt;free&lt;/b&gt;, and it get's you access to &lt;a href="http://www.businessobjects.com/devzone/010/"&gt;developers section on the Business Objects website&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Today I was asked to get a co-worker started with Crystal Reports and so I went looking for information. I soon discovered that a lot of interesting stuff is on MSDN, you just need to know where to look. All the information below, and more, can be found &lt;a href="http://msdn.microsoft.com/vstudio/team/crystalreports/default.aspx"&gt;here on the Microsoft MSDN website&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" color="#000080"&gt;&lt;b&gt;Crystal Reports Reviewer's Guide&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;This reviewer's guide provides an &lt;a href="http://msdn.microsoft.com/vstudio/team/crystalreports/revguide/default.aspx"&gt;overview of the features&lt;/a&gt;, power and ease of use of Crystal Reports for Visual Studio .NET. It advertises Crystal reports as follows:&lt;/font&gt;&lt;/p&gt;
&lt;blockquote dir="ltr"&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Crystal Reports for Visual Studio .NET is the definitive out of the box reporting technology for use in .NET Windows and Web applications.&lt;/font&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;&lt;font face="Arial" color="#000080"&gt;&lt;b&gt;Getting Started Guide&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Arial" size="2"&gt;This whitepaper provides &lt;a href="http://msdn.microsoft.com/vstudio/team/crystalreports/gettingstarted/default.aspx"&gt;step-by-step instructions&lt;/a&gt; on the details of generating and displaying reports in various deployment scenarios and application environments using Crystal Reports for Visual Studio.NET 2003. And you can download all the code for this guide &lt;/font&gt;&lt;a href="http://download.microsoft.com/download/3/0/C/30CBC10A-7FF0-4C89-BCE1-DA55C1822A62/CrystalReportsGuide.msi"&gt;&lt;font face="Arial" size="2"&gt;here&lt;/font&gt;&lt;/a&gt;&lt;font face="Arial" size="2"&gt;.&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Arial" color="#000080"&gt;&lt;strong&gt;Interested?&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Arial" size="2"&gt;I think everyone should be interested in Crystal Reports. It's easy to&amp;nbsp;use, supported by Microsoft, and you can&amp;nbsp;deploy your applications using the version in&amp;nbsp;Visual Studio without a problem or licensing fee. I know Reporting Services are cool, but you need SQL Server to use it. And sometimes you have to work with Oracle,&amp;nbsp;MySQL or even Access.&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;font face="Arial" size="2"&gt;Those of you that have Visual Studio 2005 installed can quickly see what Crystal Reports has to offer. To do so, follow these steps:&lt;/font&gt;&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;
    &lt;div&gt;&lt;font face="Arial" size="2"&gt;From the file menu, select New Web Site.&lt;/font&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
    &lt;div&gt;&lt;font face="Arial" size="2"&gt;In the dialog you should see ASP.NET Crystal Reports Web Site. Select that project type.&lt;/font&gt;&lt;/div&gt;
    &lt;/li&gt;
    &lt;li&gt;
    &lt;div&gt;&lt;font face="Arial" size="2"&gt;When Visual Studio has finished creating the project, press F5 to run the website. &lt;/font&gt;&lt;/div&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;You should see a pie-chart with sales figures for various countries. Click a section of the pie chart, to zoom in on the sales for a particular country. Crystal then shows another chart with the sales for that country specified by state or region. The demo report allows you to go 5 levels deep.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;You can also print the report, using the print button on the webpage. Or export it, using the export button, to one of the following formats: Acrobat PDF, Word, Excel 97-2000, Rich Text Format.&lt;/font&gt;&lt;/p&gt;
</description></item></channel></rss>