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

Visual Basic

 
GeneralRe: AAAHHH conversion from vb6 to vb.net HELP PLEASE Pin
Luc Pattyn15-Oct-09 8:28
sitebuilderLuc Pattyn15-Oct-09 8:28 
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 
Hey there,

thanks for the info, I have got it working, in the sense that I can remove the /root type value and manipulate that but anything further down the XML file and I get no output.

Below I have copied the Full XML code as I'm guessing that all the <root>, <Application> etc is stopping my code from searching the <folder> and <sizedata> elements that I'm actually after.

Is there a way of ignoring all the other stuff and just getting what I'm after, I dunno masking it out or something??

Thanks again...






<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<Root Type="TRoot">
<Application>TreeSize Professional</Application>
<Version>5.2.3   (5.2.3.505)</Version>
<Date>15/10/2009 12:30:08</Date>
<Path>C:\</Path>
<ExcludePatterns>
<pattern>*~SNAPSHOT*</pattern>
</ExcludePatterns>
<IncludePatterns>
<pattern>*</pattern>
</IncludePatterns>
<ArchiveBitFilesOnly>0</ArchiveBitFilesOnly>
<ExcludeOfflineFiles>0</ExcludeOfflineFiles>
<CreatedPastDaysOnly>0</CreatedPastDaysOnly>
<Filesystem>NTFS</Filesystem>
<BytesPerCluster>4096</BytesPerCluster>
<Compressed>0</Compressed>
<FileBasedCompression>-1</FileBasedCompression>
<FoldersOccupySpace>0</FoldersOccupySpace>
<IsCompared>0</IsCompared>
<Title>Drive: Local Disk (CSmile | :) </Title>
<UserDefinedClusterSize>0</UserDefinedClusterSize>
<UsedBytesOnDrive>80023715840</UsedBytesOnDrive>
<FreeBytesOnDrive>7445061632</FreeBytesOnDrive>
<DoCreateFileAges FileAgesDateType="1">-1</DoCreateFileAges>
<Folder fullpath="C:\" IsFilesNode="0">
<Name>C:\</Name>
<Attributes>0</Attributes>
<LastAccessDate Low="322843223" High="30035338"/>
<LastChangeDate Low="322843223" High="30035338"/>
<CreationDate Low="0" High="0"/>
<SizeData Size="74609238013" Allocated="72396726232" Wasted="234062016" CDRom="74727184384" Files="116733" Folders="12272" Compression="3"/>
<FilesSizeData Size="18745407271" Allocated="18745561088" Wasted="153817" CDRom="18745475072" Files="69" Folders="0" Compression="1"/>
<Folder fullpath="C:\" IsFilesNode="-1">
GeneralRe: XML file data extraction Pin
Tom Deketelaere15-Oct-09 3:30
professionalTom Deketelaere15-Oct-09 3:30 
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 

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.