PDA

View Full Version : Administration of Windows Event Viewer question


evgenyv
06-13-2003, 06:53 PM
Hi, all!

Does anybody know, how can i administrate programmaticly windows Event Viewer from C++ or C# code.

Actually, i need change maximum size of log.

Thanks in advance,
Evgeny

inkedmn
06-13-2003, 09:44 PM
you should be able to do that without writing code...



aaaaaaaaaaand here (http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/entserver/hc_shrink_log_size_warning.asp) you go :)

-edit-
i don't know which version of windows you need to do this for, but i imagine they'd all be pretty similar...