can shell tell an exe to close

Giganews Newsgroups
Subject: can shell tell an exe to close
Posted by:  wayne (wayne.lab…@videotron.ca)
Date: Wed, 4 Jun 2008

Hi
With VB6 and Vista I use this shell to start this pgm.exe
lpgmID = Shell("c:\rstest\pgm.exe", vbNormalNoFocus)

How would I use Shell to close pgm.exe when it it running.

Thanks

Replies