Results 1 to 12 of 12

Thread: Browser\Winsock Control.....

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Question Browser\Winsock Control.....

    Hey, how would i specify the refering page when using a winsock\webbrowser control?

    For example, a user clicked on a link in vb forums called book.htm.
    Then the referer is:
    http://www.vbforums.com

    Then, how would i change that so that the browser thinks that the referer was:
    http://www.vbsquare.com

    Any and all help is appreciated!

    Thanx,
    Mikelo2k

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Unhappy Yes i do.

    I do, but i don't know how to change the referrer.

    Pleeeeeeez help!

  3. #3
    Addicted Member dmr's Avatar
    Join Date
    Jul 2000
    Location
    West-Germany :) Timezone: GMT +1 [DST] North.......: 52° 16’ 09” East...: 10° 31’ 16”
    Posts
    255
    Your answer was great...

    Okay. Here is my question again and this time I made the important point a little bigger...


    Do you use the Winsock-Control or the MS Webbrowser Control?
    Code that I author is neither elegant nor efficient. It is, however, functional. Once I get something that works, I'm generally satisfied with myself - I mean, if it works, that's good enough, right?

    Originally posted by aknisely
    Sorry, but I feel uncomfortable on CC with clothes on
    __________________
    The truth ... is out there!

  4. #4
    j2k
    Guest
    heh. I'd like to know the answer too, I could use either Webbrowser or Winsock.

    TIA.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Winsock, i know how!

    Hey j2k, i will post how in a minute. A friend reminded me the layout of a packet.
    I will psot source code here in 1hour or so.

  6. #6
    DaoK
    Guest
    dmr! long time no see sexy


    Mikelo2k you should use webbrowser ocx because it really easy.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Red face I am Advacnec!! lol!

    DaoK: Mikelo2k is 31337 and prefers use the MORE CHALLENGING method. But if you could, please post on how to do it using the WebBrowser control, i do not know how.

    Source is almost done!

    Thanx,
    Mikelo2k

  8. #8
    DaoK
    Guest
    I do not understand that : Mikelo2k is 31337
    and they have excellent tutorial in vbworld about webrowser. personally I never saw a webbrowser without the webbrowser ocx.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Talking Here it is! Hope it's useful!

    Here, i have attached the Souce Code for usign winsock for Navigation and faking the Referrer :-D

    Hope it's of some use!

    Thanx,
    Mikelo2k


    P.S - No comments sorry. I was too tired...

  10. #10
    DaoK
    Guest
    Thank you for the code.

  11. #11
    DaoK
    Guest
    Yes but that just show the source of the webpage not the interface

  12. #12

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Posts
    137

    Talking Mey pleaseure....

    Hehe, no problem, it was my pleasure :-p
    And yes it only gets what is sent in the MAIN packet. Graphics are usually sent in seperate packages and they also need to be temporarily stored somewhere. It would take a lot of work.....

    Thanx,
    Mikelo2k


    p.S - I have a new version with BuiltIn Browser and UserAgent specifier. Do you want me to post it?
    (After i get back from school :-p )

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