Solved

VS2008 VB.NET Build Process with Crystal Reports in a sub-folder

Posted on 2013-12-16
6
370 Views
Last Modified: 2013-12-18
When building my project to the Release folder, what build action should I be using when the reports are not compile inside the EXE?

The reports are in a sub-directory "Reports".

If I use "Content" then the report and vb file are copied to the sub-directory "Reports".

If I use "Resource" then the vb file only are copied to the sub-directory "Reports".

If I use "Compile" then there are all kinds of errors when I compile.

Thanks,

Mark
0
Comment
Question by:etsellinc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39724505
I use Content but then I have to manually copy CR files.
0
 

Author Comment

by:etsellinc
ID: 39724574
Thanks CodeCruiser,

That is what I currently use too. I am having troubles with installers and the files that are packaged, including sub folders with files. So far I have not been able to get any installer to work with sub folders or report files except to manually add.  The "Project Output" function does not include the sub folders and the "Add Folder" function adds everything including the VB files.

There are a lot of report files and soon there will be many more. Tracking which ones are already in the installer is a problem.

I was thinking that I had the wrong Build Action.

Thanks again,

Mark
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39724746
Do you manually load report files from subfolders in your code?
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

Author Comment

by:etsellinc
ID: 39725378
Yes, I load the reports using the application location then adding the "Reports" folder and then the report name. When we update reports we just push the report only to all the project locations.

I've considered putting the reports directly into the EXE but that would increase the size. Also at each location a few of the reports are custom edited thus making updates as a whole not possible.

Thanks,
Mark
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39725523
ALso utting them in the EXE will require a new EXE when you change a report

mlmcc
0
 

Author Closing Comment

by:etsellinc
ID: 39726496
Although cumbersome, the use of "content" and filtering to use only the RPT files seems to be the only solution. Thanks CodeCruiser for the confirmation.

Mark
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net - MemoryMappedFiles - Confirm receipt 2 36
Help with adding DLL file in Windows project 20 47
Generate Numbers in JQuery file 11 72
Name Space error VS2015 1 38
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question