H hopfield Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-09 #1 我已经有一个建立好的word模板,请问如何在Delphi中启动Word,并自动调入该模板呢?
H hubdog Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-09 #2 用Server组件板上的Twordapplication.... var installlevariant; templatelevariant; begin install:=true; wordapplication1.AddIns.Add('C:/Program Files/Microsoft Office/Templates/Normal.dot',install); end;
用Server组件板上的Twordapplication.... var installlevariant; templatelevariant; begin install:=true; wordapplication1.AddIns.Add('C:/Program Files/Microsoft Office/Templates/Normal.dot',install); end;
S sunhood Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-10 #3 >>install:=true 应该是install:=False,其他正确
程 程云 Unregistered / Unconfirmed GUEST, unregistred user! 2001-04-10 #4 WordApplication.Documents.Add(Template, NewTemplate);