PC Review Forums Newsgroups Windows XP Windows XP Embedded start a program in windows service

Reply

start a program in windows service

 
Thread Tools Rate Thread
Old 13-10-2008, 01:39 PM   #1
Marcos
Guest
 
Posts: n/a
Default start a program in windows service


hi,
i have to start a program on windows service. Is that possibible? If
yes, how can i do it?

tks
marcos
  Reply With Quote
Old 13-10-2008, 11:08 PM   #2
Luke Alcatel
Guest
 
Posts: n/a
Default Re: start a program in windows service

If you want to run a regular .exe as a service, take a look at srvany.exe in
the W2003 Resource Kit,
http://www.microsoft.com/downloads/...&displaylang=en

If you want to write your code as a service, do it just as you would for XP
Desktop and set parameters in Service Data with Component Designer.
http://msdn.microsoft.com/en-us/library/ms940130.aspx

Luke

"Marcos" <marcos.carlos@sirandsir.com> wrote in message
news:Oj3N8kSLJHA.1500@TK2MSFTNGP06.phx.gbl...
> hi,
> i have to start a program on windows service. Is that possibible? If yes,
> how can i do it?
>
> tks
> marcos



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off