Using jacob to operate the office

来源:互联网 发布:C语言求主析取范式 编辑:程序博客网 时间:2024/06/08 05:44

First:

add jacob.jar to the classpath

 

Second:

add copy the jacob-version.dll to %SystemRoot%/system32

 

Third:

 

Fourth:

invoke the method