473,396 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

system tray or windows services?!!

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?

Jul 23 '07 #1
7 1847
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
Jul 23 '07 #2
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

"Jassim Rahma" <jr****@hotmail.comwrote in message
news:BF**********************************@microsof t.com...
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?

Jul 23 '07 #3
Hi Jassim,

"Jassim Rahma" <jr****@hotmail.comwrote in message
news:BF**********************************@microsof t.com...
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

Jul 23 '07 #4
Not only is it difficult, in Windows Vista, it is forbidden.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Hans Kesting" <ne***********@spamgourmet.comwrote in message
news:c0**************************@news.microsoft.c om...
>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


Jul 23 '07 #5
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:u4**************@TK2MSFTNGP04.phx.gbl...
Not only is it difficult, in Windows Vista, it is forbidden.
There's forbidden, and there's *forbidden*. Which do you mean? :¬)

--
Regards,

Tim Haughton

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

Jul 23 '07 #6
*forbidden* as in the option isn't even there anymore.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Tim Haughton" <ti*********@gmail.comwrote in message
news:qY******************@fe08.news.easynews.com.. .
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:u4**************@TK2MSFTNGP04.phx.gbl...
> Not only is it difficult, in Windows Vista, it is forbidden.

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

--
Regards,

Tim Haughton

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

Jul 23 '07 #7

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:O0*************@TK2MSFTNGP02.phx.gbl...
*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]
- mv*@spam.guard.caspershouse.com

"Tim Haughton" <ti*********@gmail.comwrote in message
news:qY******************@fe08.news.easynews.com.. .
>"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:u4**************@TK2MSFTNGP04.phx.gbl...
>> Not only is it difficult, in Windows Vista, it is forbidden.

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

--
Regards,

Tim Haughton

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


Jul 23 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: none | last post by:
Hello all, I wrote a shell program a few years ago in VB6 that needs to be modified. The problem I have is this: The SysAdmin uses this shell in place of Explorer, so there is no taskbar. When...
2
by: Andrew Mueller | last post by:
Hello all, I have created a windows service and now I would like to have a configuration page in the system tray. Basically an icon I can click on which will just interact with an XML file. ...
3
by: Mats-Lennart Hansson | last post by:
Hi, I'm having a hard time getting my service to show a sys tray icon. I've tried to create a separate Windows application where I simply add a notification icon to the form. In the OnStart method...
11
by: Jay | last post by:
Hey There, I have a system tray application that is running, and it needs to communicate with a Windows Service that I wrote. My problem is that if a user switches to another desktop, I need the...
0
by: kissii | last post by:
Hi , i am new to VB. I want to know what are the processes running in system. what i am thinking is if i can get how to access system tray information, i can get all the processes/services...
2
by: ericlangland | last post by:
Hi, I have a small managed code application (windows forms) that executes on startup and immidiatly minimizes to the system tray. It launches and shows the form when I double click it's small...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
3
by: Joseph Geretz | last post by:
The conventional approach is easy enough; drop a NotifyIcon onto a Form. When the form is loaded - bingo - the icon appears in the System Tray. I can't use this approach though. I'm writing a...
3
by: Usman Jamil | last post by:
Hi I've a windows application that does a lengthy backup process. While the process is going on, I need to show a progress bar inside system tray or just above the system tray. Can someone...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.