IDispatch Exception from Microsoft Word: This file is read-only

M

Mr. Smart

I used automation from Foxpro to drive Word. I need to save a document say
(abc.doc) using VBA's SaveAs method. When i save the first time, there is no
problem. However, if I close the document and create a new document and
saving it with the initial name (abc.doc), it complains that the file is
read-only. Sorry, is there a way I can overwrite a file. This is even when i
closed the document. Thanks. How do I save a file without making it read-only
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top