Click here to Skip to main content
15,916,835 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: A very simple question with a twist Pin
dan!sh 22-Oct-09 0:45
professional dan!sh 22-Oct-09 0:45 
GeneralRe: A very simple question with a twist Pin
offroaderdan22-Oct-09 1:01
offroaderdan22-Oct-09 1:01 
AnswerRe: A very simple question with a twist Pin
Steve Westbrook22-Oct-09 2:22
Steve Westbrook22-Oct-09 2:22 
QuestionXML Extraction using VB Pin
nhsal6921-Oct-09 22:51
nhsal6921-Oct-09 22:51 
AnswerRe: XML Extraction using VB Pin
Christian Graus21-Oct-09 23:42
protectorChristian Graus21-Oct-09 23:42 
GeneralRe: XML Extraction using VB Pin
nhsal6922-Oct-09 0:19
nhsal6922-Oct-09 0:19 
GeneralRe: XML Extraction using VB Pin
Christian Graus22-Oct-09 0:49
protectorChristian Graus22-Oct-09 0:49 
GeneralRe: XML Extraction using VB Pin
nhsal6922-Oct-09 1:42
nhsal6922-Oct-09 1:42 
Sorry, I'm pretty new to this and am now a bit confused. In the original code above:

Dim fullpath As String = node.Attributes.GetNamedItem("fullpath").Value

Works and returns a value for "FullPath"

Dim SizeData As String = node.Attributes.GetNamedItem("SizeData").Value

Doesn't work and gives an "System.NullReferenceException" Error when compiled.

When that line is commented out the code returns all expected results.

Am I missing something here as the "fullpath" line in the XML is of the same form as the "SizeData" one.. So why do I get the error???
GeneralRe: XML Extraction using VB Pin
John M Bundy22-Oct-09 9:07
John M Bundy22-Oct-09 9:07 
GeneralRe: XML Extraction using VB Pin
nhsal6922-Oct-09 21:29
nhsal6922-Oct-09 21:29 
GeneralRe: XML Extraction using VB Pin
John M Bundy23-Oct-09 4:38
John M Bundy23-Oct-09 4:38 
Questioncmd.executenonquery not accepting nz function Pin
rabih.tawil21-Oct-09 20:57
rabih.tawil21-Oct-09 20:57 
AnswerRe: cmd.executenonquery not accepting nz function Pin
Ashfield21-Oct-09 21:11
Ashfield21-Oct-09 21:11 
GeneralRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil21-Oct-09 21:27
rabih.tawil21-Oct-09 21:27 
AnswerRe: cmd.executenonquery not accepting nz function Pin
Mycroft Holmes21-Oct-09 21:11
professionalMycroft Holmes21-Oct-09 21:11 
GeneralRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil21-Oct-09 21:22
rabih.tawil21-Oct-09 21:22 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Mycroft Holmes21-Oct-09 21:33
professionalMycroft Holmes21-Oct-09 21:33 
GeneralRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil21-Oct-09 21:36
rabih.tawil21-Oct-09 21:36 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Christian Graus21-Oct-09 22:03
protectorChristian Graus21-Oct-09 22:03 
GeneralRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil21-Oct-09 22:22
rabih.tawil21-Oct-09 22:22 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Christian Graus21-Oct-09 23:15
protectorChristian Graus21-Oct-09 23:15 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Andy_L_J21-Oct-09 22:06
Andy_L_J21-Oct-09 22:06 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Christian Graus21-Oct-09 23:41
protectorChristian Graus21-Oct-09 23:41 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Dave Kreskowiak22-Oct-09 1:40
mveDave Kreskowiak22-Oct-09 1:40 
GeneralRe: cmd.executenonquery not accepting nz function Pin
Christian Graus21-Oct-09 23:19
protectorChristian Graus21-Oct-09 23:19 

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.