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

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.