computing
  • 0

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

  • 0

Hi

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

Regards
Divya R Dharan

Share

1 Answer

  1. hi,

    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.

    • 0