M
maomaoyu810201
Unregistered / Unconfirmed
GUEST, unregistred user!
各位真牛!!!
请帮忙看看下面问题出在何处?我用的是OleContainer,照SeaHawk讲的方法想做一个
activex。
var
worddoclevariant;
vlevariant;
begin
OleContainer1.CreateObjectFromFile('d:/temp/temp.doc',false);
OleContainer1.DoVerb(OleContainer1.PrimaryVerb );
worddoc:=OleContainer1.OleObject;
v:=worddoc.Application;
//v.Insert('hhhhhh'); ----这两句报错“不支持此方法”,为什么???
//v.FileSaveAs('d:/temp/temp.doc');
end;
SeaHawk,能发个控件给我吗? shh_mao@yahoo.com.cn
请帮忙看看下面问题出在何处?我用的是OleContainer,照SeaHawk讲的方法想做一个
activex。
var
worddoclevariant;
vlevariant;
begin
OleContainer1.CreateObjectFromFile('d:/temp/temp.doc',false);
OleContainer1.DoVerb(OleContainer1.PrimaryVerb );
worddoc:=OleContainer1.OleObject;
v:=worddoc.Application;
//v.Insert('hhhhhh'); ----这两句报错“不支持此方法”,为什么???
//v.FileSaveAs('d:/temp/temp.doc');
end;
SeaHawk,能发个控件给我吗? shh_mao@yahoo.com.cn