要加上uses comobj;
var msword:variant;
msword:=createoleobject('word.application');连接word
如果是word95好象用word.basic
msword.documents.open(filename:='文件路径+文件名',readonly:=true);
msword.visible:=1;显示文件编辑!
如果要取消和服务器的连接
msword:=unassigned;
var msword:variant;
msword:=createoleobject('word.application');连接word
如果是word95好象用word.basic
msword.documents.open(filename:='文件路径+文件名',readonly:=true);
msword.visible:=1;显示文件编辑!
如果要取消和服务器的连接
msword:=unassigned;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货