Does anyone know why I am getting (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME)) when attempting to invoke a javascript function in a WPF application (.Net 4)?
The browser control is hosted inside an application and is being used with local html files, e.g:
C:\Users\XXXX\AppData\Roaming\XXXX\Books\XXXX_revision_1_1\html\1\med-9780198569244-chapter-4
This file has a javascript include - 'script/scripts.js'
Is it possible from C# to execute a javascript function using the InvokeScript method on the browser control when url is a local file?