By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,646 Members | 1,850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,646 IT Pros & Developers. It's quick & easy.

windows service with notify icon and contextmenu.. HELP!

P: n/a
Does anyone know how windows service work with notifyicon and contextmenu?

I was able to run the windows service with notifyicon part but when I
inserted the contextmenu command it didn't work. When I read the MSDN
articles about the windows service it says that if my WS needs to be
interactive I need to access the unmanaged windows API. but I honestly dont
have idea on how I will inject that part to my code. Can anyone give me
sample on this? Thanks!
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can not have a windows service that has a notify icon, or windows form,
which means that you can not have the context menu.

To do this you need to have two applications that run together, I would
suggest remoting as the transport between, this is simular to how the server
manager and SQL Server work.
"chinimimita.hernandez" <a.*@yahoo.com> wrote in message
news:eC**************@TK2MSFTNGP09.phx.gbl...
Does anyone know how windows service work with notifyicon and contextmenu?

I was able to run the windows service with notifyicon part but when I
inserted the contextmenu command it didn't work. When I read the MSDN
articles about the windows service it says that if my WS needs to be
interactive I need to access the unmanaged windows API. but I honestly
dont have idea on how I will inject that part to my code. Can anyone give
me sample on this? Thanks!

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.