| View previous topic :: View next topic |
| Author |
Message |
humantool General User


Joined: 14 Mar 2006 Posts: 30
|
Posted: Thu Jul 06, 2006 1:20 am Post subject: [OLE] Disposed exception with different documents |
|
|
hi,
I'm using Delphi to print documents (.doc or .xls). The user can choose (with checkbox) between several documents to print and their copies numbers.
I'd made necessary adaptation to use both MS Office and OpenOffice via OLE.
My problem is when the user select different documents to print, with a copy number higher than 5, with MS Office no problem but with OpenOffice i've got :
"com.sun.Lang.DisposedException" between each differents documents.
But I checked that between each opening I closed the other. So I don't know which object isn't disposed.
Is someone got a clue ? I wonder if it is because the printer is busy or something....
Humantool |
|
| Back to top |
|
 |
B Marcelly Super User

Joined: 12 May 2004 Posts: 1414 Location: France
|
|
| Back to top |
|
 |
humantool General User


Joined: 14 Mar 2006 Posts: 30
|
Posted: Fri Jul 07, 2006 12:54 pm Post subject: |
|
|
thanks for this advice, i use it right now !!
But I can test it, I hope this could fix my problem (....it seems good)
thanks B Marcelly
Humantool |
|
| Back to top |
|
 |
|