关于PB调用WORD问题
我在开发环境下调用WORD调试没有问题,用install shield做成安装文件后,在其他机器上运行会出错,错误提示如下:
Application terminated
Error:Error calling external object function add at line 209 in clicked event of object cb_1 of w_xxx
我的程序209行代码为:
agreement.Documents.add(s_sourcefile,false)
//s_sourcefile为s_dir+"\filename.doc",s_dir=getcurrentdirectory()
请问是什么问题造成的?谢谢!