Visual Basic Foro

Programación => Visual Basic 6 => Mensaje iniciado por: cliv en Febrero 03, 2012, 08:03:05 am

Título: Read XML file in VB6
Publicado por: cliv en Febrero 03, 2012, 08:03:05 am
I need to read a xml file (see attached Errors.xml) in vb6 and load in a grid all parent with child
I try using Chilkat XML Activex (freeware Activex) but don't work.
Please help,
Chilkat XML activeX is freeware and can be downloaded from here:
http://www.chilkatsoft.com/download/XmlActiveX.msi (http://www.chilkatsoft.com/download/XmlActiveX.msi)
My source code can be downloader from here:
http://www.mediafire.com/download.php?3pbmq9yrgg36vk5 (http://www.mediafire.com/download.php?3pbmq9yrgg36vk5)
Título: Re:Read XML file in VB6
Publicado por: xkiz ™ en Febrero 03, 2012, 04:07:44 pm
you could use the xml class that leandro used in this project: clima en la barra de tareas (http://leandroascierto.com/blog/clima-en-la-barra-de-tareas/[url=http://clima%20en%20la%20barra%20de%20tareas)
this is the original: SimpleXMLParser (http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=64975&lngWId=1)

this are references free, no activeX.
Título: Re:Read XML file in VB6
Publicado por: cliv en Febrero 06, 2012, 05:45:08 am
Thank you for answer...
I try to use Leandro clsXML but i'm blocked...
I messed up...and i can't read error code and error comments from  child (prescriptionDrugs)
I want to load information in grid like picture below.
http://img192.imageshack.us/img192/3888/exceldd.jpg (http://img192.imageshack.us/img192/3888/exceldd.jpg)
(http://img192.imageshack.us/img192/3888/exceldd.jpg/)

XML-TREE
http://img254.imageshack.us/img254/6812/xmltree.jpg (http://img254.imageshack.us/img254/6812/xmltree.jpg)
(http://img254.imageshack.us/img254/6812/xmltree.jpg/)

Source code + xml (clsXML-Leandro.zip):
http://www.mediafire.com/?n9d1jzdadaeayxx (http://www.mediafire.com/?n9d1jzdadaeayxx)
Título: Re:Read XML file in VB6
Publicado por: cliv en Febrero 07, 2012, 04:54:24 am
REZOLVED