Solved

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

Posted on 2008-06-19
5
358 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
Comment Utility
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
Comment Utility
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
Comment Utility
DO you have the Excel export dlls loaded?

If you just click OK does it export?

mlmcc
0
 

Author Comment

by:JairoMarques
Comment Utility
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
Comment Utility
Hi all,

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

Thanks all.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now