Subject: Re: Winforms\WIndows Service
I have generally written services as console apps first, with
`Console.WriteLine` injected as a log through the application. Then to
create an installer I just look at the command line options, so my main()
looks like:
if (options.Help) {
// show help
t-boun...@ozdotnet.com>
[mailto:ozdotnet-boun...@ozdotnet.com
<mailto:ozdotnet-boun...@ozdotnet.com>] *On Behalf Of *Tom Rutter
*Sent:* Monday, 22 July 2013 3:26 PM
*To:* ozDotNet
*Subject:* Re: Winforms\WIndows Service
Yeh I maintained an app back in the day that did
tra functionality when required but installed
> as service so a reboot doesn’t affect operation.
>
> ** **
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Tom Rutter
> *Sent:* Monday, 22 July 2013 3:26 PM
>
> *To:* ozDotNet
>
forms\WIndows Service
Yeh I maintained an app back in the day that did this for debugging
purposes. Just had 2 code paths. Don't really need it though. I can't think
of a reason you would need this off the top of my head.
On Mon, Jul 22, 2013 at 10:13 AM, wrote:
I found some code a
n Behalf Of *Greg Keogh
> *Sent:* Monday, 22 July 2013 11:58 AM
> *To:* ozDotNet
> *Subject:* Re: Winforms\WIndows Service
>
> ** **
>
> I found some code a while back that allowed me to have an application that
> could run as a service or a winform interface…anyone done
Yeh I maintained an app back in the day that did this for debugging
purposes. Just had 2 code paths. Don't really need it though. I can't think
of a reason you would need this off the top of my head.
On Mon, Jul 22, 2013 at 10:13 AM, wrote:
> I found some code a while back that allowed me to hav
Found this article.
http://coding.abel.nu/2012/05/debugging-a-windows-service-project/
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com]
On Behalf Of Greg Keogh
Sent: Monday, 22 July 2013 11:58 AM
To: ozDotNet
Subject: Re: Winforms\WIndows Service
I found some code
>
> I found some code a while back that allowed me to have an application that
> could run as a service or a winform interface…anyone done this before?
>
If you want the same executable image to be both a Windows Service or a
WinForms app, I've never tried to do that, but perhaps you can differen
I found some code a while back that allowed me to have an application that
could run as a service or a winform interface.anyone done this before?
Anthony