N nite Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-23 #1 olecontainer1.CreateObjectFromFile('c:/mirdc/dot/test1.doc',true); OleContainer1.AutoActivate:=aaGetFocus;
olecontainer1.CreateObjectFromFile('c:/mirdc/dot/test1.doc',true); OleContainer1.AutoActivate:=aaGetFocus;
A alextsui Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #2 你可以用WordApplication控件, 然後用下面的方法就可以了 WordApp.ActiveWindow.Document.Range.Find.Execute(FindText, MatchCase, MatchWholeWord, MatchWildcards, MatchSoundsLike, MatchAllWordForms, Forward, Wrap, Format, ReplaceWith, Replace);
你可以用WordApplication控件, 然後用下面的方法就可以了 WordApp.ActiveWindow.Document.Range.Find.Execute(FindText, MatchCase, MatchWholeWord, MatchWildcards, MatchSoundsLike, MatchAllWordForms, Forward, Wrap, Format, ReplaceWith, Replace);
Y yzhshi Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #3 看一下这个帖子最后面的一段使用OldContainer嵌入Word的经验,然后你就会有办法的。 控制Word http://www.delphibbs.com/delphibbs/dispq.asp?lid=737517 选定对象 http://www.delphibbs.com/delphibbs/dispq.asp?lid=876679
看一下这个帖子最后面的一段使用OldContainer嵌入Word的经验,然后你就会有办法的。 控制Word http://www.delphibbs.com/delphibbs/dispq.asp?lid=737517 选定对象 http://www.delphibbs.com/delphibbs/dispq.asp?lid=876679