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

How to export to Excel using Crystal XI R2 using RDC without prompting messages

Posted on 2008-06-19
Last Modified: 2011-10-03
Hi all.

using VB6, any body know  How to export to Excel using Crystal XI R2 and RDC without prompting messages.

Question by:JairoMarques
  • 3
  • 2
LVL 100

Expert Comment

ID: 21824825
First question.  Why Release 2.  It is only requires for running with VS.Net 2005.

As I recall there is a flag on the export command to show or not show the export dialog.

How are you exporting?


Author Comment

ID: 21825147

I already using False in Export method.

see above:
goCrystalReport.ExportOptions.DestinationType = crEDTDiskFile goCrystalReport.ExportOptions.DiskFileName = "myfilename.xls"
oCrystalReport.ExportOptions.FormatType = crEFTExcel97
goCrystalReport.ExportOptions.ExcelExportAllPages = True
goCrystalReport.DisplayProgressDialog = False
goCrystalReport.Export False

If i use any other FormatType the dialog doesn´t appear. Only with Excel format type.
LVL 100

Expert Comment

ID: 21825797
DO you have the Excel export dlls loaded?

If you just click OK does it export?


Author Comment

ID: 21825834
Yes, they are.

Everything works, but I don´t want this dialog, like in the other format types.

Accepted Solution

JairoMarques earned 0 total points
ID: 21865268
Hi all,

the Excel dialogs only appear in Development enviroment. At runtime everything works properly.

Thanks all.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

860 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