Hello;
When I designed an report by crystal report4.6 , The mapi button work well and can send the report via email
But when I use the same report in an application made by vb6 I can' use the mapi button , and also I can't send the report via email
The 4.6 version of CR is a very old version
In the VB6 app, where you call the report, try the next code (I think that you are using ocx)
Code:
With CrystalReport1 '(or your control's name)
.Destination = crptMail
.EMailMessage = " Here goes the message"
.EMailSubject = "Subject"
.EMailToList ="someemail@hotmail.com"
.Action = 1
End With
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Hello,
Yes I try it but H have no event, also the button which appeare at the end of the report page (MAPI Button) don't work
my be I don't understand something
Bookmarks