C
Coolfaery
Unregistered / Unconfirmed
GUEST, unregistred user!
var
Template,NewTemplate,ItemIndex,_WordDocumentType,_Visible,_FileName:OleVariant;
_InsertText : OleVariant;
begin
NewTemplate := False;
BigIndex := 0;
SmallIndex := 0;
//Template := ExtractFilePath(Application.ExeName) + 'Output.dot';
Template := EmptyParam;
//ShowMessage(ExtractFilePath(Application.ExeName) + 'Output.dot');
_WordDocumentType:=wdNewBlankDocument;
_Visible:=False;
PaperWord.Connect;
PaperWord.Documents.Add(Template, NewTemplate, _WordDocumentType,_Visible);
PaperWord.Selection.TypeText('');
Template,NewTemplate,ItemIndex,_WordDocumentType,_Visible,_FileName:OleVariant;
_InsertText : OleVariant;
begin
NewTemplate := False;
BigIndex := 0;
SmallIndex := 0;
//Template := ExtractFilePath(Application.ExeName) + 'Output.dot';
Template := EmptyParam;
//ShowMessage(ExtractFilePath(Application.ExeName) + 'Output.dot');
_WordDocumentType:=wdNewBlankDocument;
_Visible:=False;
PaperWord.Connect;
PaperWord.Documents.Add(Template, NewTemplate, _WordDocumentType,_Visible);
PaperWord.Selection.TypeText('');