Jump to content

Recommended Posts

Posted

After playing with my UPS, I can see entries in the system log with a yellow

triangle, (where I've been switching the mains power off and on),

....is there any way to get these pop out in system tray, or appear on the

destop as they appear ?

 

TIA

 

regards, Richard

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest Meinolf Weber
Posted

Re: Event Viewer,

 

Hello RJK,

 

You have to check the software settings from the UPS itself. Event viewer

icon is internal used for displaying a warning, thats all.

 

Best regards

 

Meinolf Weber

Disclaimer: This posting is provided "AS IS" with no warranties, and confers

no rights.

** Please do NOT email, only reply to Newsgroups

** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> After playing with my UPS, I can see entries in the system log with a

> yellow

> triangle, (where I've been switching the mains power off and on),

> ...is there any way to get these pop out in system tray, or appear on

> the

> destop as they appear ?

> TIA

>

> regards, Richard

>

Guest Pegasus \(MVP\)
Posted

Re: Event Viewer,

 

 

"RJK" <nospam@hotmail.com> wrote in message

news:O6MzJPYvIHA.1768@TK2MSFTNGP03.phx.gbl...

> After playing with my UPS, I can see entries in the system log with a

> yellow triangle, (where I've been switching the mains power off and on),

> ...is there any way to get these pop out in system tray, or appear on the

> destop as they appear ?

>

> TIA

>

> regards, Richard

 

You could monitor the Event Viewer by itself by saving the code

below in your Startup folder as "Monitor Event Viewer.vbs".

 

const EventNo = "'7035'"

Set objWMISrv = GetObject("winmgmts:{(Security)}\\.\root\cimv2")

Set colMonitoredEvents = objWMISrv.ExecNotificationQuery _

("Select * from __InstanceCreationEvent Where " _

& "TargetInstance ISA 'Win32_NTLogEvent' " _

& "and TargetInstance.EventCode = " & EventNo)

Do

Set objLatestEvent = colMonitoredEvents.NextEvent

MsgBox objLatestEvent.TargetInstance.Message, 0, _

"Event Viewer Notification"

Loop

 

The code would run in the background at all times. You

need to replace the number "7035" with the event number

you wish to monitor. Leave the double and single quotes

as they are!


×
×
  • Create New...