NOT ANSWERED BEFORE: Save Event Log
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngescalate' list.


Sean Bytnar
Is there a way to save an event log to an evt file programmatically
using C#?

Thanks,
Sean

*************************
Sean Bytnar MCSE, MCP+I
Illinois State University
Technology Specialist
Campus Box 2202
Normal, IL 61790
v- 309-438-7355
f- 309-438-7761
Click here to reveal e-mail address

Reply to this message...
 
    
Johnson, Peter
First of all, this e-mail doesn't comply with the escalate rules at:

http://www.aspfriends.com/aspfriends/aspngescalate.asp?tab=rules

Step 2 says you must say where you tried asking it and summarize any
(insufficient) answers you got, which you did not.

Second, an event log is a .EVT file anyway (without specifically saving it).
For instance, the Application log is at
C:\WINNT\system32\config\AppEvent.Evt. You might try programmatically
getting a reference to the event log you want, then getting its file name
and copying that file.

Peter Johnson
ASPFriends.com Moderation Team
-> http://www.aspfriends.com/aspfriends/moderators.asp
Visit Peter's Professional ASP.NET for Access advice & more!
-> http://www.aspalliance.com/PeterJohnson/

[Original message clipped]

----------------------------------------------------------------------------

This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing, disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail.

Thank you for your cooperation.

----------------------------------------------------------------------------

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com