Results 1 to 2 of 2

Thread: Starting a service from VB.NET

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    Starting a service from VB.NET

    How to start a Windows service from VB.NET? For example, I want to start Oracle Listener service TNSLSNR.EXE from a VB.NET executable. I tried with the command of starting a process, but is not working.

    Thanx for any help
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Addicted Member
    Join Date
    Aug 2003
    Posts
    153
    You need to use a service controller. Look them up on MSDN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width