Click here to Skip to main content
15,900,818 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Cannot cast from ControlCollection to ControlCollection Pin
Dave Kreskowiak3-Jan-08 7:16
mveDave Kreskowiak3-Jan-08 7:16 
GeneralRe: Cannot cast from ControlCollection to ControlCollection Pin
Ed Hill _5_3-Jan-08 22:25
Ed Hill _5_3-Jan-08 22:25 
GeneralInvoice Management System Pin
wEb GuRu...3-Jan-08 1:26
wEb GuRu...3-Jan-08 1:26 
GeneralRe: Invoice Management System Pin
Dave Kreskowiak3-Jan-08 5:03
mveDave Kreskowiak3-Jan-08 5:03 
GeneralRe: Invoice Management System Pin
wEb GuRu...3-Jan-08 5:09
wEb GuRu...3-Jan-08 5:09 
GeneralInserting XML Elements using XMlDocument Pin
Benny_Lava3-Jan-08 0:18
Benny_Lava3-Jan-08 0:18 
GeneralRe: Inserting XML Elements using XMlDocument Pin
Dave Kreskowiak3-Jan-08 4:59
mveDave Kreskowiak3-Jan-08 4:59 
GeneralRe: Inserting XML Elements using XMlDocument Pin
Kschuler3-Jan-08 5:48
Kschuler3-Jan-08 5:48 
I'm not sure if this is exactly what you are looking for, but I use an object of type System.Xml.XmlNodeList to reference xml nodes (I use VS2005, not sure if it's in other versions). The GetElementsByTagName will return a NodeList with all of the nodes that match the name. For example, this bit of code will set the variable strValue to the value of the first element in the file named "Element1":

Dim xDoc As New System.Xml.XmlDocument<br />
xDoc.Load("C:\MyFile.xml")<br />
<br />
Dim strValue as String = String.Empty<br />
<br />
Dim xList As System.Xml.XmlNodeList<br />
xList = xDoc.GetElementsByTagName("Element1")<br />
<br />
If xList.Count > 0 Then<br />
    strValue = xList.Item(0).InnerText<br />
End If


Hope this at least helps point you in the right direction.
GeneralRe: Inserting XML Elements using XMlDocument Pin
Volker Weichert3-Jan-08 8:49
Volker Weichert3-Jan-08 8:49 
GeneralDatabase not updating after using insert on submit with linq. Pin
TechnoDev3-Jan-08 0:14
TechnoDev3-Jan-08 0:14 
GeneralRe: Database not updating after using insert on submit with linq. Pin
nishkarsh_k3-Jan-08 0:33
nishkarsh_k3-Jan-08 0:33 
GeneralSaving Webpage Contents into Excel Pin
viji]3-Jan-08 0:11
viji]3-Jan-08 0:11 
GeneralRe: Saving Webpage Contents into Excel Pin
Dave Kreskowiak3-Jan-08 4:44
mveDave Kreskowiak3-Jan-08 4:44 
GeneralTransparent back color property of label Pin
nishkarsh_k2-Jan-08 20:52
nishkarsh_k2-Jan-08 20:52 
GeneralRe: Transparent back color property of label Pin
Dave Kreskowiak3-Jan-08 1:58
mveDave Kreskowiak3-Jan-08 1:58 
Generalsec urity issue Pin
Tauseef A2-Jan-08 20:40
Tauseef A2-Jan-08 20:40 
GeneralRe: sec urity issue Pin
Dave Kreskowiak3-Jan-08 4:50
mveDave Kreskowiak3-Jan-08 4:50 
QuestionRe: sec urity issue Pin
Tauseef A3-Jan-08 16:17
Tauseef A3-Jan-08 16:17 
GeneralRe: sec urity issue Pin
Dave Kreskowiak4-Jan-08 1:40
mveDave Kreskowiak4-Jan-08 1:40 
GeneralCom callable Wrapper Class Pin
ramyasangeet2-Jan-08 20:37
ramyasangeet2-Jan-08 20:37 
GeneralRe: Com callable Wrapper Class Pin
Dave Kreskowiak3-Jan-08 1:47
mveDave Kreskowiak3-Jan-08 1:47 
GeneralWriting data from dataset to XML file [modified] Pin
Usharva2-Jan-08 20:14
Usharva2-Jan-08 20:14 
GeneralRe: Writing data from dataset to XML file Pin
Michael Sync2-Jan-08 20:26
Michael Sync2-Jan-08 20:26 
GeneralRe: Writing data from dataset to XML file Pin
Usharva2-Jan-08 20:31
Usharva2-Jan-08 20:31 
AnswerRe: Writing data from dataset to XML file Pin
Volker Weichert3-Jan-08 9:14
Volker Weichert3-Jan-08 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.