使用Servers页中的控件WordDocument和WordApplication
我现在使用WordApplication.documents.count属性判断有多少word文档已打开,但我将wordApplication.disconnect放在if ... then 语句之后就会报错,说“RPC服务器无法使用”