Solved

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

Posted on 2008-06-19
5
366 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
[X]
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
  • 3
  • 2
5 Comments
 
LVL 101

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 101

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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 …
Suggested Courses

623 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