public void saveFileAs(String fileName) {
// The method call(Dispatch, String, Object[]) in the type Dispatch is
// not applicable for the arguments (Dispatch, String, String)
Dispatch.call(document, "SaveAs", fileName);
}
把文件保存到文件名指定的路径上,这个应该是用 com 接口调用word excel一类的代码
将document保存到fileName文档中
方法call()里的第三个参数应该是Object[]一个数据,而不是String型字符串........
看一下jacob api吧 , 上边会有你想要的