Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DSOFramer & Word 2007

23 views
Skip to first unread message

Michael Cessna

unread,
Nov 22, 2006, 11:49:36 AM11/22/06
to
It appears that the DSOFramer.ocx project
(http://www.microsoft.com/downloads/details.aspx?familyid=CE2CA4FD-2169-4FAC-82AF-770AA9B60D77&displaylang=en)
will no longer save Word documents when using Word 2007 (released version).
However, it works ok with the Beta and TR of Word 2007. The method that is
failing is CDsoDocObject::SaveStorageToFile. I've verified that the document
is in 97-2003 format and that the "Save files in this format" option is also
set to 97-2003.

Any ideas?

Thanks.

Regards,

Michael Cessna


Michael Cessna

unread,
Nov 22, 2006, 5:07:03 PM11/22/06
to
An update regarding the problem:

The problem appears to be related to the call to IPersistFile::Save in
CDsoDocObject::SaveStorageToFile. This method returns success...but the Word
document is not created, which means that either the implementation in Word
2007 is wrong or that the example is wrong with regard to Word 2007 (I tried
other parameters and techniques using IPersistFile without success). The
quick solution is to comment out the IPersistFile code and just use the
StgCreateDocfile method of creating a Word document in the
CDsoDocObject::SaveStorageToFile method.

Thanks.

Regards,

Michael Cessna

"Michael Cessna" <mce...@newsgroups.nospam> wrote in message
news:OtNsuYlD...@TK2MSFTNGP03.phx.gbl...

0 new messages