![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: OLE objects exported to MS WORD result in disk full message Topic Summary: Created On: 15-Sep-2008 14:28 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Using DOORS v7.1, we have Evaluation Reports to which we attached Problem Reports as OLE icons in the object text as necessary.
Some objects require three or four problem report OLEs. If I export the Evaluation Report to MS Word and save it, then re-open the MS WORD document and make one minor textual edit, when I attempt re-save it (either under the same name or another name) I get a disk full message which I know to be incorrect as it is a 560GB drive with 170GB free. The Problem Reports are not large files, maybe 20-30 KB each, so I can't for the life of me understand why MS WORD would think this. Any ideas? Is it possible that the OLEs are corrupting the export in some way? Should I be looking at an export issue, or an MS WORD issue? TIA |
|
![]() |
|
![]() |
|
Alan, I get a similar problem when exporting large files to MS Word 2003. However my issue is different in that i recieve the disk full message 'during' the export. I eventually solved this by forcing a save,close,open during the export (code below).
However since you have already saved your doc, I doubt this is exactly the same issue. Posted in the hope it might lead you to some new idea. void saveDocument() { string filename = "C:\\temp\\tempWordDocument.doc" //save the document then close the word application clear(objArgBlock) put(objArgBlock, "Filename", filename) checkRes(oleMethod(objDoc, "SaveAs", objArgBlock)) checkRes(oleMethod(objWord, "Quit")) //create the word application again objWord = oleCreateAutoObject(cObjWordApplication) // Get documents collection checkRes(oleGet(objWord,cPropertyDocuments,objDocs)) if (null objDocs) { ack "Unable to get Documents collection" return false } //open the document again clear objArgBlock put(objArgBlock,filename) checkRes(oleMethod(objDocs,cMethodAdd,objArgBlock)) // Get a handle on the document checkRes(oleGet(objWord,cPropertyActiveDocument,objDoc)) if (null objDoc) { ack "Unable to get active document" halt } // Get a handle on the selection object checkRes(oleGet(objWord,cPropertySelection,objSel)) if (null objSel) { ack "Unable to get selection object" halt } // Get a handle on the shapes collection checkRes(oleGet(objDoc,cPropertyInlineShapes,objInlineShapes)) if (null objInlineShapes) { ack "Unable to get inline shapes collection" halt } // Get a handle on the tables collection checkRes(oleGet(objDoc,cPropertyTables,objTables)) if (null objTables) { ack "Unable to get tables collection" halt } //now move to the end of the document endKey } ------------------------- Andrew Tagg Thales Air Systems, Melbourne Australia. andrew.tagg@thalesatm.com |
|
![]() |
|
![]() |
|
Looking at
http://en.allexperts.com/q/Mic...rd-2003-Nasty-Disk.htm there seems to be quite many situations where Word might throw this error. ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.