Program running with certain filed opened

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
m0n
Posts: 28
Joined: Wed Oct 20, 2004 3:15 am

Program running with certain filed opened

Post by m0n »

Hey,

I would like to test if Excel is running and if a certain file is openend in Excel.
Atm I just test if Excel is running as process or not...

I hope this is possible,

Regards,

m0n
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You need to create VB or Java script and use "Active Script" or "Shell Script" test methods to launch script.
http://www.ks-soft.net/hostmon.eng/mfra ... htm#script
http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell

Use CreateObject function to create Excel object.
http://msdn.microsoft.com/library/defau ... object.asp

Regards
Alex
Post Reply