close inluding the DOs window - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

close inluding the DOs window

Ajith RajAjith Raj Posts: 1Member

I wish to write a program in java that check a database at the time of booting up. It has to do some operations on the database and it should be close itself after the process(close inluding the DOs window).
That is, it should not give any idea to the user that the program was executed.
How can I do this ?. The problem is to close the program itself

Comments

  • VilanyeVilanye Posts: 684Member
    :
    : I wish to write a program in java that check a database at the time of booting up. It has to do some operations on the database and it should be close itself after the process(close inluding the DOs window).
    : That is, it should not give any idea to the user that the program was executed.
    : How can I do this ?. The problem is to close the program itself
    :

    I don't think it is possible to hide a program. In windows it would show up in windows task manager->processes, and would have to be listed in the start up list so anyone who cares to look will know it is there.

    Why would you want to execute something and try and hide that fact to the user?
  • moomoo Posts: 147Member
    :
    : I wish to write a program in java that check a database at the time of booting up. It has to do some operations on the database and it should be close itself after the process(close inluding the DOs window).
    : That is, it should not give any idea to the user that the program was executed.
    : How can I do this ?. The problem is to close the program itself
    :

    if you do *not* want feedback in a console window, don't start your class with 'java package.name.YourClass' but with 'javaw package.name.YourClass'

    greetings mo

Sign In or Register to comment.