AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Drag and Drop Outlook Anhang

Ein Thema von oakley · begonnen am 26. Apr 2020 · letzter Beitrag vom 12. Okt 2020
Antwort Antwort
TurboMagic

Registriert seit: 28. Feb 2016
Ort: Nordost Baden-Württemberg
3.091 Beiträge
 
Delphi 12 Athens
 
#1

AW: Drag and Drop Outlook Anhang

  Alt 9. Okt 2020, 17:53
Delphi-Quellcode:
procedure TFormMain.DropFileTarget1Drop(Sender: TObject;
  ShiftState: TShiftState; Point: TPoint; var Effect: Integer);
  var testfs : TFilestream;
begin
 testfs := TFileStream.Create ('c:\temp\'+FTargetDataFormat.FileName, fmCreate);
 testfs.Position := testfs.Size;
 testfs.Write(PChar(FTargetDataFormat.Contents)^, length(FTargetDataFormat.Contents));
 testfs.Free;
end;
Kleiner Forums Tipp noch: vor dem Einfügen von Quellcode mal den Delphi Helm oberhalb des Memo anklicken
und dann den Code zwischen die eingefügten Tags einfügen. Dann wird er sauber formatiert angezeigt...
  Mit Zitat antworten Zitat
oakley

Registriert seit: 15. Aug 2005
287 Beiträge
 
#2

AW: Drag and Drop Outlook Anhang

  Alt 12. Okt 2020, 09:29
Danke für den Tipp, das wusste ich nicht.
  Mit Zitat antworten Zitat
Antwort Antwort


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 12:17 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