locked
Convert file to text RRS feed

  • Question

  • I have an offline event log that i would like to convert to a text or CSV format (not too sure what limitations there are between the two if any).

    As far as i understand the evt file is in a binary format so it needs to be converted from this format into text (in hope to transfer the contents to a database).

    Could someone help in how i could get started and if any approach (text or CSV) is better than the other?

    Thank you in advance.

    Friday, November 13, 2009 3:55 PM

Answers

  • Someone over at code project had written some code to parse EVT files. Check that out here:
    http://www.codeproject.com/KB/string/EventLogParser.aspx

    As far as text or CSV, they are really the same thing. CSV just stands from comma seperated values so it is really just a text file thats values are seperated by commas for parsing.


    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com
    • Marked as answer by TheTerminator Monday, November 16, 2009 4:51 PM
    Friday, November 13, 2009 4:38 PM

All replies

  • Someone over at code project had written some code to parse EVT files. Check that out here:
    http://www.codeproject.com/KB/string/EventLogParser.aspx

    As far as text or CSV, they are really the same thing. CSV just stands from comma seperated values so it is really just a text file thats values are seperated by commas for parsing.


    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com
    • Marked as answer by TheTerminator Monday, November 16, 2009 4:51 PM
    Friday, November 13, 2009 4:38 PM
  • Although it is outside the English culture not even seperated by comma's but by semicolumns (while it has nothing to do with C#)
    Success
    Cor
    Friday, November 13, 2009 7:40 PM