Solved

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

Posted on 2008-06-19
5
364 Views
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.

Thanks
0
Comment
Question by:JairoMarques
  • 3
  • 2
5 Comments
 
LVL 100

Expert Comment

by:mlmcc
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?

mlmcc
0
 

Author Comment

by:JairoMarques
ID: 21825147
Hi,

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.
0
 
LVL 100

Expert Comment

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

If you just click OK does it export?

mlmcc
0
 

Author Comment

by:JairoMarques
ID: 21825834
Yes, they are.

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

Accepted Solution

by:
JairoMarques earned 0 total points
ID: 21865268
Hi all,

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

Thanks all.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

679 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