Robertio
but i found that using OLE is slower than using DDE, so I will use this code :
WordDocument1: TWordDocument;
WordApplication1: TWordApplication;
var
NewTemplate, Visible, ItemIndex : OleVariant;
begin
try
WordApplication1.Connect;
except
MessageDlg('Bla bla bla', mtError, [mbOk], 0);
Abort;
end;
WordApplication1.Visible := True;
NewTemplate := False;
Visible := true;
WordApplication1.Documents.Add(EmptyParam, NewTemplate, EmptyParam, Visible);
now could you help me ?