Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, im making a program , and i need to know how to make it so like i have a news box, and i want it to connect to a certain file i have uploaded onto a site called website.org which u can host files. I want it so it wll read the file i have uploaded and display what it says in a news box i have on my programhow can i go about doing this?I am in C#, if you have any source codes then PLZ share, and thank you in advance .
Posted
Updated 24-Nov-09 13:01pm
v2

yes that exactly is what i want it to do do u know if there is a tut somewhere or a source i could see by any chance
 
Share this answer
 
connect to a certain file i have uploaded onto a site called website.org

 

Do you mean your app will download the text from a webservice, or it's a web page you're writing ? I think you want to use a webservice to access the text if you're showing it in windows.
 
Share this answer
 
okay, cause i have it uploaded a file that i want it to show what is in the textfile where i have it uploaded, in a textbox i have
 
Share this answer
 
You can use the WebRequest class to download the file, then you can parse it as you would any other string.
 
Share this answer
 
You could start by going to the link I gave in my last answer, which shows examples. Or you could try searching Code Project articles or Google. Also, PLZ dn't typ lyk ths. Once you try things out, if you have any further questions, please create a new question to address those specific questions. But don't ask them until you've actually made an effort to do this yourself.
 
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