windows service to lunch windows application

  • Thread starter Thread starter ssc
  • Start date Start date
S

ssc

Hi friends,

I wrote a Windows Form App "X" using #C.Net. This App "X" is installed
in a Windows XP machine. Now I want to run this App "X" without the
user having to log into the Windows XP machine. I think of a solution
which is that I write a new auto-start windows service to run the app
"X". will it work? Pls give me some advice coz I'm new to .NET. Thanks.
^_^

Cheers,
Sam
 
as long as your app is a console application that requires no input and no
output, why not just add service code directly to your app, making it into a
service?

You don't want a service to call an app that has a U/I when no one is logged
in, since there is no U/I available to show the elements on. Your app will
not load in that situation.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
Sorry Nick that I missed 1 point. I purchased a 3rd party .net
component which is a control for form app only. The app "X" has no UI
though. So I can only build the form app for my purposes and want to
run it as services.

Cheers,
Sam
 
Back
Top