Results 1 to 2 of 2

Thread: Weird Error

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2003
    Posts
    601

    Weird Error

    Ok. So what im doing might seem a little strange, but I receive this error and want to know how to fix it.

    I am using the Inet control.

    Heres the code
    Code:
    Dim Contents As String
    
    Contents = Inet.OpenURL("http://images.google.com/images?q=" & txtSearch.Text & "&svnum=100&hl=en&lr=&c2coff=1&rls=DVXA,DVXA:2005-15,DVXA:en&start=0&sa=N&filter=0")
    
    RichTextBox1 = Contents
    Instead of displaying what the HTML really is in the rich text box.. It displays this.

    Your client does not have permission to get URL images?q=naruto&svnum=100&hl=en&lr=&c2coff=1&rls=DVXA,DVXA:2005-15,DVXA:en&start=21&sa=N&filter=0


    any ideas how to get around this?

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: Weird Error

    Probably a referrer issue - i.e. the request must come from the google.com main search page first....
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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