Results 1 to 3 of 3

Thread: [RESOLVED] Get text from text document stored on website

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Location
    New Zealand
    Posts
    241

    Resolved [RESOLVED] Get text from text document stored on website

    Hey,

    How do I get text stored in a text document from a website?
    I know it is possible, just dont know how.

    Thanks,
    Jessee

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Get text from text document stored on website

    Create a WebClient and call DownloadString. You will then have a String object containing the text of the file, so you can then treat it like any other String.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Location
    New Zealand
    Posts
    241

    Re: Get text from text document stored on website

    Ty

    So much easier than in VB6.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width