worddocument1.SaveAs('c:\test.doc');

解决方案 »

  1.   

    用GetCurrentDirectory(),GetSystemDirectory()等API函数.
      

  2.   

    恩,是的,就是用户在WORD中点《保存》时候他自己选择的路径。获取它。
    谢谢你~~~~~~~~~~~~~~~~~~!
      

  3.   

    如果使用GETCURRENTDIR的话,那么怎么获取用户什么时候关闭了WORD?或不关闭WORD,你什么时候知道他存盘???
      

  4.   

    if wordapplication1.ActiveDocument.Saved=true then ...检测word是否关闭可以用connecttry
      wordapplication1.connect;
    except
      showmessage('closed');
    end;
      

  5.   

    showmessage里的内容写反了,无法连接应该是WORD实例还“活着”