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. COM
  4. IWebBrowser2::Navigate2 problems

IWebBrowser2::Navigate2 problems

Scheduled Pinned Locked Moved COM
javascriptcomhelpquestionannouncement
1 Posts 1 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.
  • S Offline
    S Offline
    Shutaro
    wrote on last edited by
    #1

    Hello all, I have another problem using navigate2 method of IWebBrowser2 interface. I'm tring to send a javascript function (the string passed is like this: "javascript:functionname()") from an activex control to internet explorer. The first time that I call Navigate2 all goes fine but IE don't release the resource. The others times that I'm tring to call Navigate2 the resource appears busy. I'm calling navigate2 in this way: locHR = locBrowser->Navigate2(&vaURL,&noArg,&vaTarget,&noArg,&noArg); where COleVariant noArg; COleVariant vaURL((LPCTSTR) "javascript:functionname()"); COleVariant vaTarget((LPCTSTR) "_self"); Is this the correct way to post data (through http_get) to IE? Thanks a lot Carlo

    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