Click here to Skip to main content
15,920,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: On Error GoTo in VBScript Pin
Uros Calakovic31-Mar-09 6:57
Uros Calakovic31-Mar-09 6:57 
QuestionProblem with movetoroot from the opc da automation wrapper Pin
dadio2531-Mar-09 3:53
dadio2531-Mar-09 3:53 
AnswerRe: Problem with movetoroot from the opc da automation wrapper Pin
dadio251-Apr-09 20:47
dadio251-Apr-09 20:47 
GeneralDisplay External Window in vb Form Pin
Samir Ibrahim31-Mar-09 2:48
Samir Ibrahim31-Mar-09 2:48 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 3:23
mveDave Kreskowiak31-Mar-09 3:23 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim31-Mar-09 4:05
Samir Ibrahim31-Mar-09 4:05 
GeneralRe: Display External Window in vb Form Pin
0x3c031-Mar-09 6:55
0x3c031-Mar-09 6:55 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 7:26
mveDave Kreskowiak31-Mar-09 7:26 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim1-Apr-09 5:07
Samir Ibrahim1-Apr-09 5:07 
QuestionFind Window Pin
Prasadsm31-Mar-09 1:38
Prasadsm31-Mar-09 1:38 
AnswerRe: Find Window Pin
Eddy Vluggen31-Mar-09 1:56
professionalEddy Vluggen31-Mar-09 1:56 
GeneralRe: Find Window Pin
Prasadsm31-Mar-09 2:01
Prasadsm31-Mar-09 2:01 
GeneralRe: Find Window Pin
Eddy Vluggen31-Mar-09 2:35
professionalEddy Vluggen31-Mar-09 2:35 
QuestionDelete Lines in Text File Pin
vijay248230-Mar-09 23:37
vijay248230-Mar-09 23:37 
AnswerRe: Delete Lines in Text File Pin
Prasadsm31-Mar-09 2:15
Prasadsm31-Mar-09 2:15 
AnswerRe: Delete Lines in Text File Pin
riced31-Mar-09 5:21
riced31-Mar-09 5:21 
QuestionI created a superscript in a rich text box but neeed to convert the same to caret sign in a text box Pin
gautamrajsaxena30-Mar-09 22:18
gautamrajsaxena30-Mar-09 22:18 
Questionplz help me to jump the return code to pass program check Pin
wgarnett30-Mar-09 21:37
wgarnett30-Mar-09 21:37 
AnswerRe: plz help me to jump the return code to pass program check Pin
Eddy Vluggen30-Mar-09 22:58
professionalEddy Vluggen30-Mar-09 22:58 
QuestionHow to configure ms access to allow lan connection in vb.net ???? Pin
JC.KaNNaN30-Mar-09 18:43
JC.KaNNaN30-Mar-09 18:43 
AnswerRe: How to configure ms access to allow lan connection in vb.net ???? Pin
_Damian S_30-Mar-09 19:12
professional_Damian S_30-Mar-09 19:12 
AnswerRe: How to configure ms access to allow lan connection in vb.net ???? Pin
Anubhava Dimri30-Mar-09 23:48
Anubhava Dimri30-Mar-09 23:48 
QuestionPopulating datagrid with array of xml files Pin
Jordan198230-Mar-09 12:14
Jordan198230-Mar-09 12:14 
Hi there - I am a newbie to the world of programming and have come across a huge stumbling block that is driving me wild.

I am trying to create an application that will get a list of all the xml files in a given directory, read through the contents of the xml files (they are all of identical format in terms of node/element structure) and populate a datagridview with the contents.

I have created an array of xml files and have been successful in binding one of the xml files to the dataset but I cant get it to iterate through the entire array. If I carry out the same task but output the contents of the xml file to a listbox it works successfully.

Can anybody help?

The problem code is:

Public Sub xmlReader2(ByVal dirPath As String)
Dim xmlfile As XmlReader
xmlfile = XmlTextReader.Create(dirPath)
Dim ds As New DataSet
ds.ReadXml(xmlfile)
DataGridView1.DataSource = ds.Tables(0)
End Sub

This sub is called by another sub which is iterating through the array. Like I say, I can output the information to a listbox so I presume the problem must be with the above code.

Hope some clever person can guide me in the right direction.

Thanks
AnswerRe: Populating datagrid with array of xml files Pin
Christian Graus30-Mar-09 15:30
protectorChristian Graus30-Mar-09 15:30 
QuestionDrowning! Pin
pack230-Mar-09 0:58
pack230-Mar-09 0:58 

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.