Hello,
I've found some conflicts between Outlook, SVG Plugin and some JRE. I
would like to be able to detect from a script if Outlook is currently
running from IE
so I could warn the user of possible crash.

Is there a way to know if Outlook is currently running from IE?

Thanks,

Thomas.

Re: How to detect if Outlook is running from IE by mr_unreliable

mr_unreliable
Fri Oct 20 15:37:06 CDT 2006

hi Tom,

If you happen to have wmi (windows management instrumentation)
installed, you can "enum" the process list. If outlook is in
the process list then it is running.

Sample Code:

Set oWMI = GetObject("winmgmts:")

sList = "List of Processes... " & vbCrLf & vbCrLf

for each process in oWMI.InstancesOf("Win32_Process")

sList = sList & process.name & vbCrLf

next

MsgBox(sList)

And, if you _don't_ have wmi, you can download it
(for free - gasp!) from microsoft.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)



tomapi69 wrote:
> Hello,
> I've found some conflicts between Outlook, SVG Plugin and some JRE. I
> would like to be able to detect from a script if Outlook is currently
> running from IE
> so I could warn the user of possible crash.
>
> Is there a way to know if Outlook is currently running from IE?
>
> Thanks,
>
> Thomas.
>

Re: How to detect if Outlook is running from IE by tomapi69

tomapi69
Wed Oct 25 07:37:51 CDT 2006

But from a browser you can not use GetObject ...
Am I wrong?

Thanks,

T.

mr_unreliable wrote:
> hi Tom,
>
> If you happen to have wmi (windows management instrumentation)
> installed, you can "enum" the process list. If outlook is in
> the process list then it is running.
>
> Sample Code:
>
> Set oWMI = GetObject("winmgmts:")
>
> sList = "List of Processes... " & vbCrLf & vbCrLf
>
> for each process in oWMI.InstancesOf("Win32_Process")
>
> sList = sList & process.name & vbCrLf
>
> next
>
> MsgBox(sList)
>
> And, if you _don't_ have wmi, you can download it
> (for free - gasp!) from microsoft.
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but,
> no guarantee the answers will be applicable to the questions)
>
>
>
> tomapi69 wrote:
> > Hello,
> > I've found some conflicts between Outlook, SVG Plugin and some JRE. I
> > would like to be able to detect from a script if Outlook is currently
> > running from IE
> > so I could warn the user of possible crash.
> >
> > Is there a way to know if Outlook is currently running from IE?
> >
> > Thanks,
> >
> > Thomas.
> >