By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,095 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,095 IT Pros & Developers. It's quick & easy.

Help! Need to activate a javascript function with VB6!

P: 11
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.Document.InvokeScript("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!!!
Mar 29 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.