Solved JavaExe -Once I closed UI ,how will reopen it

January 29, 2014 at 00:52:58
Specs: Windows 7

I have created my Java application as service,In that I have called UI method from task_init() .
First time when i install all works fine.UI also opened.
But the problem is once I closed the UI,i am not able to open it again.
Could You please tell me how to resolve this

Divya R Dharan

See More: JavaExe -Once I closed UI ,how will reopen it

Report •

January 29, 2014 at 06:12:06
✔ Best Answer

to run manually the UI part, call your .exe with -startServiceUI in argument :

MyApp.exe -startServiceUI

but not from your service. The service can't run any UI nor run an app which has one.
If your service is created as AUTO START, then the UI part will be automatically run when the user logon.

Report •
Related Solutions

Ask Question