 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andrés de la Cuadra Guest
|
Posted: Fri May 19, 2006 1:14 pm Post subject: Windows service application |
|
|
Hello, I need to make a Windows service, I mean a program that runs in background with an icon on the rigth botton corner of the screen. How can I do that?, I already have the application that runs like a normal Windows app and want to migrate it to a service. |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Fri May 19, 2006 6:14 pm Post subject: Re: Windows service application |
|
|
"Andrés de la Cuadra" <andres (AT) adelacu (DOT) com> wrote in message
news:446dc077$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello, I need to make a Windows service
|
There is a "Service Application" option available in the IDE's 'File | New'
dialog.
| Quote: | with an icon on the rigth botton corner of the screen.
|
What you are referring to is called the System Tray. It is not a simple
task to have a service display a System Tray icon. Depending on how you set
up your service, the System Tray may not even exist while the service is
running, or it may not be accessible to the service. The best way to have a
service display a System Tray icon is to write a separate non-service
application to handle the icon, and then have that application communicate
with the service when needed. You can then have that application running
while the user is logged in (the System Tray does not exist when no user is
logged in).
Gambit |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|