locked
crystal reports builded too? RRS feed

  • Question

  • Hi,

    If there are crystal reports in my project, are these builded with the project in the exe file or are these as extern files?

    If possible, I want the reports as extern files.

    Thursday, September 30, 2010 7:48 PM

Answers

  • When you click on the report in the solution explorer, the properties grid should show you what its build action is set to. The default is likely set to Embedded Resource, which compiles it in with the exe.

    If you wish to have it be external, then you would have to change this Build Action to something else like Content and set its Copy to Output Directory to copy if newer, or copy always.


    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com
    • Proposed as answer by Cor Ligthert Friday, October 1, 2010 6:53 AM
    • Marked as answer by DerStauner Friday, October 1, 2010 6:43 PM
    Thursday, September 30, 2010 8:57 PM

All replies

  • When you click on the report in the solution explorer, the properties grid should show you what its build action is set to. The default is likely set to Embedded Resource, which compiles it in with the exe.

    If you wish to have it be external, then you would have to change this Build Action to something else like Content and set its Copy to Output Directory to copy if newer, or copy always.


    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com
    • Proposed as answer by Cor Ligthert Friday, October 1, 2010 6:53 AM
    • Marked as answer by DerStauner Friday, October 1, 2010 6:43 PM
    Thursday, September 30, 2010 8:57 PM
  • Take attention to what Matt wrote, I've seen that it is often misunderstood and then there are seperated Crystal Report DLL's deployed.

    Some like that more to save updating media space, but it is in my idea old fashion in common line speeds and other media sizes.

     


    Success
    Cor
    Friday, October 1, 2010 6:56 AM
  • I used to use crystal reports (first before I was programming and working as a reporting analyst for a telco) and then once I got to programming as well. I figured since I already knew a good amount about CR, it would make sense to use it in VB. However I had so many headaches with getting them to work right, especially when it came to deployment of the runtimes needed on the client machines, that I eventually gave up and started using the MS reports. They require a single simple runtime to distribute and so far I have had 0 headaches using and deploying them, with the one exception that VS2008 and VS2010 use different versions of the MS reporting tools.


    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com
    Friday, October 1, 2010 1:15 PM