Autor Beitrag
schaumermal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Mi 07.11.07 21:56 
Hi,

ich möchte gerne aus Outlook Emails an meine Anwendung übergeben.
Kennt jemand eine (kostenlose!) Möglichkeit ein Add-In in Outlook zu erstellen um die gewünschte Funktion aufrufen zu können.

Eim Einsatz habe ich D5 Enterp.

Bin für jeden Hinweis dankbar.

Gruß

Kai
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 07.11.07 22:00 
Hier
Einloggen, um Attachments anzusehen!
_________________
Markus Kinzler.
schaumermal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Mi 07.11.07 23:40 
thx

Ich werde es mal ausprobieren.

Gruß

Kai
schaumermal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Do 08.11.07 12:19 
Hallo nochmals,

also ich finde hier nicht den richtigen Ansatz um mein vorhaben umzusetzten.
Gibt es ein Beispielcode, in dem zu ersehen ist, wie man einen solches Add-In in Delphi erstellt und dann in Outlook nutzten kann.

Die Frage bezieht sich nicht auf den Code der dann durch das Add In ausgeführt werden soll sondern nur um die gernerelle Vorgehensweise zur Erstellung und Einbindung eines solchen Add In.

Danke und Gruß

Kai
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 08.11.07 17:48 
Schau dir doch das Beispiel im Anhang an. Dort werden 3 AddIns erzeugt: Outlook, Excel, Word

_________________
Markus Kinzler.
schaumermal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Do 08.11.07 18:01 
Hi,

ich werde nochmals schauen.


Gruß

Kai
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 08.11.07 18:08 
Es wird eine Dll erzeugt, welche man durch regsvr32 registrieren muss. Diese wird dann beim nächsten start der Officeanwendung gestartet.
Dein eigener code kommt in die datei ..._IMPL.pas

_________________
Markus Kinzler.
schaumermal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 72



BeitragVerfasst: Do 08.11.07 18:11 
thx

ja jetzt habe ich den Codeteil gefunden.
Letzte (?!) Frage:

Wie definiere ich das Event onButtonClick für den erstellen Button?


Gruß

Kai
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Do 08.11.07 18:17 
Per Eventsink
entsprechender Code des Beispiels:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
 //(VK): 'connect' button to event sink:
  if Self.FBtnEventSink = nil then
    Self.FBtnEventSink := TCommandBarButtonEventsSink.Create(DIID__CommandBarButtonEvents);

  Self.FBtnEventSink.OnCommandBarButtonClick := Self.OnBtnClick;

  Result := Self.FBtnEventSink.Connect( Self.FCommandBarBtn );

end;

_________________
Markus Kinzler.