Check for running process?

Hi there,I need a button the user can click and which tells him if “javaw.exe” is running or not. So I’d have to access the task-manager anyhow…is there a way to do this?

TIA,

Buzzy

Subject: Check for running process?

Sure, using the Win32 API. The .BAS file in the zip here will give you what you need:

http://www.developersdex.com/gurus/code/714.asp

Subject: RE: Check for running process?

Nice!You don’t happen to have some LS-example for it :wink:

Buzzy

Subject: RE: Check for running process?

No, but it’s not difficult to rewrite, since VB and LS are very similar languages.

Subject: RE: Check for running process?

Yeah, you’re right - I’ll give it a try.

Thanks,

Buzzy