How to choose Mail (Mapi) when clicking "Export" in the Report Viewer

I'm using .net 2008 and CR 2008 for reporting.
In a form I placed the ReportViewer.
Everything works fine.
Here my problem: When I click "Export" in the Viewer I get the File-Dialog with Excel, Word, PDF.
But I'm missing the Dialog where I can choose MAPI (Microsoft Mail) as destination.
To illustrate, how I implemented the CR 2008 in our application:
    Public Sub ReportStarten()
        Dim l As Integer
        Dim Cmd As System.Data.SqlClient.SqlCommand = Nothing
        Dim Reader As System.Data.SqlClient.SqlDataReader = Nothing
        Dim ReportDataTable As System.Data.DataTable
        Dim SqlConn As New System.Data.SqlClient.SqlConnection()
        Dim ReportFenster As New ReportForm
        If Me._DruckVorschau Then
            ReportFenster.Text = Me.Reporttitel
            ReportFenster.Show()
            ReportFenster.WindowState = Windows.Forms.FormWindowState.Maximized
        End If
        'Diese Selektion wird im Report selbst berücksichtigt
        Me._ReportRpt.DataDefinition.RecordSelectionFormula = Me._RecordSelection
        l = 0
        Dim myTables As CrystalDecisions.CrystalReports.Engine.Tables = Me._ReportRpt.Database.Tables
        For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
            SqlConn.ConnectionString = Me._ConnectionString
            SqlConn.Open()
            Cmd = New System.Data.SqlClient.SqlCommand(Me._TableSource(l))
            Cmd.Connection = SqlConn
            Reader = Cmd.ExecuteReader(CommandBehavior.CloseConnection)
            ReportDataTable = New System.Data.DataTable()
            ReportDataTable.Load(Reader)
            myTable.SetDataSource(ReportDataTable)
            l += 1
        Next
        If Me._DruckVorschau Then
            'Vorschau
            ReportFenster.CrystalReportViewer.ReportSource = Me._ReportRpt
        Else
            'Sofortdruck
            Me._ReportRpt.PrintOptions.PrinterName = Me._DruckerName
            Me._ReportRpt.PrintToPrinter(1, False, 0, 0)
        End If

