We are running crystal reports from an Active X connection in a VB application. There is one particular report that users print multiple times. After 20 prints, we get the following error...
ERROR NUMBER 20544
ERROR MESSAGE: Access to report file denied. Another program maybe using it.
We are invoking the print by using the action=1 method (cr.action = 1) from VB. After the report has printed, we clear the object with the reset method (cr.reset).
This error occur regardless if we printing to the printer or a window. It seems that a lock is being placed on the report file and not being removed unless the application is closed. Does anyone know how to release this lock, or have any other ideas or suggestions?
Thanks.
ERROR NUMBER 20544
ERROR MESSAGE: Access to report file denied. Another program maybe using it.
We are invoking the print by using the action=1 method (cr.action = 1) from VB. After the report has printed, we clear the object with the reset method (cr.reset).
This error occur regardless if we printing to the printer or a window. It seems that a lock is being placed on the report file and not being removed unless the application is closed. Does anyone know how to release this lock, or have any other ideas or suggestions?
Thanks.