AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi Drag&Drop einer Email von Outlook ins Prog
Thema durchsuchen
Ansicht
Themen-Optionen

Drag&Drop einer Email von Outlook ins Prog

Ein Thema von mscharf · begonnen am 23. Jul 2004 · letzter Beitrag vom 26. Jul 2004
 
mscharf

Registriert seit: 4. Feb 2004
5 Beiträge
 
#5

Re: Drag&Drop einer Email von Outlook ins Prog

  Alt 26. Jul 2004, 14:56
Ups, ich habe nicht gescheit gesucht.

Das Thema gab es hier schon einmal.
Titel: Aktuell markierte Mail in Outlook bestimmen

Das ist die Lösung des Problems:

Code:
try
    OutApp.Connect;
    //Get Namespace
    oNS := OutApp.GetNamespace('MAPI');
    //Logon to NameSpace
    oNS.Logon('','',false,false);
    myItems:=OutApp.ActiveExplorer;
    fold:=myItems.Selection;
    mItem:=fold.Item[1];
  except
    OutApp.Disconnect;
    ShowMessage('Fehler beim Verbinden mit Outlook !');
    exit;
  end;
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz