E-Mail in Office 2010 mit Hilfe von Visual Basic speichern bzw. generieren

Sehr geehrte Damen und Herren,
wie bzw. mit welchem Code kann ich unter  "AdobePDFMakerForOffice" unter Visual Basic eine E-Mail als PDF einschl. des Anhang abspeichern bzw. generieren ?
Interessant ist dann noch die Angabe eines individuellen Dateinamen, welche sich aus Daten der E-Mail zusammen setzt. Haben Sie hier einen Beispiel-Code ?
Mit freundlichen Grüßen
D. Wagner

Darf ich vorschlagen, dass Sie einen Übersetzer, wie Google verwenden, da ich jetzt mache, oder senden Sie Ihre Frage im Forum in Deutsch?
http://forums.adobe.com/community/international_forums/deutsche

Similar Messages

  • E-Mail in Outlook über Visual Basic mit Hilfe von AdobePDFMakerforOffice erstellen

    Ich möchte gerne aus Visual Basic eine E-Mail aus Outlook als PDF abspeichern, wobei ich auch gerne die Anhänge mit im PDF abspeichern möchte. Dazu möchte ich das Addin in Outlook über Visual Basic verwenden.
    Ich verwende derzeit VisualBasix Express und Adobe Acrobat XI Version 11.0.4.
    Ich habe aufgrund von Quelltexten im Internet nachfolgenden Code erstellt, wobei ich das Objekt bzw. das Addin in Outlook das "AdobePDFMakerforOffice" anscheind nicht finden bzw. zuordnen kann.
    Von Visual Basic wurde folgende Fehlermeldung angezeigt bei der markierten "-------->>" Zeile angezeigt:
    "Zusätzliche Informationen: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "AdobePDFMakerForOffice.PDFMaker" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{1FE6F30F-4AA0-4EB5-A61C-00C14761EC3E}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE))."
    Es gibt wohl verschiedene Möglichkeiten das Objekt zu übernehmen, aber ich bekomme immer diese Fehlermeldung. Die Meldungen zwischendurch habe ich nur zur Bestätigung, dass Outlook bzw. das AdobePDFForOffice gefunden w bzw. connectet ist hinzugefügt.
    Weiß hier jemand Rat ?
    Der Code lautet:
    Imports System.Diagnostics
    Imports System.Linq
    Imports System.Reflection
    Imports System.Runtime.InteropServices
    Imports Microsoft.Office.Interop
    Imports AdobePDFMakerForOffice
    Private Sub BtnEmailOutlookPdf_Click(sender As Object, e As EventArgs) Handles BtnEmailOutlookPdf.Click
            Dim appAdobe As AdobePDFMakerForOffice.PDFMaker
            Dim appsettings As AdobePDFMakerForOffice.ISettings
            Dim Result As Boolean = EnumWindows(Callback, IntPtr.Zero)
            Dim ObjOl As Object
            Dim myItem As Outlook.Inspector
            Dim SpeichernameMSG, SpeichernamePDF As String
            Dim a
            Dim IndX As Int16
            Dim objInterOL As Microsoft.Office.Interop.Outlook.Application
            Dim objSelection As Microsoft.Office.Interop.Outlook.Selection
            Dim objItems As Microsoft.Office.Interop.Outlook.Items
            Dim objMailItem As Microsoft.Office.Interop.Outlook.MailItem
            ' Outlook suche und Objekt übernehmen
            If Process.GetProcessesByName("OUTLOOK").Count() > 0 Then
                ' If so, use the GetActiveObject method to obtain the process and cast it to an Application object.
                objInterOL = DirectCast(Marshal.GetActiveObject("Outlook.Application"), Outlook.Application)
                'MsgBox("Outlook-Objekt übergeben: Erfolg")
            Else
                MsgBox("Outlook ist nicht geöffnet, bitte Outlook starten")
            End If
            'Acrobat Objekt in Outlook suchen
            With objInterOL
                Do
                    IndX = IndX + 1
                    If IndX > .COMAddIns.Count Then Exit Do
                Loop Until .COMAddIns(IndX).Description = "Acrobat PDFMaker Office COM Addin"
                If IndX > .COMAddIns.Count Then
                    MsgBox("Unable to locate Acrobat PDFMaker COM Add-In for Microsoft Office." & vbCrLf & "Please contact an MIS associate for assistance", vbCritical, "Cannot Export PDF")
                Else
                    'MsgBox("My ProgID is " & .COMAddIns(1).ProgID & " and my GUID is " & .COMAddIns(1).Guid)
                    If .COMAddIns(IndX).Connect Then
                        MsgBox("The add-in is connected.")
                    Else
                        MsgBox("The add-in is not connected.")
                    End If
    ---->>>>       appAdobe = .COMAddIns(IndX).object                       <<---------------------
                    MsgBox("appAdobe zugewiesen !")
                End If
            End With
            SpeichernamePDF = "Test.PDF"
            appAdobe.GetCurrentConversationSettings(appsettings)
            With appsettings
                .IsConversionSilent = True
                .IsAutomation = True
                .ShouldShowProgressDialog = True
                .AddTags = False
                .ConvertComments = True
                .AddBookmarks = False
                .AddLinks = False
                .OutputPDFFileName = SpeichernamePDF
                .ViewPDFFile = True
                .AttachSourceFile = False
            End With
            appAdobe.CreatePDFEx(appsettings, 0)
        End Sub

    I don't think the Adobe Reader forum is the right place to discuss such an issue.  Try
    http://forums.adobe.com/community/acrobat/acrobat_sdk (in English, if possible)
    http://forums.adobe.com/community/international_forums/deutsche (deutsches Forum)

  • Mit Hilfe von Blachbary ins Internet gehen, geht das??Wie??

    Kann man mit Hilfe von Blackbarry ins Internet gehen???

    Google tramslate:
    Are using BlackBerry Internet, does it work? How?
    Can you go with the help of the Internet Black Barry?
    If the Blackberry can act like a wifi hotspot and share it internet connection, then an iPod can connect to the iPod like a it connects to any other normal wifi hotspot/router.

  • Either there is no default mail client or the current mail client cannot fulfill the messaging request" error message when you send e-mail from Office 2010 in Outlook

    Hi,
    If save and send as attachment used in MS Office 2010 then outlook 2010 displays error "Either
    there is no default mail client of the current mail client cannot fulfill the messaging request-----error Outlook 2010"
    Windows 7 32 bit Enterprise edition and Offoce Professional plus 2010 32 bit is installed in the machine.
    I have followed the below troubleshooting steps but still getting the same error.
    Method 1:
    Followed the  Microsoft fix
    http://support.microsoft.com/kb/813745
    1. On the Windows taskbar, click
    Start > Run.
    2. In the Open box, type the following text:
    3. regedit
    4. Press Enter.
    5. Go to the following registry key:
    6. HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail
    7. In the right pane, right-click
    the following registry value:
    8. PreFirstRun
    9. Click Delete
    10. Click Start, and then click Run.
    11. In the Open box, type regedit, and then pressENTER.
    12. InRegistry Editor, locate the followingsubkey in the registry:
    13. HKEY_LOCAL_MACHINE\Software\Clients\Mail\Microsoft Outlook
    14. Select thesubkey, and then pressDELETE.
    15. Click
    Yes.
    Method 2:
    Repaired Office
    Method 3:
    fixmapi.exe. Mapi32.dll
    Method 4:
    Created the below registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Offlce\15.0\Outlook
    Create the following String value if it does not exist: Bitness Set the String value for Bitness to the following if it is not already set to x86
    Method 5:
    Compared the installed applications
    Uninstalled the below program :Microsfot Visuall C++ 2008 Redistributable - x86 - KB2467175" and installed "Microsfot Visuall C++ 2008 Redistributable - x86  - 9.0.21022"
    Please help to solve the issue.
    Regards,
    Boopathi S

    Hi,
    Do you mean Send as Attachment button under File>Save & Send>Sending Using E-mail
    in Office applications, like Excel or Word?
    Is this an issue that come up recently? Have you ever made any changes to your system?
    If you have installed multiple e-mail programs on the same computer, please try to make Outlook the default mail client and then try again:
    http://office.microsoft.com/en-us/outlook-help/make-outlook-the-default-program-for-email-messages-contacts-and-calendar-HP010355552.aspx
    http://support.microsoft.com/kb/223877
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Office 2011 - Can't Find Visual Basic for Applications Error

    I have recently installed Microsoft Office 2011 on my Mac and have been using the Dev tools to program macros in VB. Suddenly, it stopped loading it when I try to enter the VB workspace and throws an error stating that "Can't Find Visual Basic for Applications." The error tries to be helpful, but in a typical Microsoft way is just plain vague. Any thoughts?

    I have the same problem, but have no odd characters in my hard disc name.
    I am pteey annoyed as I bought Office 2011 pre-loaded on my new Macbook, but it did not have the VBA (which is why I wanted Offfcie rather than the free OpenOffice in the first place).
    VBA is supposedly on the Office distrbution CD, so I went through the loop of re-installing Office 2011 with the VBA option ticked. No VBA apperared. After 3 times trying the install, still no VBA. The macbook has the VBA framework file installed in the applications folder, but the clicking the editor tab in the developer tab of Excel just brings up an error massage sayng VBA is not installed.
    Not clear where to go from here. Try the Genious Bar at the local mac store?

  • Kann man I-cloud mit office 2010 snychen wenn man Windows XP als Betriebssystem hat?, Kann man I-cloud mit office 2010 snychen wenn man Windows XP als Betriebssystem hat?

    Ich habe als Betriebssystem Office XP und dazu Office 2010 mit Outlook.
    wie kann ich meine Kalender Daten abgleichen.
    Ich will kein
    Windows 7!!
    Danke

    Ich habe das gleiche problem....ich hoffe auf eine schnelle loesung...

  • Migration from Windows Live to Office 2010-POP3 email accounts

    So I was attempting to migrate a few emails, specfically old email messages from Windows Live to Office 2010. I could not migrate using the obvious tool since I'm not using Microsoft exchange. I used windows live exporting abilities, but it saves to the
    desktop. Is there another way to export the data from Windows Live Mail to Office 2010. 

    You can export your Windows Live Mail to Outlook using manual methods which are properly described here
    http://community.office365.com/en-us/f/158/t/212929.aspx
    But if you want to export using third party tools then download an efficient eml to pst conversion tool from
    http://www.windowslivemailtopst.emltopstconversion.org which instantly migrate your Windows Live Mail to Outlook.

  • Office 2010 PDF erstellen mit Reader X öffnen

    Hallo Zusammen
    Nach dem Erstellen eines PDF-Files aus dem Office 2010 wird dieses mit dem Standard PDF-Reader geöffnet (Adobe Reader X).
    Nach der Installation von Acrobat X Standard wird dieses PDF-File mit dem Acrobat X geöffnet, obwohl der Adobe Reader X als Standard-Software für das Öffnen von PDF-Files konfiguriert ist.
    Meine Frage: Wie kann man dem Office 2010 beibringen, dass es auf den Reader verweisen soll?
    Danke für euer Feedback.

    Rechte Maustaste > öffnen mit > standardprogramm wählen…
    Aber weshalb willst Du den Reader verwenden, wenn Du Acrobat hast?

  • Acrobat x kein Import von office 2010 dateien

    Hallo Leute,
    wenn ich in acrobat x über PDF ERSTELLEN versuche eine office 2010 Datei zu importieren (word oder exel) wird mir keine Möglichkeit geboten im Auswahlmenü  diese Datei auszuwählen, alle möglichen
    Dateiendungen sind vorhanden bis auf dox oder xls.
    irgendeine Idee?

    Hallo Markus,
    ich habe mal in Google eingegeben:
    http://www.google.de/#hl=de&gs_rn=1&gs_ri=hp&cp=10&gs_id=a&xhr=t&q=Acrobat+x+Import+von+of fice+2010+dateien&pf=p&tbo=d&sclient=psy-ab&oq=Acrobat+x+Import+von+office+2010+dateien&gs _l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.1355534169,d.Yms&fp=bce0266a8318723d&bpcl=400 96503&biw=1280&bih=814&bs=1
    dabei schien mir der 3. Beitrag am ehesten Dein Thema zu treffen. In der pdf-Datei unter Ziff. 1.3 werden Gründe dafür angegeben, warum das Umwandeln manchmal nicht klappt. Ähnlich die Hinweise zu Excel.
    Nur zur Info: Mit meinem "Adobe Acrobat 9 Pro" habe ich Deine Probleme nicht.
    Hans-Günter

  • SAP BUSINESS ONE 8.8 + 64-Bit-Edition von Office 2010

    Hallo Leute,
    gibts da schon Neuigkeiten, ob B1 und Office 2010 64-Bit zusammen spielen können?
    Funktioniert der Export nach Excel überhaupt noch?
    Vielen Dank
    Grüße, Lukasz.

    Hallo Lukasz,
    Alle Platformen, die mit B1 benutzt werden koennen, sind in SMP unter 'Product Availability' angezeigt:
    Microsoft® Office 2010
    - Standard & Professional Edition
    According to Microsoft® Corp., Microsoft Office 2010 by default installs the 32-bit version even if your computer is running 64-bit editions of Windows.
    Before upgrading from earlier Microsoft Office versions, make sure you carefully read the Microsoft Office 2010 System Requirements as stipulated by Microsoft Corp. (1)
    Supported as of 2007 A SP01 PL13, 2007 B PL22, and 8.8 PL17.
    For the time being, the SAP Business One release tracks 2007 and *8.8 only support the 32-bit version of the Microsoft Office 2010 editions.
    Die Info auf dieser Seite ist immer aktuell.
    Schoene Gruesse,
    Kerstin

  • Microsoft Mail not working with Windows 7 & MS-Office 2010

    Dear All
    I have a client who is using Microsoft Mail for their internal mailing. They have been using MSoffice ( Outlook) for this purpose for last so many years.
    We have found that Microsoft Mail does not work with Windows 7 and MS Office 2010 combination.
    When you try to configure it given error 0x8004110.
    When we tried with different versions, we found that if you install Office 2007 it works. If you try Office 2007 and then Office 2010 and remove Office 2007, it still work. But Then it is treated as 2 installations of Msoffice on the same computer.
    I need to know whether this is right from Licensing perspective.  We 'll be using single copy of office but it may seems as we have installed Office 2007 & office 2010 on same computer.
    --Shekhar

    We have found that Microsoft Mail does not work with Windows 7 and MS Office 2010 combination.
    When you try to configure it given error 0x8004110.
    Windows 7 is a supported operation system for Office 2010. At what exactly point will you get the specific error?
    Is that a Click-To-Run version of Office 2010? By default, for MSI-based version of Office, when you upgrade existing Office 2007 to Office 2010, the earlier version of Office will be removed:
    http://office.microsoft.com/en-us/excel-help/keep-earlier-versions-of-office-programs-when-installing-office-2010-HA102597134.aspx
    For licensing advice, as <Don> suggested above, you should contact your local Microsoft customer support or reseller.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Menüband von Adobe Acrobat X in deutschen Office 2010 auf Englisch

    Hallo,
    ich habe ein merkwürdiges Phänomen im Zusammenspiel von Office 2010 und Adobe Acrobat X.
    Das Menüband z.B. in Word, Excel oder PowerPoint ist auf Deutsch und das Menüband für das Acrobat-Add-On ist auf Englisch.
    Wie kann ich alles auf Deutsch bekommen?
    Danke

    Hallo,
    das Programm bietet die Auswahl zwischen Deutsch, Englisch und Französisch.
    Aktiv ist Deutsch. Es spielt auch keine Rolle, ob ich Deutsch über das Betriebssystem erkennen lasse oder direkt eingebe.
    Aber Betriebssystem habe ich Win7x64 - deutsch.
    Danke

  • Exchange 2010 mit Mail 7.2 unter OSX 10.9

    Ist Exchange 2010 mit Mail 7.2 unter OSX 10.9 kompatibel?

    Hello Daryl,
    Thanks for using Apple Support Communities.
    I found another Apple Discussion covering the same topic, with a response showing it solved the issue.
    How do I restore the "whoosh" sent mail...: Apple Support Communities
    https://discussions.apple.com/thread/4236085
    Take care,
    Alex H.

  • Importing Outlook 2010 Mail account settings from one copy of Office 2010, to another copy of Office 2919

    I am trying to export my E-mail ACCOUNT settings from one copy of Outlook 2010 so that I can import them in another copy of Office 2010 on a different computer.  Again, BOTH computers have Office 2010 on them.  While I can move the PST file, my
    E-mail account information never comes across.  How can I do that without having to enter each account separately.  Also is it normal for the E-mail accounts to show up as DATA FILES rathan than E-MAIL FILES?  I've never come this in the past.
    Thanks.

    As JHarris1993 said, this is BOSS! Thank you. 
    I used this solution to recreate a profile I was using under one Windows 7 account in another account on the same machine. The profile was successfully recreated but I noticed that the email accounts in the profile were still pointing to the data files from
    the other account, which is not surprising at all. 
    Unfortunately no easy way exists for re-pointing email accounts to alternate file locations. I have five different email accounts in this profile (2 IMAP, 2 Outlook Hotmail Connector and one Exchange), and looks like there are solutions and workaround for
    each type of account which work with varying degrees of success.
    Changing location of pst data file for
    IMAP email account
    Changing
    location of ost data file for an Exchange email account
    Changing location of ost data file for a Hotmail Connector email account
    Thanks Again,
    Jaspreet

  • *.pdf-Dateien aus dem Internet mit Adobe Reader in Firefox 29.0.1 anzeigen ohne vorher zu speichern (W7-MS-Office 2010)

    Seit einiger Zeit kann im Firefox der Adobe Reader nicht mehr so eingestellt werden, dass *.pdf-Dateien zuerst in Adobe angezeigt werden - ohne dass man(n)/frau diese vorher speichern muss. Die bisherigen Forenbeiträge stellen Lösungen vor, die im aktuellen Firefox so nicht vorhanden sind (falsche Einstellungsbilder, fehlende Reiter usw.).
    Wer hat hier eine Lösung mit der aktuellen Software. System: Windows7, Hauptanwendung: MS-Office 2010. Auf 2 Nachbar-Rechnern läuft dies tadellos, ohne dass die Einstellungen abweichen:
    Besten Dank & freundliche Grüsse, Meteor50

    Was ist denn mit Aktion "Adobe Acrobat (in Firefox) verwenden" für PDFs? Der Screenshot zeigt nicht die Einstellung für PDFs. Firefox hat einen internen Reader, der muß eventuell zuvor als Extension deaktiviert werden.

Maybe you are looking for

  • Using CL_RSR_WWW_MODIFY_TABLE to remove rows completely from output!

    Hello All, I have a problem I am trying to work thru and I need some assistance. Here is the issue... I have a report, in which I want to completely remove uneeded rows (depending on the contents of the row). I have had a look thru the how-to papers

  • Sold to party showing editble mode in sales contract

    Hi all, I created a sales contract and followed by sales order, delivery billing the movement i am checking sales contract SOLD TO Party its showing editable  mode in contract over view screen and i check in header  partners it showing sold to party

  • Disk Repair and Corrupt Hard Drive

    I just replaced the hard drive on my iMac because the computer kept hanging and occasionally shutting down.  I've run Disk Utility many times over many months on the old hard drive and the message I received is that the hard drive was corrupt and nee

  • How to Create process of Type : Get Next or Previous Primary Key Value

    Hi, Can anybody give the steps how to create the page process for type Get Next or Previous Primary Key Value in oracle Express database Ramesh j c.

  • Fatal: no login name found for user ID

    I have this problem from time to time, when it happens every app running on the box is screwed and I have to reboot. There is a user ID 502, and it start working again immediately after reboot. Any suggestions? Nov 18 09:44:31 hostname postfix/sendma