Attach Excel file to a Report Created in SSRS 2008 - pdf

I'm trying to modify a web service which is creating PDF file from Crystal Reports.
The PDF printer is an Amyuni converter.
The Service is attaching Excel documents to the end of the Crystal Reports.
I have to redesign the web service to use instead of Crystal Reports SSRS 2008 Reports and I'm not sure if SSRS reports can attach an excel file.
Any help will be appreciated
Regards
Flo

Amyuni PDF Converter allows you to concatenate the output of a printing process to an existing PDF file. So if you just want to have a PDF file containing the information from SSRS and the excel file, you could just print your SSRS report and save it in a temporary file. Then you can print your excel file using automation, or use the "save as pdf" function from Excel 2007+ and concatenate to the temporary file mentioned before using Amyuni PDF Converter.
From the documentation:
The Appen and AppendEx methods append or concatenate a second PDF file
to a first one.
Usual disclaimer applies.

Related

How to make editable PDF with Crystal Report?

I have a Crystal Report template using Visual Studio 2015 and Crystal Report 11.
I am trying to make an editable PDF when I export it. Some fields with data that could be modified when the PDF is exported. Other data will not be able to be changed.
Is it possible to do that, I mean, export an editable PDF using Crystal Report?
Thanks in advance!
You can not export pdf with editable fields, crystal report does not support.
check this links -
https://archive.sap.com/discussions/message/13967957
https://archive.sap.com/discussions/thread/3340683
Better to ask in SAP forum that they have any support.
For this you need third party tool - https://www.experts-exchange.com/questions/28076120/Editable-PDF-from-Crystal-report.html

Crystal report when exported to pdf looks different on development machine and server

I am exporting crystal report to pdf format. On development machine the pdf document looks perfect but on server, the right hand section of entire pdf document is cut off a little bit.
I am using sub reports. On server the right border of all the sub reports and minor text is getting cut off.
Suggests here that in the Crystal Report client, go to Page Setup and select No Printer.
Crystal Report create strange PDF format on server
That might resolve your difference in the output.

Creating read-only Microsoft Word file using VB.net

I am trying to create a Microsoft Word file in VB.net which is read only.
My aim is that user will input the data in a Windows form, after pressing export button it'll get exported to a Word document. But here's a twist: I want this Word file to be read only.
Is there any option to do this? I have tried exporting through Crystal Report, but its still editable.
Any help would be appreciated.
You can use the File.SetAttributes method for that, I think. Check the MSDN site.

Converting Office files to PDF using SaveAs

I have a question about saving the Microsoft Office format file like doc, xls to PDF. I am using the SavesAs option in VB.Net to convert the files to PDF programatically. However, I need to open the file differently to achieve this.
If file is an Excel, then I need to open it using excel API's and then perform SaveAs. Similarly with Word documents. Is there a way so that I can open this documents generically and then use SaveAs option to convert them to PDF irrespective of opening the files?
The Word API and Excel API are two distinct APIs, even though they may both have a SaveAs method. You will not be able to use the same call for both file types.

difference between microsoft report viewer and adobe pdf reader tools?

i would like to display a pdf on my winform and am thinking of using of those tools in my vb.net application. does anyone know the difference between the two?
Microsoft Report Viewer reads report definition files and displays the report. Adobe's PDF reader displays PDF files.
Report definition files != PDF files, so you would need to make sure that you use the right tool for the right job. If you need to read PDFs, use a PDF reader.
As for consuming a PDF on a WinForm, you could host a WebBrowser control and point to the PDF. Alternately, there are several WinForm control manufacturers that read and display a PDF file (though I've not used any of them so would not be able to recommend one over another). Examples would be:
http://www.tallcomponents.com/
http://www.skysof.com/