Does this program have network access? Did you create the service with
srvany.exe? I seem to remember that the srvany.exe that came with NT4 had
the limitation that the service could be either interactive or have netwok
access, but not both. I think there was a work around for this but I don't
recall what it was.
Louis
"Gonzo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> What is a Shell_NotifyIcon API function? The thing is if I just run the
> application fromthe desktop it puts this icon in the system tray, but not
if
> run as a service...
>
>
> "John John" <(E-Mail Removed)> wrote in message
> news:ehfR$$(E-Mail Removed)...
> > Sorry, I misread your post. As far as I know that has to be done with
the
> > Shell_NotifyIcon API function, it has to be programmed. I don't know
how
> > to do that other than perhaps using a third party helper application.
> >
> > John
> >
> > Gonzo wrote:
> >
> >> I don't understand. I have already done this and created the service
> >> part, as explained in the post.
> >>
> >>
> >> "John John" <(E-Mail Removed)> wrote in message
> >> news:e%(E-Mail Removed)...
> >>
> >>>How To Create a User-Defined Service
> >>>http://support.microsoft.com/kb/137890
> >>>
> >>>How to Create a Windows Service Using Sc.exe
> >>>http://support.microsoft.com/kb/251192
> >>>
> >>>John
> >>>
> >>>Gonzo wrote:
> >>>
> >>>
> >>>>I have an old application that just ran as by clicking on its exe.
It's
> >>>>just goes into the system tray by the desktop clock. It's always run
as
> >>>>a startup item, but I want to get it to run as a service, so if it
fails
> >>>>I can get it to restart and have MOM 2005 alert me due to it's event
id.
> >>>>
> >>>>Anyway I have created the service and the application starts up but
only
> >>>>in the background "processes > task manager". It doesn't show up in
the
> >>>>system tray. It has to be there so I can double click it to bring up
> >>>>the application and use it.
> >>>>
> >>>>I tried the "allow service to interact with the desktop" but I get
some
> >>>>sort of error saying this is not supported. It's like a loop.
> >>>>Any ideas would be great?
> >>>
> >>
> >>
> >
>
>