Hello Matt,

Thanks for your valuable feedback. i will definately
reconsider and try to solve this using event log.

Regards
Sadanand
Shreyas IT

--- Matt Evans <[EMAIL PROTECTED]> wrote:

> See below from the MSDN help about windows
> services... as you can see
> one issue is that windows services are designed not
> to show any user
> interface, as they are able to run when there is no
> interactive user
> logged on. Perhaps you should reconsider why you are
> using a windows
> service if you need it to interact with a user. Also
> consider using the
> event log to write event information about your
> application, rather than
> using message boxes, that way if the user is not
> logged in, the event
> information is still stored. Or even your own
> instrumentation and
> logging facility to log activity information, and
> then build a user
> interface application that accesses that data,
> rather than trying to
> implement ui in the windows service itself.
>  
> Hope this helps
>  
> Matt
> Microsoft Windows services, formerly known as NT
> services, enable you to
> create long-running executable applications that run
> in their own
> Windows sessions. These services can be
> automatically started when the
> computer boots, can be paused and restarted, and do
> not show any user
> interface. This makes services ideal for use on a
> server or whenever you
> need long-running functionality that does not
> interfere with other users
> who are working on the same computer. You can also
> run services in the
> security context of a specific user account that is
> different from the
> logged-on user or the default computer account. For
> more information
> about services and Windows sessions, see the "About
> Services" section in
> the Platform SDK documentation in MSDN Online.
> 
> 
>  
> ________________________________
> 
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of mail2sadanand
> Sent: 21 October 2005 13:59
> To: [email protected]
> Subject: [Microsofts_C_Sharp] message dialog box in
> windows service
> 
> 
> Hi,
> 
> i am writing a windows service using c#, i would
> like to provide the 
> functionality to the user i.e. while runing the
> windows service, 
> process should be shown to the user via message
> dialog box.
> 
> can any one help on this.
> 
> Regards
> Sadanand
> Shreyas IT
> 
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> Basic programming language
>
<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic
>
+programming+language&w2=C+programming+language&w3=Computer+programming+
>
languages&w4=Programming+languages&w5=C+++programming+language&w6=Softwa
>
re+programming+language&c=6&s=188&.sig=iGxrJqXlpJD93Gn2WJnoPQ>
> C programming language
>
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Basic+pro
>
gramming+language&w2=C+programming+language&w3=Computer+programming+lang
>
uages&w4=Programming+languages&w5=C+++programming+language&w6=Software+p
>
rogramming+language&c=6&s=188&.sig=qmLSEJy8bi0_VDFWI8nqqw>
>       Computer
> programming languages
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=B
>
asic+programming+language&w2=C+programming+language&w3=Computer+programm
>
ing+languages&w4=Programming+languages&w5=C+++programming+language&w6=So
>
ftware+programming+language&c=6&s=188&.sig=Jj3MOzF1ffC2G5jQOwNguQ>
>       
> Programming languages
>
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+prog
>
ramming+language&w2=C+programming+language&w3=Computer+programming+langu
>
ages&w4=Programming+languages&w5=C+++programming+language&w6=Software+pr
>
ogramming+language&c=6&s=188&.sig=IJr1yWXoNcfxGPgPLYVFtA>
>       C
> programming language
>
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Basic+p
>
rogramming+language&w2=C+programming+language&w3=Computer+programming+la
>
nguages&w4=Programming+languages&w5=C+++programming+language&w6=Software
>
+programming+language&c=6&s=188&.sig=gKpaB8RD2WPC7b7UDIdgfA>
>       Software
> programming language
>
<http://groups.yahoo.com/gads?t=ms&k=Software+programming+language&w1=Ba
>
sic+programming+language&w2=C+programming+language&w3=Computer+programmi
>
ng+languages&w4=Programming+languages&w5=C+++programming+language&w6=Sof
>
tware+programming+language&c=6&s=188&.sig=dC7cQdeugAVX2bJkn_3dzA>
>       
> 
> ________________________________
> 
> YAHOO! GROUPS LINKS 
> 
> 
>       
> *      Visit your group "Microsofts_C_Sharp
> <http://groups.yahoo.com/group/Microsofts_C_Sharp> "
> on the web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]
> be> 
>         
> *      Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> ________________________________
> 
> 
> 



With Best Regards
Sadanand




        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to