🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
1 messages
1 total messages Started by Ronny Tue, 02 Nov 2004 20:57
Delphi en Word .....
#1896
Author: Ronny
Date: Tue, 02 Nov 2004 20:57
22 lines
1550 bytes
Met onderstaande code Kan je een Word document aanmaken :


procedure TForm1.Button1Click(Sender: TObject);
begin
  WordApplication1.Documents.Add(EmptyParam, EmptyParam, EmptyParam, 
EmptyParam);
  WordApplication1.Selection.TypeText('hello world');
  WordApplication1.Visible := True;
end;


Met onderstaande code Kan je een Word afsluiten :

    WordApplication1.Disconnect;

Als dit Word document al dan niet word gesaved, hoe kan je dat aan je Delphi 
programma te kennen geven ????


Dank bij voorbaat ..........
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads