I've got a WebBrowser object in VB6 which contains an HTML document which in turn has a Javascript routine within it.
I'd like a line of VB code which will trigger the Javascript routine when a button is clicked in VB.
Something along the lines of:
WebBrowser1.Document.Scripts("JSRoutineName").Run
Is it possible?
Alternatively, if I place a link in the HTML document that triggers the javascript code, can I trigger the link from within VB?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
I'd like a line of VB code which will trigger the Javascript routine when a button is clicked in VB.
Something along the lines of:
WebBrowser1.Document.Scripts("JSRoutineName").Run
Is it possible?
Alternatively, if I place a link in the HTML document that triggers the javascript code, can I trigger the link from within VB?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments