![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Exporting Ole Objects Topic Summary: Created On: 2-Nov-2007 14:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am trying to export contents of module to word document. In a column I have OLE Objects of big in size and while exporting I am getting an error message "Failed to Set clipboard contents" and when I click ok the next contents are being exported but the current OLE Objects are not being exported. ffice Presently I am suspecting the buffer which is unable to hold the OLE Objects as the size of OLE Object is large, Or event though buffer can hold but clip board is unable to hold that OLE Objects. Can any one can give me a solution to increase the buffer size or clear the clip board contents or increase the clip board contents size or any other solution exists to handle this situation. Presently I am sending appropriate code to let you know what actual functions I am using. Object o = current Column c Buffer textBuffer = create string attrNameString = attrName c // getting attribute name of the column c textBuffer = richTextWithOle o.attrNameString // getting rich Text with ole of the // column c setRichClip(textBuffer, // Setting the system clipboard to contain textBuffer information oleMethod(objSelection, cMethodPaste) // using cMethodPaste property to paste |
|
![]() |
|
![]() |
|
Well as far as making the buffer bigger, you can define the size of your buffer when it is created. And I don't think theres any way to increase the size of the windows clipboard. Nor have I ever ran into any size limit of it since I've copied and pasted gigabytes worth of data before.
I have a feeling just the setRichClip function isn't designed to be used with OLE objects. You could try to find a way to instead invoke the windows copy function instead of setRichClip. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
We had this problem with WEXP 10.6a but it went away when we upgraded to WEXP 11.4. I don't know how they have fixed it, so I can't help you directly if you are "rolling your own", but it may be an avenue of investigation. Jeremy Dick might be able to help you but the last time I sent him an email it bounced.
Edited: 14-Nov-2007 at 22:09 by Ken McNair |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Exporting Ole Objects
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.