Disabling or overriding the excel and pdf export function in Reporting Services - sql-server-2005

Is there a way to disable or override the excel and pdf export function in SQL Server Reporting Services. I want to my own custom excel export.

To disable them, you can edit the ReportServer RSReportServer.Config file. Remove the Excel and PDF extensions from the Render section.
More Info:
http://msdn.microsoft.com/en-us/library/cc627537.aspx

Locate the file name RSReportDesigner.config at
"Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\RSReportDesigner.config".
then add visible = false
Your PDF export will not be visible in report server

Related

How to use VBA to change the default MS Word 2016 options so that when you save as PDF the headings are included as bookmarks?

I'm using Microsoft Word 2016 and looking for a way to run a vba macro that will change the default option to Create bookmarks using: Headings when I save a document as PDF when I click on
File ->
Save As ->
PDF (*.pdf) ->
More options.. ->
Options
Note: The option is only available if you have a table of contents in the document.
The goal is that if a user chooses to save as PDF that option will be already checked.
I'm not asking how to do this manually, like in this question
nor programmaticaly save to PDF using vba like here or here.
Since it's not reachable by VBA at the point of save a file as PDF I do not see it as possible to change that PDF saving option using only VBA.
The only way I see you can reach the behavior you seek is as follow but need some special effort. You need to either create a VTSO addin or be able to have an extra marco file in the Microsoft Word Startup-Path so it will be loaded at Microsoft Word Startup.
Re-implement your own "Save" behavior by overriding the Save functionality (BeforeSave) of Microsoft Word and provide it via your own Save-Button in the Microsoft Word-Menu described here

How to add additional options for export dropdown in a reportviewer

Do anyone have good ideas of how an additional option can be added to the existing export drop down menu in a report viewer?
Currently it has Excel, PDF and Word , and i want to add one more option that export the data to .csv format.
Thank you
If you are using local reports (as the tags on on this question suggests), you cannot add more options to the export dropdown, as this is a limitation of the ReportViewer control in this mode.

Update SQL Database from Report (SSRS / Catch Export Event)

In an RDL file, if the user exports to PDF (let's say), I want to mark some rows from the report, in the MSSQL database, as being exported. Can I do that from the RDL itself?
The RDL is purely used for presenting the data. You cannot attach to the Export to PDF button in SSRS and then UPDATE the database.
An alternative would be to use an ASP.NET web page with the Report Viewer control with a custom button that exports to PDF and then calls some server side code to UPDATE the database with the marked rows.

vb.net vs2010 project deployment problem: eula.rtf is not displayed during application deployment. Any ideas?

I've created a setup and deployment project for my vb.net application using the Visual Studio 2010 wizard. I also added the eula.rtf file to the setup project and set it to install to the user's application folder. I then added a license agreement UI dialog in the setup project and pointed the licenseFile to eula.rtf. However, when testing the resulting setup.msi, the UI License Agreement dialog appears but no text is displayed inside the box where the eula should appear. I tried re-naming the eula and tried to change the encoding of the file but without success. Am I missing something? What should I do to make it work?
Many thanks.
Did you actually create a .rtf in the proper format or did you just rename a text file? You'll need either Wordpad or Microsoft Word to create one. Wordpad is the better choice, it is likelier to create RTF in a format that the rich text box fully supports.

How to configure ReportViewer so it can be exported CSV in ASP.NET?

How to configure ReportViewer so it can be exported CSV in ASP.NET (ReportViewer that comes from VisualStudio 2005/2008)? So it will be apart of current drop downlist? At the moment, it's only for Excel and PDF but not CSV.
Thanks
When you run Report Viewer in Local mode, you cannot export to anything other than PDF and Excel. If you want to be able to export to other formats, you need to run Report Viewer in Server Mode. The rendering is then done on the SQL server through extensions.
The only way to make Report Viewer export other formats in local mode, is by overriding the render class, and basically write a renderer yourself. This is quite complicated.
On a side note, you can also enable Word and HTML rendering through Reflection. Howerver, the rendering of images through this technique is a little sketchy. I tried doing this, and the images would not render properly.