Help! Need to activate a javascript function with VB6!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wxscooter
    New Member
    • Mar 2007
    • 11

    Help! Need to activate a javascript function with VB6!

    OK, I'm definitely a beginner at VB6, but nobody I've talked to can seem to help me with this...

    My program is using Webbroswer to automatically fill out a webpage. I'm down to just one simple command that I don't know how to tell VB6 to do...

    A simple 'add' button on the page is actually an embedded javascript function that tells the page to move a name from one list box to another.

    The question: How do I tell VB6 to activate that function so it can perform the same command as a mouseclick on the 'add' button would?

    Will the Webbroswer1.Doc ument.InvokeScr ipt("Function") work? If so, I can't make it work correctly...

    Also, is there some kind of 'MOUSECLICK down' command that I could use to invoke the script that way?

    Please help!!!
Working...