Executing Javascript in WebBrowser Control stopped working after upgrade to Access 2010
- by Noah
BACKGROUND: The following works in Access 2007, but broke when I installed 2010
I have a WebBrowser control in an Access Form; I set its location as follows
Me.WebBrowser0.ControlSource = "http://foo.com"
and then execute a script in the page
Script = "StartScript(null);"
Me.WebBrowser0.Object.Document.parentWindow.execScript Script,…