Click to See Complete Forum and Search --> : making windows 2000 service


lodhi
April 23rd, 2002, 01:10 PM
Dear friends,

i have developed an application now i want that
when windows starts my application should run
automaticallly. i have studied about windows services but i am unable to understand it.
please if any one of u can help me.

tell me the proper way and any running
sample application i will be thankful to him.

omar lodhi

Jkhan
May 1st, 2002, 09:40 PM
I would suggest writing a console app, using Win32API

ShellExecute(..,...,...,...,....,...);
to start the program in the background the machine is booted up.

In your windows registry key RUN, add a value that would referrence the program you wanna run, when the machine boots up, or run the console program i have mentioned above.

the program could only be seen running throught the task manager if using WinNT or Win2000.

I hope this help. Good luck