|
-
Jun 27th, 2001, 11:11 AM
#1
Thread Starter
Addicted Member
Reading a .txt file from a website
Hey!
As im a visual basic newbie i was wondering if it is possible to read a text file from a website to retrieve infomation from it. As in it opens www.website.com/textfile.txt and can read what's in it as if it was opening a normal file off my harddrive. Anyway any help would be greatly appreciated, thanks
-
Jun 27th, 2001, 11:51 AM
#2
Thread Starter
Addicted Member
Sorry for not editting my first post, but the edit page doesnt seem to load 
anyway i tried Open "http://www.website.com/textfile.txt" For Input As #1 but it didnt work
-
Jun 27th, 2001, 12:16 PM
#3
Frenzied Member
Probably the easiest way to do this would be to use the URLDownloadToFile API. Use the search box above and you will find all kinds of example of using URLDownloadToFile.
-
Jun 27th, 2001, 12:19 PM
#4
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|