system tray or windows services?!!

J

Jassim Rahma

did you see the CNN or BBC dekstop news alert software? I want to develop
the same but for banner advertisment and I want to if I should do it as
system tray ir windows services?
 
H

Hans Kesting

did you see the CNN or BBC dekstop news alert software? I want to
develop the same but for banner advertisment and I want to if I should
do it as system tray ir windows services?

For a service it's difficult to interact with the desktop. Also you don't
need
to run this if noone is logged in, so a systray application would seem
best in this case.

Hans Kesting
 
K

Kevin Spencer

No, you should not.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
T

Tim Haughton

Hi Jassim,

Jassim Rahma said:
did you see the CNN or BBC dekstop news alert software? I want to develop
the same but for banner advertisment and I want to if I should do it as
system tray ir windows services?

A windows service would be a bad choice, they're designed to run at all
times and rarely have interaction with users. The systray, aka the
notification area is there for applications that require infrequent user
interaction to notify the user of some event, or as a place to park.

It sounds like your app would be a reasonable choice for the systray. But
what would you notification are icon do? Although, the thought of having any
kind of banner on my desktop makes my skin crawl :)

--
Regards,

Tim Haughton

http://timhaughton.info
The Agile Micro ISV Blog
 
N

Nicholas Paldino [.NET/C# MVP]

Not only is it difficult, in Windows Vista, it is forbidden.
 
B

Ben Voigt [C++ MVP]

Nicholas Paldino said:
*forbidden* as in the option isn't even there anymore.

No, it's only mostly forbidden. You can certainly enumerate the desktops
and interact with them. You just can't have the real desktop as your
process default.

But it's much better to do privilege separation and uses named pipes or some
other IPC mechanism to handle user input.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Tim Haughton said:
There's forbidden, and there's *forbidden*. Which do you mean? :¬)

--
Regards,

Tim Haughton

http://timhaughton.info
The Agile Micro ISV Blog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top