Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WshShell.LogEvent 1

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Has anybody managed to use this to successfully write messages to the NT event Log. I can't get it to work. Mise Le Meas,

Mighty :)
 
Hello, Mighty.

Execute a line :
WScript.Echo WScript.Version
to check the version of your WSH. LogEvent is supported only from 5.1 onward. If what you have is native to NT4 SPx, you might have 5.0 there. It is good time to install newer version (5.6).

regards - tsuji
 
tsuji,

Thanks for that. I was wondering whay it was working on one machine and not another. Mise Le Meas,

Mighty :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top