Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveDocument.SaveAs keeps the file locked?

Status
Not open for further replies.

phil7445

Programmer
Jan 3, 2002
3
US
I am using the SaveAs method in a Word script to save a document as an HTML file. I then issue the ActiveDocument.Close command. Now I want to read the file I saved using an ADO Stream so I can load the file into a blob in SQL2000. The LoadFromFile method receives the error "File could not be opened '3002' ". Is there any way I can unlock this file?

Any other idea on how to get around this locking problem?

Thanks.

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top