Click here to Skip to main content
15,919,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it possible to download data from XML files using VB.net at all?

If so would someone help me out or point me in the right direction.


-Explanation-
Well i had launchers/patchers made in VB.net download files from XML files which the data contains in. It reads the strings in the XML file and VB.net reads it and downloads files from the lines/strings.

I've opened up the programs via 'Reflector/RedGate' which can decompile the source and then check to see how it functions. Now most of it is just all difficult/complicated for me to work out.
But these are the functions that the patcher/launcher did have which i could understand clearly.


-How The launchers/patchers Function!-

# It checks to see if the webhost/domain is online.
# Checks if the files exists in the 'DIR'
# Reads the 'XML' file in the 'DIR'
# Some have HashChecks for the strings that the XML contains. It will check lines/strings for file which the 'Host/Domain' has uploaded.
# It downloads the files from each line/string that XML contains.
# It then shows the files size, bytes recieved, and the total of bytes download.
# When the download has started there is a progressbar that progresses from 0% - 100%
# Completes the strings in the XML file
# Replaces the files if already downloaded and downloads the files specified.


What I'm asking is a simple code that can do the XML function to help me out with my Project.

There isn't any important files or somewhat needed. It's a project that i'm stuck on and trying to code for a game for friends.




Thanks in advanced.
Posted
Updated 10-Mar-13 9:08am
v5
Comments
[no name] 10-Mar-13 12:33pm    
You might want to consider reading the FAQ on how to ask a question.
bbirajdar 10-Mar-13 12:35pm    
I agree. I have posted a comment to his earlier question here ^
bbirajdar 10-Mar-13 12:36pm    
"I wanted to know how download files using '.XML' on a host," .. Files cannot be downloaded using XML. Because XML is just a markup language which can contain data. It does not perform any function like the vb.net language..
Syngravez 10-Mar-13 13:08pm    
It can be read from VB.net and XML that contains the data can be downloaded. It's in patchers for games. I have a program that can do what i'm trying to explain. But i can't understand it.
bbirajdar 10-Mar-13 12:37pm    
"So basically it gets a list of files to download in an '.XML' and then downloads each one after another. Same goes for '.INI' if there is a way of doing that also.
" What does 'it' refer too ?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900