Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Send to Mapi and Outlook Warning Post Reply Post New Topic
Author Message
rua17
Newbie
Newbie


Joined: 31 Aug 2009
Online Status: Offline
Posts: 2
Quote rua17 Replybullet Topic: Send to Mapi and Outlook Warning
     Posted: 31 Aug 2009 at 11:33am
Hi,
 
I Implemented this code in a com object  to send a Crystal Reports X report, but when it runs an Outlook Security Warning appears every time saying an uknown program is trying....
 
Any ideas how to remove it? is it a common problem for you all?
 
ThanksCry
 
 
Code:
 
Dim App as New craxdrt.Application
Dim rpt as craxdrt.Report

Set rpt = App.OpenReport("\\path\ImpBuddyProfile.RPT")

   With rpt.ExportOptions
                .DestinationType = crEDTEMailMAPI
                .FormatType = crEFTPortableDocFormat

                .MailToList = "steve"

                .MailSubject = "Mail Subject"
                .MailMessage = strMessage
            End With

            With rpt
                .DisplayProgressDialog = False
                .EnableParameterPrompting = False
                .ParameterFields(1).AddCurrentValue "Any Old Value"
                .Export False
            End With
 
IP IP Logged
zlatan24
Newbie
Newbie


Joined: 05 Mar 2010
Online Status: Offline
Posts: 2
Quote zlatan24 Replybullet Posted: 03 Mar 2011 at 9:24am
Originally posted by rua17

Hi,
 

I Implemented this code in a com object  to send a Crystal Reports X report, but when it runs an Outlook Security Warning appears every time saying an uknown program is trying....

 

Any ideas how to remove it? is it a common problem for you all?

 

Thanks[IMG]smileys/smiley19.gif" height="17" width="17" align="absmiddle" alt="Cry" />

 

 

Code:

 

Dim App as New craxdrt.ApplicationDim rpt as craxdrt.ReportSet rpt = App.OpenReport("\\path\ImpBuddyProfile.RPT")   With rpt.ExportOptions                .DestinationType = crEDTEMailMAPI                .FormatType = crEFTPortableDocFormat                .MailToList = "steve"                .MailSubject = "Mail Subject"                .MailMessage = strMessage            End With            With rpt                .DisplayProgressDialog = False                .EnableParameterPrompting = False                .ParameterFields(1).AddCurrentValue "Any Old Value"                .Export False            End With

 


There are some similar problems in my ms outlook. And only this morning I had probably found out a proper solution. The tool has many positive resources for working out all kind of problem with ms outlook emails - pst recovery outlook 2007.
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum