473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Send Email Report with CR 9

Hi All,

Im using VS 2003, VB.Net and embbed Crystal Report 9.

How can I send by mail a report from Crystal; I try many samples i find on
the web, but nothing works.

any help will be appreciate.

thx in advance
--
Francisco J. Salazar - MCP
Nov 7 '06 #1
2 1171
"f_salazar" <es***********@fac.mil.cowrote in message
news:1D**********************************@microsof t.com...
but nothing works.

any help will be appreciate.
A little difficult to help you unless you actually tell us what "nothing
works" means...

What errors are you getting?

How have you configured your report(s)?

How are you trying to email the reports?

What mail server / SMTP queue are you trying to use?

Etc...
Nov 7 '06 #2
Hi Mark !

thanks for the quick reply !

first, im not native english writer, sorry about wrong typing.

the code Im usign is this:

Dim ExportOptions As New CrystalDecisions.Shared.ExportOptions
Dim EmailOptions As New
CrystalDecisions.Shared.MicrosoftMailDestinationOp tions
ExportOptions.ExportFormatType =
CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat

ExportOptions.ExportDestinationType =
CrystalDecisions.[Shared].ExportDestinationType.MicrosoftMail

EmailOptions.MailToList = "f_*******@hotmail.com"
EmailOptions.MailSubject = "Pruebas Informe Diario"
EmailOptions.MailMessage = "Pruebas de Adjuntos PDF"
ExportOptions.DestinationOptions = EmailOptions

EnlazarDatos()
ReporteInformeDiario.SetDataSource(DsInformeDiario 1)
ReporteInformeDiario.Export()

the "EnlazarDatos()" sentence is a sub, it get the data from the DB an fills
a typed Dataset attach in the page.

I have configured my email account in Outlook using hotmail.

The error message is in spanish, the traslate is:

"Exporting options are not valid"

What Im looking for ?

If you can tell me step by step, how can i make it work.
what i have to setup, what's need to be done, i really appreciate,
because the msn help dont give any examples of it, and it's really hard to
find this kind of info with trustable examples.

thx again !

--
Francisco J. Salazar - MCP
"Mark Rae" wrote:
"f_salazar" <es***********@fac.mil.cowrote in message
news:1D**********************************@microsof t.com...
but nothing works.

any help will be appreciate.

A little difficult to help you unless you actually tell us what "nothing
works" means...

What errors are you getting?

How have you configured your report(s)?

How are you trying to email the reports?

What mail server / SMTP queue are you trying to use?

Etc...
Nov 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Johnny Gee | last post by:
Hi All I have a macro that I use to send three reports every week to about 10 people by email via Lotus Notes.I use the "Send To" command to send the reports out in Rich Text Format. I used RTF...
1
by: michi | last post by:
Hi there.... Got here a tricky thing with my SMTP. First I show you what works on my machine.. **This Works** SmtpMail.SmtpServer = "mail.gmx.net" <-gmx is my mail provider...
6
by: toufik | last post by:
Hi, I've a crystal reports Report, Is it possible to send it by email? how? Thanks
10
by: Mike Charney | last post by:
Is there a simple way to send SMTP email from Access VBA? Mike m charney at dunlap hospital dot org
2
by: Rajani | last post by:
Hi friends, I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured. I am generating a report(purchase order) and the same sending as an email to the...
17
by: rdemyan | last post by:
My app creates a building report. My users have requested that I provide functionality to e-mail these "building reports" to building managers once a month. So assuming that I have the...
0
by: Nanker | last post by:
I would like to integrate Reporting Services reports into an existing email messaging framework using .NET 1.1 (both to leverage the existing framework and since the error reporting by Reporting...
0
by: dreamsoul620 via AccessMonster.com | last post by:
Hi all! I'm trying to set up an email application for my database. I tried linking to my Outlook address book, but when reading from the table, I receive an error message saying I need to restart...
1
by: shil | last post by:
Hi, I'm using FW 2.0 to send an email with an attachment using System.Net.Mail class. If I try to attach a file from my file system, I could successfully send the eamil. But I need to generate a...
1
by: pixie | last post by:
Hi. Access 2003. The database stores contract information. I have a query for each person that is responsible for contracts. The query checks to see if there are reports due either this week,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.