The wiki (http://social.technet.microsoft.com/wiki/) is probably a better place for this.
Jason

Similar Messages

  • HT5361 how do I keep the classic look ? I go to mail preferences and click the button but when I launch mail again it is still in the list view which I hate. Anyone know ?

    how do I keep the classic look ? I go to mail preferences and click the button but when I launch mail again it is still in the list view which I hate. Anyone know ?

    The first thing to try if a setting does not "keep" is a PRAM reset.
    http://support.apple.com/kb/ht1379
    Change the setting to what you want, then PRAM reset on restart:
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • I have created a folder and album where I've renamed the images, yet when I export them, the default to their original numbering. How can I block that so I can keep the newly renamed images as I've renamed them?

    I have created a folder and album where I've renamed the images, yet when I export them, the default to their original numbering. How can I block that so I can keep the newly renamed images as I've renamed them?

    As TD pointed out:
    OT

  • HT1657 I use apple tv; but when click on 'rent the movie' I get message to verify my payment info on itunes. I looked at my account and I am paid up. How do I 'verify'?

    I use apple tv; but when click on 'rent the movie' I get message to verify my payment info on itunes. I looked at my account and I am paid up. How do I 'verify'?

    I believe it is asking you to enter your CVV code.
    Edit your billing info, fill in the red box on iTunes.

  • How to make it selected when clicked and open popup

    Hi,
    I 've a form in the parent page with many form elements.
    I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.
    But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.
    How to make it selected when clicked and open popup?

    Perhaps try moving the application to your preferred desktop and then right-click it's dock icon > options > Assign to This Desktop.

  • How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.

    I wanted editing a photo from lightroom to elements but lightroom did not open elements. Your site said first to reinstall Elements before to try more comlicated things. It is the worst thing I ever done. Now i have lost Elements at all. It does not want to reinstall. Very funny. I tried all Adobe (!!!) suggestions: change OOBE for OOBE.bak; copy file from the dvd to computer before autorun executable,etc etc NOTHING WORKS !
    Adobe suggested to download ASA program but only to tell us that it does more exist !!! After that they suggested to try to find MANUALLY the dailies failure reports !!! It is impossible to understand those reports
    Thank for your help!!

    HI,
    Win7-64, Lightroom 4.4 Photoshop Elements 11 GPU Nvidia Quadro K600, 4g RAM, Dell U2713H , all servicepack updated.
    After several hours searching on the web Finally found that in c\programfiles(x86)\commonfiles\adobe\OOBE
    Rename in OLDOOBE
    Stop antivirus
    Restart windows
    Copy directory of the DVD Adobe PSE 11 to c\ ord\:nameit ADOBE\
    Open file
    Click right to setup.exe
    Buzinga.
    It is the worst software I ever had to deal whit.
    FargateOne
    De : Mylenium 
    Envoyé : 7 mai 2014 10:26
    À : Pascal Renauld
    Objet :  How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.
    How to reinstall Elements 11 when you always get the message: error sharedtechnolgies failed.
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Photoshop General Discussion - View the full discussion <https://forums.adobe.com/message/6361905#6361905>

  • Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Moving the discussion to Adobe Camera Raw forum.
    Thanks,
    Atul Saini

  • HT4796 I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    I keep getting a Windows Mail error when trying to run the assistant on my pc, but I don't have any email programs open.

    You could of course use Safari your default browser as a quick method of accessing gmail until you figure out the Firefox problem. (More than one browser may be used on a Mac or other computer).
    Is this the only site you have problems with ? and does Safari work ok ?
    Often this problem requires the page to be reloaded
    * try pressing the shift key as you reload the page
    Another problem is sometimes the cookies for that site need clearing
    * see [[Delete cookies to remove the information websites have stored on your computer#w_delete-cookies-for-a-single-site]]_delete-cookies-for-a-single-site
    * see also [[Firefox and other browsers can't load websites]] or[[Firefox can't load websites but other browsers can]]

  • When I export from the timeline in Final Cut Pro HD, I get a general error message

    When I export from the timeline in Final Cut Pro HD, I get a general error message and the export quits. Any ideas on a fix?

    Also, if I remember correctly, Final Cut Pro HD was version 4.5. Is this what you are running?
    If so, what version of OSX and Quicktime are you running?
    x

  • How can appear just some values when i filter in the report

    Hi gurus,
    i have a query in a web template, i remember there was a form to do this:
    For example in the report there are many analist, A,B,C.
    For material 1 the analis A,
    For material 2 the analis B,
    For material 3 the analis C,
    when i filter in the report for material 1. and then the analist, i WANT when i click in filter the suggestion is ANALIST  = "A", because is the only analist for this material.
    thats my problem when i filter just material A, and click to show the analist , appears ALL the analist in the suggestion of the report and is not correct because if i cliked in analist B the report doesnt bring values , its logic, , i remember some reports when you go filter, the suggestion to show is accord the values that you are showing, can you help me to do this , thanks!

    Look at the definition of the infobject and in the query for "Query Execution Filter Value Selection"
    This controls the values ie master data or posted items for navigation

  • When clicking download links the profile folder opens up

    when clicking download links the profiles folder pops up

    Is this a new installation of Firefox you're running for the first time, or have you been running Firefox for a while?
    Are you using the "built in" profile manager (firefox.exe /profilemanager) or the new "stand alone" profile manager?
    If you look in this folder:
    C:\Users\''username''\AppData\Roaming\Mozilla\Firefox
    do you have a file named profiles.ini? It's a text file that usually has information for each of the profile folders in the Profiles subdirectory.

  • How to use sy-ucomm in one time in the report

    Hi guru,
    I developed a z report when i am executing the report one screen is didplaying and here and here i have to delect some check boxes (update) and then click the click the toolbar stage (which was created using sy-ucomm) and we are getting some output.
    Now the requirement is when user second time clicking the  botton stage the report shaould not execute it self.How to do it means how to restrict .Please help me .May be it is easy for you but I am facing a severe probleam to achieve this.
    needs yours cooperation and patience.

    Hi subhassikan
    I am not very clear about what you want to say.
    1. you want the sy-ucomm to be executed once right, then you can use a flag in that case.
    one it executed first time
    make flag = 'X'.
    and next time check the value of flag if it is 'X' then the code under sy-ucomm should not be executed.
    2. Secondly is there some buttton or something that you click, check function code for only that button and should not execute for any other button and function codes must be different.

  • Second Printed Page of a Report Is Corrupted As Well the Report View When Focus Is Returned To It

    I am having a problem with a report in Access 2010. The report detail has a linked subreport in it. I build a query dynamically for both the report and subreport. There is a form that builds the queries and then displays the report in Report View. Everything
    is displayed correctly. In this view I have a command button that will print the report using “DoCmd.RunCommand acCmdPrint.”The printed report’s first page is correct. The second page has #error for all the fields for next record detail and that is it. At
    this point, there are still multiple records to print. When focus is returned to the Print View, it is corrupted and usually freezes.
    If after the Report View is displayed, I right click on the header and choose to display the Print Preview, all pages are displayed correctly. If I right click again, and select print, all pages are printed correctly, and the Report View is not corrupted.
    To see if I had corrupted the database, I imported everything into an empty database. After compiling the code, the behavior did not change at all.
    Once I place the database into production, everything will be driven by command buttons on the forms and reports so the left-click drop-down menus or any ribbons will not be available.
    Does anyone know what is happening?
    Thanks, in advance.

    Hi Ray,
    I failed to reproduce this issue in my test environment (Access 2013).
    Steps:
    #1 Create a table with the attachment field, add multiple records
    #2 Create a report with the table
    #3 Click Print Preview of the report, it worked correctly
    Can you also reproduce this issue in a newly created database, if no, I will suspect that issue is related to the specific database file (data issue or database is corrupted). You could use the link below to compact and repair the database.
    Compact and repair a database
    If the methods above do not work, it would be helpful if you could share us a simple demo to reproduce this issue. Due to privacy issues, I will also suggest you submitting a professional support incident to get the 1-1 support service so that Microsoft
    engineers can work closely with you to resolve this issue.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • To retain the title bar as in the page when we scroll down the report.

    Hi,
    I want to retain the Report name in the page when i scroll down to access the report columns. i don't want the report name to disappear when we scroll down the report.
    Is that possible??
    if yes...how??
    Thanks.

    Hi,
    Try to configure Freeze Panes in OBIEE11g it will resovle your issue (obiee11g version obiee11.1.1.6.0 and above)
    http://oraclebisolutions.blogspot.com/2012/12/freeze-column-headers-in-obiee-11g111160.html
    http://ebs2obiee.wordpress.com/2012/05/08/freeze-panes-in-obiee11g-working-solution/
    Thanks
    Deva

  • [E2010] [EWSMA] [C#] [Windows]: How do I get Tasks to show up in the Calendar view

    When creating a task from EWS, the Owner field is empty.  I believe this causes my created Task to disappear when I am in the Calendar view (showing Tasks on the bottom).  The created Task still shows up in the Tasks view, but not the Calendar
    view (where Tasks are on the bottom).
    Creating a task in Outlook shows it on the Calendar view, but creating a Task with the same values from EWS does not show it there.  The only difference is the Owner field of the Task, which is read-only in EWS.  Can we set this somehow?
    ExchangeService ews;
    ews = new ExchangeService();
    ews.UseDefaultCredentials = true;
    ews.AutodiscoverUrl("[email protected]");
    Task taskItem = new Task(ews);
    taskItem.Subject = "subject";
    taskItem.Body = "body";
    taskItem.IsReminderSet = true;
    taskItem.ReminderDueBy = DateTime.Now;
    taskItem.StartDate = DateTime.Now;
    taskItem.Save();
    Thanks,
    -Daniel

    I can sort of reproduce what your talking about I think its because your setting the Start and Due date to the same time which seems to affect the search folder that's used for the view. The following seems to work okay for me
    Task taskItem = new Task(service);
    taskItem.Subject = "Created From qqq";
    taskItem.Body = "body";
    taskItem.IsReminderSet = true;
    taskItem.ReminderDueBy = DateTime.Now;
    taskItem.StartDate = DateTime.Now;
    taskItem.DueDate = DateTime.Now.AddHours(1);
    taskItem.Status = TaskStatus.NotStarted;
    ExtendedPropertyDefinition PidLidToDoOrdinalDate = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Common, 0x85A0, MapiPropertyType.SystemTime);
    taskItem.SetExtendedProperty(PidLidToDoOrdinalDate, DateTime.Now.AddHours(1));
    ExtendedPropertyDefinition FlagDueBy = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Common, 0x8560, MapiPropertyType.SystemTime);
    taskItem.SetExtendedProperty(FlagDueBy, DateTime.Now.AddHours(1));
    taskItem.Save();
    Cheers
    Glen

Maybe you are looking for

  • How do I reverse the order of file lists in finder?

    When I display a finder page with icons the sort is ascending (A-Z), but when I use the list function it is decending (Z-A).  How do I reverse the list order?

  • How can I connect to a NAS via internet

    I've been searching the forum for an answer and have found close but not quite. I'm running a Macbook on Snow leopard as is a friend that I am now working with. She (or rather, her husband) also has a NAS connected via a wireless router on a home net

  • Fill in the Blanks and Win a Prize!

    Well maybe no prize but I would be grateful. Our class was assigned 2 array example programs with key bits of code missing. Iv'e understood everything pretty well up till this point, but arrays have me confused. I've spent hours on these things but a

  • Soft/Weak References: rule of thumbs?

    After reading <a target="extern" href="http://java.sun.com/developer/technicalArticles/ALT/RefObj/index.html">Reference Objects and Garbage Collection</a> i browsed my code and replaced my listener containers with versions that store WeakReference ob

  • BO webservices client to generate & fax a report

    Hi,    I am very much new to SAP world. In our current project there is a need to kick off a report generation by passing a report Name / ID, and some input parameters to pull the data to report.   This report has to be eventually emailed  / faxed. I