Hi all I have a function that works well most of the time.
I have no clue who wrote it, it just works. The start looks like this:
IsExeRunning()
oLocator = CreateObject('WBEMScripting.SWBEMLocator')
oWMI = oLocator.ConnectServer()
oWMI.Security_.ImpersonationLevel = 3 && Impersonate
oProcesses = oWMI.ExecQuery([Select * From Win32_Process WHERE Name = '] + tcName + ['])
But of late with new or classic outlook we are finding that it doesn't always work. I would like to enhance it so it can find other derivatives of outlook whatever they're called. If you've done something close please, advice will much appreciated.
K R
Mathias
I have no clue who wrote it, it just works. The start looks like this:
IsExeRunning()
oLocator = CreateObject('WBEMScripting.SWBEMLocator')
oWMI = oLocator.ConnectServer()
oWMI.Security_.ImpersonationLevel = 3 && Impersonate
oProcesses = oWMI.ExecQuery([Select * From Win32_Process WHERE Name = '] + tcName + ['])
But of late with new or classic outlook we are finding that it doesn't always work. I would like to enhance it so it can find other derivatives of outlook whatever they're called. If you've done something close please, advice will much appreciated.
K R
Mathias