Passing Variable from WebBrowser to VB Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markclinn
    New Member
    • Feb 2007
    • 7

    Passing Variable from WebBrowser to VB Application

    I need help with passing a variable from embedded WebBrowser to VB application. I have an interactive map, and when I click on an icon, I need to pass the ID back into the application. Any ideas? I have control of both the ASP webpage and the VB app.

    Thanks
  • ranjanmondal
    New Member
    • May 2007
    • 2

    #2
    dim doc3 as Htmldocument
    dim docin as HtmldocumentEle ment
    dim myval as string
    -------------------
    set doc3=webbrowser 1.document
    docin=doc3.getE lementById("Ele metname")
    myval = docin.value
    msgbox myval
    set docin=nothing
    set doc3=nothing

    Comment

    Working...