Hi all,
I need to display a popup scrren similar to an MSN popup screen is my
application. I have to check some database values after certain time
interval and show some simple msg as a popup screen.
I tried writing a service, that will check the database and pops up a
form. But I am not able to show a form, from Windows Service.
Is there any other option by using which I can accomplish my task?
Can we show a form, from the Windows Service?
SW - 26 Jan 2007 21:23 GMT
This popup will be similar to the one in MS Outlook express. After
receving a new mail, a popup scrren is shown. I think there should be
some kind of service which is doing this job.
> Hi all,
> I need to display a popup scrren similar to an MSN popup screen is my
[quoted text clipped - 6 lines]
> Is there any other option by using which I can accomplish my task?
> Can we show a form, from the Windows Service?
Scott M. - 26 Jan 2007 21:52 GMT
A Windows service does not implement a UI. You'll need to use a Windows
Forms or Console Application to do this. All you need to do is design a form
to look however you want it and show it at the appropriate time.
> This popup will be similar to the one in MS Outlook express. After
> receving a new mail, a popup scrren is shown. I think there should be
[quoted text clipped - 10 lines]
>> Is there any other option by using which I can accomplish my task?
>> Can we show a form, from the Windows Service?
Rad [Visual C# MVP] - 28 Jan 2007 14:31 GMT
> Hi all,
> I need to display a popup scrren similar to an MSN popup screen is my
[quoted text clipped - 6 lines]
> Is there any other option by using which I can accomplish my task?
> Can we show a form, from the Windows Service?
It is not wise to have a windowss service with a UI component. What you
want to do is develop a separate application that will do the notifications
for you, using a notifyicon or a custom form

Signature
Bits.Bytes
http://bytes.thinkersroom.com