send crystal report4.6 by email via vb6
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
can I get your help
regards
Fkwinna
Re: send crystal report4.6 by email via vb6
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
Re: send crystal report4.6 by email via vb6
kindly post an sample (the form and its code)
Thank's
Re: send crystal report4.6 by email via vb6
Kindly note that I'm still waiting your post
Thank's
Re: send crystal report4.6 by email via vb6
Did you try the code in post #2 ?
Is there something that you don't understand?
Re: send crystal report4.6 by email via vb6
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
Re: send crystal report4.6 by email via vb6
Sorry but I have not CR4.6 installed, the code I posted is from very old projects
Post your code and maybe someone could help you