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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reccomended programming language for client-server applications 12 93
Formula problem with Excel attachment 6 27
free Crystal Report viewer 4 18
Sum of multiple formulas 6 17
A short article about a problem I had getting the GPS LocationListener working.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

776 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