I
Irshad Alam
I have used the code and dll files after downloading from Mr. Stephen Lebans
website for converting the report to pdf (which have also dynapdf.dll &
strstorage.dll) . The following code I used which worked perfectly :
Private Sub Label59_Click()
RepoToPdfWC
End Sub
Function RepoToPdfWC()
Dim blRet As Boolean
blRet = ConvertReportToPDF(Me.Text60, vbNullString,
"C:\WsImpFiles\MyClaimedPDF\" & "Job-" & Me.JobNo & "-ClaimRef." &
Me.ClaimRefNo.Value & ".PDF", False)
End Function
Note : Me.Text60 contains the report name
The above sucessfully converts to pdf and open the pdf into acrobat 5
I want to add more codes and edit on above to get my below requirement
1 It should not open the acrobat for preview
2. it should open outlook express 6 - new email message and attach the above
created pdf and according to below BUT should not send, so that I can have a
final view before sending :
Email as below :
From: = (e-mail address removed)
To: = (e-mail address removed)
CC: = (e-mail address removed)
Subject: = "Job-" & Me.JobNo & "-ClaimRef." & Me.ClaimRefNo.Value
Body = "Reference is made to subject claim, attached pls. find the claim
form as pdf"
Bodysecondline="Thanks"
Bodythirdline="Irshad"
AttachmentFile="C:\WsImpFiles\MyClaimedPDF\" & "Job-" & Me.JobNo &
"-ClaimRef." & Me.ClaimRefNo.Value & ".PDF"
Note2 : I am using Windows XP svcpack2 and outlook express 6 , ms office 2000
Please advice, it will help me to reduce job time of hours.
Regards
Irshad
website for converting the report to pdf (which have also dynapdf.dll &
strstorage.dll) . The following code I used which worked perfectly :
Private Sub Label59_Click()
RepoToPdfWC
End Sub
Function RepoToPdfWC()
Dim blRet As Boolean
blRet = ConvertReportToPDF(Me.Text60, vbNullString,
"C:\WsImpFiles\MyClaimedPDF\" & "Job-" & Me.JobNo & "-ClaimRef." &
Me.ClaimRefNo.Value & ".PDF", False)
End Function
Note : Me.Text60 contains the report name
The above sucessfully converts to pdf and open the pdf into acrobat 5
I want to add more codes and edit on above to get my below requirement
1 It should not open the acrobat for preview
2. it should open outlook express 6 - new email message and attach the above
created pdf and according to below BUT should not send, so that I can have a
final view before sending :
Email as below :
From: = (e-mail address removed)
To: = (e-mail address removed)
CC: = (e-mail address removed)
Subject: = "Job-" & Me.JobNo & "-ClaimRef." & Me.ClaimRefNo.Value
Body = "Reference is made to subject claim, attached pls. find the claim
form as pdf"
Bodysecondline="Thanks"
Bodythirdline="Irshad"
AttachmentFile="C:\WsImpFiles\MyClaimedPDF\" & "Job-" & Me.JobNo &
"-ClaimRef." & Me.ClaimRefNo.Value & ".PDF"
Note2 : I am using Windows XP svcpack2 and outlook express 6 , ms office 2000
Please advice, it will help me to reduce job time of hours.
Regards
Irshad