Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMessage Removed Pin
14-Oct-09 22:21
Cool_Dev14-Oct-09 22:21 
AnswerRe: Automation: Can't Quit PowerPoint due to Document Recovery Pane.. Pin
Richard MacCutchan14-Oct-09 22:42
mveRichard MacCutchan14-Oct-09 22:42 
QuestionXML file data extraction Pin
nhsal6914-Oct-09 22:15
nhsal6914-Oct-09 22:15 
AnswerRe: XML file data extraction Pin
Tom Deketelaere14-Oct-09 22:37
professionalTom Deketelaere14-Oct-09 22:37 
GeneralRe: XML file data extraction Pin
nhsal6914-Oct-09 22:58
nhsal6914-Oct-09 22:58 
GeneralRe: XML file data extraction Pin
Tom Deketelaere14-Oct-09 23:44
professionalTom Deketelaere14-Oct-09 23:44 
GeneralRe: XML file data extraction Pin
nhsal6915-Oct-09 3:20
nhsal6915-Oct-09 3:20 
GeneralRe: XML file data extraction Pin
Tom Deketelaere15-Oct-09 3:30
professionalTom Deketelaere15-Oct-09 3:30 
nhsal69 wrote:
Is there a way of ignoring all the other stuff and just getting what I'm after, I dunno masking it out or something??


Yes bye using the xmldocument class.

Alright here's a small code snippet.
Dim odoc as new system.xml.xmldocument
odoc.load("path to the xml file goes here")

dim fullpath as string=""
dim node as system.xml.xmlnode= odoc.selectnode("Folder")
fullpath = foldernode.attributes.getnameditem("fullpath")

dim name as string
node = odoc.selectnode("Name")
name=node.innertext


That should get you the fullpath and name in the xml document.

I didn't test or compile the code (it's from memory) so small adjustments might be in order.
GeneralRe: XML file data extraction Pin
nhsal6915-Oct-09 21:59
nhsal6915-Oct-09 21:59 
GeneralRe: XML file data extraction Pin
Tom Deketelaere15-Oct-09 22:39
professionalTom Deketelaere15-Oct-09 22:39 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 0:42
nhsal6916-Oct-09 0:42 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 1:07
professionalTom Deketelaere16-Oct-09 1:07 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 1:24
nhsal6916-Oct-09 1:24 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 1:38
professionalTom Deketelaere16-Oct-09 1:38 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 2:20
nhsal6916-Oct-09 2:20 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 2:35
professionalTom Deketelaere16-Oct-09 2:35 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 2:51
nhsal6916-Oct-09 2:51 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 3:20
professionalTom Deketelaere16-Oct-09 3:20 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 4:28
nhsal6916-Oct-09 4:28 
GeneralRe: XML file data extraction Pin
Tom Deketelaere16-Oct-09 4:34
professionalTom Deketelaere16-Oct-09 4:34 
GeneralRe: XML file data extraction Pin
nhsal6916-Oct-09 5:48
nhsal6916-Oct-09 5:48 
GeneralRe: XML file data extraction Pin
nhsal6919-Oct-09 5:02
nhsal6919-Oct-09 5:02 
GeneralRe: XML file data extraction Pin
nhsal6921-Oct-09 4:40
nhsal6921-Oct-09 4:40 
QuestionVBA: Microsoft Office Outlook: Find duplicate messages Pin
Jwalant Natvarlal Soneji14-Oct-09 19:54
Jwalant Natvarlal Soneji14-Oct-09 19:54 
AnswerRe: VBA: Microsoft Office Outlook: Find duplicate messages Pin
Dave Kreskowiak15-Oct-09 3:55
mveDave Kreskowiak15-Oct-09 3:55 

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.