Results 1 to 3 of 3

Thread: How to detect a process

  1. #1

    Thread Starter
    Lively Member satti charvak's Avatar
    Join Date
    Apr 2001
    Location
    noida, india
    Posts
    90

    How to detect a process

    Hi All,
    I want to know, say, sqlserver is running or not. It can be seen in the Process in the task manager (win2k) but I want to detect it using VB6.0. How can this be done. Please advise.

  2. #2
    Addicted Member
    Join Date
    Mar 2002
    Location
    Lithuania
    Posts
    165
    You can try to connect to it with winsock and see if port open...
    P.S. Sorry for my poor English...

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Try taking a lok at the FindWindow API call from www.allapi.net ...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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