View Poll Results: Is this a simple question for a newbie to fuiger out on his own?

Voters
1. You may not vote on this poll
  • Very simple, your pathetic and can't spell

    0 0%
  • Simple, you are just taking the easy way out

    0 0%
  • Standerd dificulty, it would take you as long to look up as it did to post this poll

    1 100.00%
  • Amazing you even knew that you could do this, but your lack of knoledge makes me feel good

    0 0%
Results 1 to 2 of 2

Thread: Log Parser 2.0 DLL and VB.Net?

  1. #1

    Thread Starter
    New Member Dilbert123's Avatar
    Join Date
    Mar 2003
    Location
    In a Cardboard Box
    Posts
    10

    Question Log Parser 2.0 DLL and VB.Net?

    I have been using the MS Log Parser 2.0 command line utility a lot but would like to use the COM .dll file in a VB.NET project. I am fairly new to OOP and dont realy know how to register the component in my solution, could anyone help me?

    This is an example ov a javascript code sample using the COM Component:

    var logQuery=new ActiveXObject("MSUtil.LogQuery");
    var recordSet=logQuery.Execute("SELECT * FROM <1>");

    for(; !recordSet.atEnd(); recordSet.moveNext())
    {
    var record=recordSet.getRecord();
    for(var col=0; col<recordSet.getColumnCount(); col++)
    {
    if(record.isNull(col))
    WScript.Echo("NULL");
    else
    WScript.Echo(record.getValue(col));
    }
    }
    000011101010111000010101110000101010111010100001010101

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    read this post !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width