Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2007

Tip: Looking for answers? Try searching our database.

COM Save

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BrandNewGeorge - 21 Feb 2007 15:41 GMT
Hello,
I am using the Word COM objects via ColdFusion pages.
Everything works nice and smooth except for one thing, very weird.

I am opening a Word document, I read it and modify it OK, but when I try to
save it, by "TheDocument.Save()" it throws me this exception:

'Save' is not a property

even if Save is called as a method, not a property. And no other details on
the error.

IMPORTANT remark: The above save method works well in Word XP, but it
stopped working in Word 2003 and Word 2007.
Also, all methods and properties work fine in Excel, PowerPoint, all
versions, except for this Save and SaveAs methods in Word 2003 and 2007.

I have tried SaveAs, I have also tried Save with the optional parameters,
but with no luck.
My PC has plenty of memory and hdisk available.
Doug Robbins - Word MVP - 22 Feb 2007 19:26 GMT
What is "TheDocument"?  Is it a document object?

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello,
> I am using the Word COM objects via ColdFusion pages.
[quoted text clipped - 18 lines]
> but with no luck.
> My PC has plenty of memory and hdisk available.
BrandNewGeorge - 23 Feb 2007 08:19 GMT
Yes, TheDocument is a document object, which I successfully use to open a
document, read and write data... It is only this Save method that throws the
exception, and the exception doeesn't have any other code or error number.
Again... it works in Word XP, but not in Word 2003 or 2007.

> What is "TheDocument"?  Is it a document object?
>
[quoted text clipped - 20 lines]
> > but with no luck.
> > My PC has plenty of memory and hdisk available.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.