Re: creating a process
From: Marco Martin (marco_martin_at_sympatico.ca.antispam)
Date: 02/05/04
- Next message: n!: "Re: ok to use base. when I don't have to?"
- Previous message: Daniel O'Connell [C# MVP]: "Re: ok to use base. when I don't have to?"
- In reply to: Peter Bromberg [C# MVP]: "Re: creating a process"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 5 Feb 2004 12:12:48 -0500
Yes, Service is what I meant. Thanks for the reply. I have a quick (newbie
type) question. Opening Task Manager, I can view Applications and
Processes. Some of the processes are actualy Apps. How does windows make
the difference? For example, svchost.exe is a process and not an app. ..
Marco
"Peter Bromberg [C# MVP]" <pbromberg@yahoo.com> wrote in message
news:%23Ik3K0$6DHA.2748@TK2MSFTNGP09.phx.gbl...
> Marco,
> Functionality such as you describe is best wrapped up into a .NET Windows
> Service. The Framework SDK and Visual Studio.NET help collection have
> excellent examples of how to code these.
> While debugging can be a little more difficult than a Winforms app running
> as a NotifyIcon, it's generally well worth the extra effort to learn how
to
> do it.
> VS.NET has a special project type, "Windows Service" that gives you all
the
> infrastructure to get started, all pre-written.
> Peter
>
> "Marco Martin" <marco_martin@sympatico.ca.antispam> wrote in message
> news:XusUb.8931$bp1.552709@news20.bellglobal.com...
> > Good Morning Group,
> >
> > I've created an app that "runs in the background "(the window state is
> > minimized, the showintaskbar is false, and it displays a notify Icon.).
> > This program will be running on a server and will be doing scheduled
> > maintenance on a database. What I'm wondering is, would this be better
as
> a
> > process instead of an app? Since it will be running on a server and
> writing
> > to a log file, permissions could be an issue. I was told that a process
> > would be better suited. I've never coded for a "process" before. Is
> there
> > anything special I should know about creating a process? Would there be
> > major changes to my code if I pasted it inside a "Windows Project"?
> >
> > Thanks and best regards,
> >
> > Marco
> >
> >
>
>
- Next message: n!: "Re: ok to use base. when I don't have to?"
- Previous message: Daniel O'Connell [C# MVP]: "Re: ok to use base. when I don't have to?"
- In reply to: Peter Bromberg [C# MVP]: "Re: creating a process"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|