com.jniwrapper.win32.jexcel.Application application = new com.jniwrapper.win32.jexcel.Application.Application();
--
You received this message because you are subscribed to the Google Groups "JExcel Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jexcel-forum+unsubscribe@teamdev.com.
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/jexcel-forum/5d0f08c6-a49b-4f08-9b3a-13ba8baabd77%40teamdev.com.
Could you please provide a more detailed description of your use-case?Hi,Unfortunately, there is no reliable approach provided by the Excel object model to determine the corresponding process ID.
In general, it is possible to obtain the Application.Hwnd and Application.Hinstance values that can be used for some low-level tasks.
Sincerely,
Anna
On Mon, Jan 22, 2018 at 11:41 PM, <ludovi...@gmail.com> wrote:
HiAfter creating an Application
com.jniwrapper.win32.jexcel.Application application = new com.jniwrapper.win32.jexcel.Application.Application();Is there a way to obtain the processID (PID) displayed in Windows Task Manager ?
If not, is there a way to set manually a description in the description column ?
--
You received this message because you are subscribed to the Google Groups "JExcel Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jexcel-forum...@teamdev.com.
com.jniwrapper.win32.jexcel.Application
instances for generating the reports?To unsubscribe from this group and stop receiving emails from it, send an email to jexcel-forum+unsubscribe@teamdev.com.
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/jexcel-forum/ba19400a-dbf5-4412-803d-301d0cb5a331%40teamdev.com.
Sincerely,
Anna
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/jexcel-forum/ba19400a-dbf5-4412-803d-301d0cb5a331%40teamdev.com.
Thanks for clarification!
For debugging purposes, you can consider obtaining a list of the EXCEL.EXE
processes before and after creating an Application instance. The difference between these lists will allow you to determine the EXCEL.EXE
process created when initializing a particular Application. You can also perform the same when closing the application to see if the process was terminated.
There are several approaches that can be used for obtaining the list of the running processes. For example, you can use Process.getProcesses() WinPack functionality or call Runtime.getRuntime().exec("tasklist.exe /fo csv /nh")
and analyze the output of the corresponding process.
In addition, the Application class has the close(boolean forceQuit)
method overload that calls Application.Quit
method during shutdown. You can consider using this overload instead of the close()
method if your application is not using it yet.
Please let us know if you have any further questions.
To unsubscribe from this group and stop receiving emails from it, send an email to jexcel-forum+unsubscribe@teamdev.com.
To view this discussion on the web visit https://groups.google.com/a/teamdev.com/d/msgid/jexcel-forum/ad37786c-da12-4c52-adbc-68dbbb06bde6%40teamdev.com.