Results 1 to 6 of 6

Thread: [RESOLVED] Reading text file attached from web

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Posts
    261

    Resolved [RESOLVED] Reading text file attached from web

    Hi, i have worked with inet control before but this situation just doesn't work for me.
    I'm just trying to read a txt file that is attached into a forum thread. It is a permanent thread and file attached so link will not change. I'm just getting a lot of garbage like if i where reading html.

    Here is the simple code:
    Code:
    txtCheckVIP.Text = Inet1.OpenURL("http://www.BLABLA.com/forums/attachment.php?attachmentid=4775&d=1208579393", icString)
    I know that i could download the file to the computer and then open the file but i will not like to download it, just read it.
    I attached a txt file to do some test.
    Any help will be appreciated.
    Attached Files Attached Files
    Last edited by 2005; Apr 18th, 2008 at 11:44 PM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Posts
    261

    Re: Reading text file attached from web

    ohhh, man... I can read it fine from this forum. But not on the others.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Reading text file attached from web

    What other web sites have you tested on?

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Posts
    261

    Re: Reading text file attached from web

    One is xxxxxxx I have the appropriate access and automatically login as i have it here but will not work.
    Last edited by 2005; Apr 19th, 2008 at 11:32 AM.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Posts
    261

    Re: Reading text file attached from web

    Ok, found the problem. The problem was that i'm using FireFox and in firefox cookies i had the propper login but not in IE. VB seems to be using IE information. I didn't know that.

  6. #6
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: [RESOLVED] Reading text file attached from web

    VB's controls like WebBrowser, Inet, etc are Microsoft products so they all use IE as the engine behind those controls.

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