Anda bisa juga mencoba langsung dengna code di bawah

Set oRs = CreateObject("ADODB.Recordset")
oRs.Open "C:\Log.xml"

Set DataGrid1.DataSource = oRs


good luck



--- Sistyo Alfan <[EMAIL PROTECTED]> wrote:

> contoh format standard-nya gmn mas?
>   ----- Original Message ----- 
>   From: Gunawan doang 
>   To: [email protected] 
>   Sent: Wednesday, October 26, 2005 10:45 AM
>   Subject: Re: [Programmer-VB] Ambil Data Log File
> ke Program VB
> 
> 
>   sepertinya, data xmlnya bukan format standard.
> 
>   --- Santi Rahayu <[EMAIL PROTECTED]>
>   wrote:
> 
>   > 
>   > 
>   > 
>   > Dear All,
>   > 
>   > Minta bantuannya dunk, saya mau ambil data yg
> saya
>   > warnai merah ke program
>   > vb saya, data tsb saya ambil dari log file. Ada
> yg
>   > pernah buat program
>   > semacam itu, minta masukkannya yah, ditunggu,
>   > thanks.
>   > 
>   > 
>   > 
>   > data yang ada di dalam text kaya gini :
>   > 
>   > 
>   > 
>   > <?xml version="1.0" encoding="UTF-8"?>
>   > 
>   > <xml>
>   > 
>   > [2005-10-24 08:58:17] ***Warning*** load_report:
>   > RCID = 777
>   > 
>   > [2005-10-24 08:58:17] ***Warning*** load_report:
>   > RCID = 787
>   > 
>   > [2005-10-24 08:58:17] ***Warning*** load_report:
>   > RCID = 742
>   > 
>   > [2005-10-24 08:58:17] ***Warning*** load_report:
>   > RCID = 788
>   > 
>   > [2005-10-24 08:58:42] ***Warning***
> initOdbcConn:
>   > sebelum sql connect
>   > 
>   > [2005-10-24 08:58:42] ***Warning***
> initOdbcConn:
>   > lewat sql connect tuh
>   > 
>   > [2005-10-24 08:58:42] ***Warning***
> initOdbcConn:
>   > sebelum sql connect
>   > 
>   > [2005-10-24 08:58:42] ***Warning***
> initOdbcConn:
>   > lewat sql connect tuh
>   > 
>   > <ebdesk_log type="info" title="ebmain/DoContent"
>   > time="10/24/05 08:58:42">
>   > 
>   > <log_content>[ani.kusharjanti]
>   > Frontpage</log_content>
>   > 
>   > </ebdesk_log>
>   > 
>   > [2005-10-24 08:58:45] ***Warning***
> initOdbcConn:
>   > sebelum sql connect
>   > 
>   > [2005-10-24 08:58:45] ***Warning***
> initOdbcConn:
>   > lewat sql connect tuh
>   > 
>   > [2005-10-24 08:58:45] ***Warning***
> initOdbcConn:
>   > sebelum sql connect
>   > 
>   > [2005-10-24 08:58:45] ***Warning***
> initOdbcConn:
>   > lewat sql connect tuh
>   > 
>   > <ebdesk_log type="info" title="ebmain/DoContent"
>   > time="10/24/05 08:58:45">
>   > 
>   > <log_content>[ani.kusharjanti]
>   > Services</log_content>
>   > 
>   > </ebdesk_log>
>   > 
>   > 
>   > 
>   > The information transmitted is intended only for
> the
>   > person or the entity to which it is addressed
> and
>   > may contain confidential and/or privileged
> material.
>   > If you have received it by mistake please notify
> the
>   > sender by return e-mail and delete this message
>   > including any of its attachments from your
> system.
>   > Any use, review, reliance or dissemination of
> this
>   > message in whole or in part is strictly
> prohibited.
>   > Please note that e-mails are susceptible to
> change.
>   > The views expressed herein do not necessarily
>   > represent those of PT Astra International Tbk
> and
>   > should not be construed as the views, offers or
>   > acceptances of PT Astra International Tbk.
> 
> 
> 
>         
>               
>   __________________________________ 
>   Yahoo! Mail - PC Magazine Editors' Choice 2005 
>   http://mail.yahoo.com
> 
> 
>   Untuk keluar dari millis ini, kirim email kosong
> ke:
>   [EMAIL PROTECTED]
> 
> 
> 
> 
> 
>
------------------------------------------------------------------------------
>   YAHOO! GROUPS LINKS 
> 
>     a..  Visit your group "Programmer-VB" on the
> web.
>       
>     b..  To unsubscribe from this group, send an
> email to:
>      [EMAIL PROTECTED]
>       
>     c..  Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service. 
> 
> 
>
------------------------------------------------------------------------------
> 
> 



                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/k7folB/TM
--------------------------------------------------------------------~-> 

Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Programmer-VB/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke