Autor Beitrag
rolandt4088
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 122

WINDOWS XP
Delphi 7, CodeGear RAD Studio
BeitragVerfasst: Fr 29.06.07 19:45 
Hallo,

ich möchte ein Worddokument, dass über Delphi geöffnet wird unter einen neuen Namen speichern.

Ich habe schon verschieden Versuche unternommen aber ohne Erfolg. Dieses Thema "Speichern eines Dokuments" gibt es zwar, aber nicht in der Form wie ich benötige.

Der Vorgang soll folgendermaßen ablaufen.

Erstellung einer Bestellung.

Die Vorlage dazu wird geöffnet, die Daten werden übermittelt. (Funktioniert alles)

Jetzt soll das Dokument unter der Bestellnummer gespeichert werden.
Und das ist das Problem.

Vielleicht hat ja jemand eine Idee? Für Tipps und Tricks bin ich sehr dankbar.

Gruß
Roland
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Fr 29.06.07 19:54 
Wie sahen denn deine bisherigen Versuche aus ?

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
rolandt4088 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 122

WINDOWS XP
Delphi 7, CodeGear RAD Studio
BeitragVerfasst: Fr 29.06.07 19:55 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
 filename := 'c:\temp\irgendwas.doc';
  WordApplication1.ActiveDocument.SaveAs(filename, Emptyparam, Emptyparam, Emptyparam,
                                          Emptyparam, Emptyparam, Emptyparam, Emptyparam,
                                          Emptyparam, Emptyparam, Emptyparam, Emptyparam,
                                          Emptyparam, Emptyparam, Emptyparam, Emptyparam);