CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    50

    Export a generated report to e-mail

    What i want is to send the report via email

    i am using crystal report viewer 9.1.500

    when i click the export button, i can select many different formats, however i can only save them to a location what i want to be able to do is select to e-mail it.

    I am developing the application in vb.net

    Can this be done and if so HOW?

    thanks

  2. #2
    Join Date
    Aug 2002
    Location
    Kerala
    Posts
    1,183

    Re: Export a generated report to e-mail

    Quote Originally Posted by jim scott
    What i want is to send the report via email
    Using an Outlook client?

  3. #3
    Join Date
    Sep 2005
    Posts
    50

    Re: Export a generated report to e-mail

    I remember an appication i developed in vb6 you were able to export it in pdf format via microsoft mail(MAPI). then it allowed you to enter in an email address, subject etc and sent the mail from the logged in mail account, which on my pc would be microsoft outlook.

    i can export to PDF but only to a location and not via email

  4. #4
    Join Date
    Nov 2004
    Location
    LA. California Raiders #1 AKA: Gangsta Yoda™
    Posts
    616

    Re: Export a generated report to e-mail

    Is this on your system or another? If its another then did you include the Merge Modules when generating your setup package?

    The dll that is responsible for the Email Export is - U2DMAPI.DLL.
    VB/Office Guru™ (AKA: Gangsta Yoda™)
    VB Forums - Super Moderator 2001-Present

    Microsoft MVP 2006-2011

    Please use [code]your code goes in here[/code] tags when posting code.

    Senior Software Engineer MCP, BSEE, CET
    VS 2012 Premium, VS 6.0 Enterprise SP6, VSTO, Office Ultimate 2010, Windows 7 Ultimate
    Star Wars Gangsta Rap SE Reputations & Rating Posts Office Primary Interop AssembliesAdvanced VB/Office Guru™ Word SpellChecker™.NETAdvanced VB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address ListVB6/Crystal Report Ex.VB6/CR Print Setup Dialog Ex.

  5. #5
    Join Date
    Sep 2005
    Posts
    50

    Re: Export a generated report to e-mail

    I do have that dll on my machine, however in crystal report viewer 9.1.5 the export only has a list of available formats and the ability to store to a drive location

    i know in previous versions you could select a destination of microsoft mail. This destination field is no longer present

    thanks

    frank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured