Link to home
Start Free TrialLog in
Avatar of Madmiro
Madmiro

asked on

how to change the default export type in crystal report viewer from rpt to anything else (pdf / xls ...etc)

how to change the default export type in crystal report viewer from rpt to anything else (pdf / xls ...etc), if this is not applicable please advise how could I prompt the same dialog for the user programatically for the currently displayed report in a crystal report viewer control ...
Avatar of Mike McCracken
Mike McCracken

I don't know of a way to do that with the Crystal export button

You could add your own buttin to the viewer and controll it through code.

mlmcc
Avatar of Madmiro

ASKER

Can you post a sample of this code
Avatar of Madmiro

ASKER

hi mlmcc,
I have VS2008 and this sample project doesn't doesn't seem to have a valid vbproj file, if you was able to view this sample please copy the code and paste it here... Thanks
Avatar of Madmiro

ASKER

mlmcc, thanks for your help but this will not do it the way it should be, this will not allow the user to simply choose the export format type from a file dialog box
You could have the button open a new form and present the diakog as desired.  When selected you thenexecite the code.  

You will need to have a selection porcess to handle each export type with the appropriate codee.

mlmcc
ASKER CERTIFIED SOLUTION
Avatar of Adam Menkes
Adam Menkes
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial