Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Working on POST method with BHO?

Working on POST method with BHO?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nmhuy
    wrote on last edited by
    #1

    Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

    V M 2 Replies Last reply
    0
    • N nmhuy

      Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

      V Offline
      V Offline
      vishalmore
      wrote on last edited by
      #2

      Hi, I guess you can get the data sent by POST method in DocumentComplete/ DownloadComplete events of the IE. In addition to this you have to do some digging on interfaces IHTML*... Hope this would help... Cheers, Vishal

      1 Reply Last reply
      0
      • N nmhuy

        Hello everybody, I am developing a Browser Help Object in IE and encounter some problems: - Get data sent by POST method from an URL. - Send data to an URL by POST method. How can we accomplish that? Do you have any ideas or suggestions? Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

        M Offline
        M Offline
        Marc Soleda
        wrote on last edited by
        #3

        nmhuy wrote: Get data sent by POST method from an URL. You can retrieve the data sent by POST before sending it to the Web Server. This article[^] clarifies it quite a lot. nmhuy wrote: Send data to an URL by POST method. To achieve this, you have to build your page with aform[^] (type POST defined)with all the fields you want to send. ...form contents... In the "action" field you have to insert the URL where you want to send the data with the method defined in the field "method" (POST). I hope it helps, Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

        N 1 Reply Last reply
        0
        • M Marc Soleda

          nmhuy wrote: Get data sent by POST method from an URL. You can retrieve the data sent by POST before sending it to the Web Server. This article[^] clarifies it quite a lot. nmhuy wrote: Send data to an URL by POST method. To achieve this, you have to build your page with aform[^] (type POST defined)with all the fields you want to send. ...form contents... In the "action" field you have to insert the URL where you want to send the data with the method defined in the field "method" (POST). I hope it helps, Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

          N Offline
          N Offline
          nmhuy
          wrote on last edited by
          #4

          Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

          M 2 Replies Last reply
          0
          • N nmhuy

            Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

            M Offline
            M Offline
            Marc Soleda
            wrote on last edited by
            #5

            nmhuy wrote: I want the BHO send data automatically to an URL by POST method Create a function on JavaScript or VBScript inside your HTML code that submits the form and make this JS function available from the VC++ code to call it when you decide (automatically or not). To do this look for information about CHtmlView and its method GetScript()->Invoke(). Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

            1 Reply Last reply
            0
            • N nmhuy

              Send data to an URL by POST method. I want the BHO send data automatically to an URL by POST method. In case of GET method, the BHO can easily send data to an URL by using the Navigate method of the IWebBrowser (e.g MyWebBrowser.Navigate2("http://...?data1=abc&data2=xyz"). But how can we send data an URL in case of POST method?Thanks. Lan hue sau ai lan hue heo Lan hue sau doi trong heo ngoai tuoi

              M Offline
              M Offline
              Marc Soleda
              wrote on last edited by
              #6

              Take a look to these good articles. They'll help you to perform JS calls from VC++: Web Gui[^] or JavaScript calls from C++[^] Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups