How Do I Make My Vb Executable Filel In To A Service So That It Starts As Soon As System Starts.

Also If This .exe File Is Closed, I Want To Shut The System.

Please Help.

How Do I Make My Vb Executable Filel In To A Service So That It Starts As Soon As System Starts.

Also If This .exe File Is Closed, I Want To Shut The System.

Please Help.

There are 2 easy ways - 1 put it in the startup menu of windows by copying it there, 2 call it in autoexec.bat

my system include the sql sever database. is there space required when i want to make it as setup

There are 2 easy ways - 1 put it in the startup menu of windows by copying it there, 2 call it in autoexec.bat

Neither accomplish what the user wants. A "service" is not started via autoexec.bat nor startup menu.

Try the information at
http://www.overclock.net/faqs/119474-how-run-program-service.html or http://kennethhunt.com/archives/001728.html.

If that doesn't quite do it, google for "run program as service" or something like that. You can find programs that will load the program as a service or instructions to do it yourself.

If still nothing, I'll post the instructions I used a while ago.

Please download exe to service (just google it ) and install your exe file as service ... simple

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.