Re: creating a process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Marco Martin (marco_martin_at_sympatico.ca.antispam)
Date: 02/05/04


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
> >
> >
>
>



Relevant Pages

  • Re: Should Delphi be able to export projects to FPC?
    ... tool just open that and writing a hello world app. ... ignorant. ... You looked at any "pogramming" book lately? ... Yes Marco, this is my method, or you bought an microsoft office book before ...
    (borland.public.delphi.non-technical)
  • Re: Changing the Classpath at runtime
    ... Marco wrote: ... >> I need to be able to change the classpath after my main ... and fail as the failure will be cached.) ... Then the app can ...
    (comp.lang.java.programmer)
  • [FastMM] Invalid pointer operation
    ... Testing FastMM some CompaQ P3-500 I get ... an "Invalid Pointer Operation" at the app start. ... Marco ...
    (borland.public.delphi.language.basm)
  • Where to start with : NullReferenceException
    ... I have made my 1st app in vb.net, and it works ok on my ipaq 5550 ... The app has several screens, to which you can switch tapping buttons. ... mention in the header. ... Marco ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Selling the boss on a "publish to the web" Access app?
    ... Go to www.officelive.com, this free small business edition is only available to North America customers right now however. ... Are the users app specific where certains users can log into that app or have rights to it but not others? ... The person coming in the door that wants to sell new carpets or new desks or a new paint job on the walls or even a new computer has to justify that they're going to save the company money. ... I suppose you could bring in a whole bunch of IT people, and go through all enormous expenses and dangers of security of setting up a web host server. ...
    (comp.databases.ms-access)