Results 1 to 9 of 9

Thread: View Webbrowser body content

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    View Webbrowser body content

    hi is it possible to view the content ie: post/get, referrer, request body of a http request sent by webbrowser control or see the response of the server? i know i can view it through fiddler but can i do this internally within my app?

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: View Webbrowser body content

    Duplicate posting: http://www.vbforums.com/showthread.p...t=#post5171669

    Do you want a solution in VB6 or in .NET? What will work for one, may not work for the other.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    Re: View Webbrowser body content

    Ideally Vb.net but no one replied to my post (im not sure if i am asking a stupid question) so i asked here to see if i could get a answer that would point me in the right direction

  4. #4
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: View Webbrowser body content

    Problem is that you'll get a VB6 answer here that won't work for .NET...
    It's not a stupid question... Far from it. I actually find it intriguing and wouldn't mind knowing myself. It's just not a common one... Obviously it's possible, because programs like Fiddler exist and work... how to do it in .NET though.... mmmmm.... may not be so straight forward.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    Fanatic Member
    Join Date
    Apr 2017
    Posts
    554

    Re: View Webbrowser body content

    You can use a packet sniffer. If you don't have one and you want one say so and I will post one

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    Re: View Webbrowser body content

    packet sniffer written in VB.net? i was just hoping there was a simple solution to this. WinHTTP displays the response how i would like webbrowser to without using proxies & packet sniffers. i think i am in way above my know-how with this problem

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: View Webbrowser body content

    Thread moved from the 'VB6 and Earlier' forum to the 'VB.Net' (VB2002 and later) forum... and duplicate removed

  8. #8
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    Re: View Webbrowser body content

    I was almost going to post this question, myself, due to an oddity in a service call, but then somebody fessed up to messing with a setting in an interesting way. It seems like that information is kind of hidden from you. The response is somewhat interpreted, when I'd like to see it more raw for some types of diagnostic work. Not as interested in seeing it in .NET, though. I'd be interested in seeing it in VS, and Fiddler kind of does what I want.
    My usual boring signature: Nothing

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Feb 2017
    Posts
    147

    Re: View Webbrowser body content

    i have been struggling with this problem for days, it seems it was possible with axwebbrowser and the BeforeNavigate2 option, but damned if i can find a solution for .net

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