windows service with notify icon and contextmenu.. HELP!

  • Thread starter chinimimita.hernandez
  • Start date
C

chinimimita.hernandez

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!
 
G

Glenn Wilson

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.
 

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