Re: run client program when the system is on

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Rewrite it so it has absolutely no GUI component at all, and conforms to the protocols for
being a service. A dialog-based app is remarkably ill-suited for being a service.
Fundamentally, there are so many things wrong here that it is essentially impossible for
it to make sense.

There are lots of articles, including MSDN articles, on creating a service. You have to
create a service, which has not a single GUI component anywhere in it. Then, if you want
a GUI interface, write an application that communicates to the service.
joe

On 13 Dec 2006 03:22:55 -0800, "Sanju" <mnair.lekshmi@xxxxxxxxx> wrote:

Dear I have no more knowledge about VC.......I did a client-server
programming by using Dialog based application..
...It is working very well..But I need to run client part
when the system is on........That i want to run client as service....
But I dont know about the coding of service.Sir,plz help me.....If
there is any code to help run as service.I got some code.But I dont
know how to use in my project.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: PrintWriter output to GUI
    ... Is it possible to re-engineer an existing app that now statically creates ... Looking for insight and a code snippet. ... System.setOutmethod, and give it a PrintStream, which writes into a GUI component. ...
    (comp.lang.java.gui)
  • Re: PrintWriter output to GUI
    ... > PrintWriter and outputs System.out to it with output_.printlnto go to ... I believe not b/c no Swing app would have the ... > println method and I dont see how you to force it; ... method, and give it a PrintStream, which writes into a GUI component. ...
    (comp.lang.java.gui)