title: How do you export an report while using ActiveReports
body: <p>I'm using Active Reports within my VB program to generate a report based on my data. Right now I have the report opening fine and it is allowing the user to print, copy, find, etc. I am unsure how to add the functionality to let the user choose to export the chart once the program is running.</p>
  <p>I've been looking at many tutorials but there is always something that makes it unable to work in my program. For example <a href="http://www.vbforums.com/showthread.php?t=137210" rel="nofollow noreferrer">this</a> forum gives the exact code for what I want as they add an export button to the toolbar and then adds the functionality to the button. Unfortunately I am unable to access the toolbar. They access it with <code>Me.Toolbar</code> and I am unable to access it this way.</p>
  <p>Another forum <a href="http://www.datadynamics.com/forums/129447/ShowPost.aspx" rel="nofollow noreferrer">here</a> doesn't add the export to the toolbar and instead inserts it directly into the code but I'm not sure what to import to allow me to do it this way as my project doesn't recognize <code>ActiveReportsPDFExport.ARExportPDF</code>.</p>
  <p><strong>UPDATE:</strong></p>
  <p>Found a way to export to PDF by adding to the ActiveReport in the design format a <code>DataDynamics.ActiveReports.Export.Pdf.PdfExport</code> and then calling from my code <code>PdfExport1.Export(Me.Document, &quot;D:\Kyra\HELP.pdf&quot;)</code></p>
  <p><strong>Problem:</strong></p>
  <ol>
  <li>This is called at the end of my function which opens the active report. I want the user to be able to choose to export the report and then be given the option of choosing the format and location where they want to save the report to.</li>
  </ol>