Event Viewer,

R

RJK

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
 
M

Meinolf Weber

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
 
P

Pegasus \(MVP\)

RJK said:
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!
 

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

Similar Threads

Suppress Event Viewer Tray Icon? 2
APM / ACPI Hibernat Question. 5
Event Viewer 10
Event Viewer 2
Lost my welcome screen 2
Computer 'problems' : 7
Strange icon in the system tray 11
OT: psu watts & amps ....an volts ! 4

Top