We try to draw charts in Excel from a report. We use automation server to send data in a worksheet before printing the chart. After every run of this report, we find an ‘excel.exe’ process in process list in task manager. We’re using this type of code : CLEAR(xlApp) CREATE(XlApp) … blablabla … Xlworkbook.CLOSE(FALSE); XlApp.Quit; CLEAR(XlApp); If we don’t use the xlApp.quit method and let the user close excel (with file,quit), then the excel.exe process goes down. Any idea ? [V][V]
I just tried your code fragment (NF 2.60 / Win2K) - no problem, no remaining task. We did, however, observe these “ghost tasks” on other occasions, too. Could it be that Excel is already running at the start of your report, and there are actually two excel.exe running during execution, of which one task then remains?
quote:
Originally posted by xorph
I just tried your code fragment (NF 2.60 / Win2K) - no problem, no remaining task. We did, however, observe these “ghost tasks” on other occasions, too. Could it be that Excel is already running at the start of your report, and there are actually two excel.exe running during execution, of which one task then remains?
There is no instance of excel running before report execution.