-
August 30th, 2012, 09:41 AM
#1
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
-
August 30th, 2012, 10:35 AM
#2
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
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
August 30th, 2012, 03:00 PM
#3
Re: send crystal report4.6 by email via vb6
kindly post an sample (the form and its code)
Thank's
-
August 31st, 2012, 07:57 AM
#4
Re: send crystal report4.6 by email via vb6
Kindly note that I'm still waiting your post
Thank's
-
August 31st, 2012, 11:07 AM
#5
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?
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
August 31st, 2012, 11:44 AM
#6
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
-
September 1st, 2012, 10:29 AM
#7
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
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|