Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / General Topics 1 / May 2008

Tip: Looking for answers? Try searching our database.

Event Viewer,

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RJK - 24 May 2008 10:51 GMT
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
Meinolf Weber - 24 May 2008 11:00 GMT
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
[quoted text clipped - 5 lines]
>
> regards, Richard
Pegasus (MVP) - 24 May 2008 14:20 GMT
> 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),
[quoted text clipped - 4 lines]
>
> 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!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.