Close Non-Microsoft Application From Excel

T

Tom B

Windows 2000 / Excel 2000

I am using 'Shell' to start a (non microsoft) application
prior to executing my macros.

Dim MyAppID
MyAppID = Shell("C:\FolderName\FileName.exe", 1)

Once the macro has executed, I would like to close the
application as a house-keeping measure. Any suggestions?

Thanks in advance,

- - TB - -
 
K

Keith Willshaw

Tom B said:
Windows 2000 / Excel 2000

I am using 'Shell' to start a (non microsoft) application
prior to executing my macros.

Dim MyAppID
MyAppID = Shell("C:\FolderName\FileName.exe", 1)

Once the macro has executed, I would like to close the
application as a house-keeping measure. Any suggestions?

Thanks in advance,

- - TB - -

There's a utility on the Win 2k resource kit , alternatively
the site below has a utility you can download that you could
use from shell

http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

CAVEAT:
I have not used this one myself but the site is reputable
and I have user other utils of theirs.

Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top