471,310 Members | 1,490 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

ComboBox and XML (DOM)

I have a class that stores my XML object.

Private Shared xmlDoc As XmlDocument

Public Shared Property Products() As XmlDocument
If xmlDoc Is Nothing Then
Dim xmlFile As String = xmlLocation()
Dim xmlDoc As XmlDocument

xmlDoc = New XmlDocument
End If

Return xmlDoc
End Get
Set(ByVal Value As XmlDocument)
xmlDoc = Value 'no real need to validate
End Set
End Property

here is my XML so far
<?xml version="1.0" encoding="utf-8" ?>

<!-- Repeat the structure below for each product. -->
<id>CP-90, T-32</id>
<address>Street Address</address>

<!-- Next product here-->

I want to be able to read one item (id) into a combobox. BUT I want it to
"Refresh" in case the DOM tree has been updated. orginally, I put it in the
"LOAD" area of my VB app, but that wont work since I need the combobox to be
more dynamic.

Any ideas?


Jul 21 '05 #1
0 912

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by fremenusul | last post: by
9 posts views Thread by Bob Bedford | last post: by
2 posts views Thread by Billy Smith | last post: by
reply views Thread by fremenusul | last post: by
1 post views Thread by SM | last post: by
reply views Thread by Dom | last post: by
3 posts views Thread by =?Utf-8?B?TWFyayBCb2V0dGNoZXI=?= | last post: by
6 posts views Thread by Peter Larsen [CPH] | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.