Discussion Locked

How to Know Runing Process in VB

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

how can i know if one Program (like microsoft word) is Runing using visual basic
and i need to run my program on win98 & Me & XP

4 replies

by juergen hartl

Using the findWindow Function:
Private Declare Function FindWindow Lib "user32.dll" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
returns a window handle.

by amanabala

Hi, I wrote a program some time ago that lists all the running programs and sub processes for each process - works with Windows 98. I am sure it is easy to extend to work with Me and XP. I can email it to you if you would like. Please let me know.
-Ravi

This discussion is closed to new replies.