Click to See Complete Forum and Search --> : pop-up in c#


john_zakaria
01-18-2011, 02:56 AM
hi guys thanks everyone for help in my last post now i made my windows service that get response from a web service and everything is working well.

all that i need now is:
1- The windows service should pop-up something saying there is a new application to be downloaded in case the webservice replied by val=1 and path for an exe file to be downloaded in the pc so the user can install it .
N.B: Like windows update link and pop-up that is shown in the taskbar that telling us that there is a new update and you can download it from this link
so that
The user should click on the pop-up and click on the link on the pop-up, to download the new application, like he downloaded the windows service before.


can anyone tell me the idea about doing this task??

Ribeyed
01-20-2011, 04:35 AM
have you created your windows service to uses a system tray icon and just need to workout the update bit or have you not got as far as a system tray icon yet?


regards


Ribs

john_zakaria
01-23-2011, 02:18 AM
have you created your windows service to uses a system tray icon and just need to workout the update bit or have you not got as far as a system tray icon yet?


regards


Ribs

i created my windows service, i get now the response in a text file.

but i want to get the response inside a balloon tool tip in the taskbar behind the clock...

Got it?

Ribeyed
01-23-2011, 06:40 AM
yeah I got what you wanted to do but I just needed to get an idea of what you have so far. Some code would help as well.

You use a NotifyIcon control for the systemtray icon for your service. The NotifyICon has a property BallonTipText. When you get your response write it to the NotifyIcon.BallonTipText = "some text".

You use a ContextMenuStrip control to create the menu for your NotifyIcon. Your ContextMenuStripIcon can then open up the brower and take you to your correct page.

Here is an example of using the NotifyIcon and the ContextMenuStripIcon.

http://www.developer.com/article.php/3336751


Regards


Ribs