| 发表于:2007-01-03 21:28:183楼 得分:0 |
| word.applicationclass word = new word.applicationclass();
word.documents.open(ref path,ref o,ref o,ref o,ref o,ref o,ref o,ref o,ref o,ref openformat,ref o,ref o,ref o,ref o,ref o,ref o);
object sfilename = server.mappath( "aa.doc ");
word.activedocument.saveas2000(ref sfilename,ref saveformat,ref o,ref o,ref o,ref o,ref o,ref o,ref o,ref o,ref o);
word.activedocument.close(ref o,ref o,ref o);
word.quit(ref o,ref o,ref o);
| | |
|