Results 1 to 9 of 9

Thread: A still unanswered NT Service question!!! [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    Resolved A still unanswered NT Service question!!! [RESOLVED]

    I searched the whole web. And searched all threads concerning NT Service in this forum and I found the exact same question that I'm asking myself and you guys.

    Since nobody answered the other thread, I was hoping that maybe now the answer could come up. Tks in advance, here it goes:

    How can I tell wheter a service is already installed or not?

    Something like this:
    VB Code:
    1. ' I made up this IsInstalled property of coarse just to show you what I need.
    2.  
    3. Sub cmdInstallService_Click()
    4.  
    5.      If NTService.IsInstalled = False Then
    6.           NTService.Install
    7.      End If
    8.  
    9. End Sub
    I need this because the user that is viewing my vb application wants to know wheter it is installed or not. If not, he clicks the button install and ok! I can't make the user go to Settings -> Control Panel and look for the service... I must be able to tell the user this information!

    Tks
    Last edited by virtualblender; Apr 18th, 2005 at 02:58 PM. Reason: Question resolved

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