Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

VB & XML


ghost's Avatar
0 0

heyy, im trying to create a vb program that uses the following example xml file


<scripts>

<script id="1">

<name>Test</name>

<link>http://www.test.co.uk</link>

</script>

<script id="2">

<name>Test 2</name>

<link>http://www.test2.co.uk</link>

</script>

</scripts>```

Then i have :
in my form :
A list box ..
I want the list box to take the "names" of each of the scripts in the xml file and display them ...
In the form there is also a web browser .. 
When an item is selected in the list box, the "link" is set as the browser location ...

Any help/code etc =]

spyware's Avatar
Banned
0 0

XML = pseudocode, it's useless without an interpreter. And I honestly don't know what you want from us, what code do you need?


ghost's Avatar
0 0

notice the language is "VB" … I need a code spercifically that extracts the name data from the xml file and uses them as items in the list box, then a code that loads the url in the "Link" part of the xml file when the item is clicked


ghost's Avatar
0 0

0oh ty