|
tworddocument.Paragraphs.Item(26).Range.InsertFile(fname,fo,fo,fo,fo); 其中:fname:=extractfilepath(paramstr(0))+'database\filename.doc'; fo是olevariant.让fo:=false; 运行时出现以下错误: project project1.exe raise exception class eoleexception with message '类型不匹配'. |
|
|