Richard - 2014-01-31

Hi,
I am looking at Internet Explorer's COM for automation. I am using JACOB to test this out, along with looking at Jiffie.

I currently can't figure out how to capture a javascript error if one results on a page navigated to.

According to microsoft's website: http://support.microsoft.com/kb/261003
"When one of the script engines encounters an unhandled error, it forwards the error to the WebBrowser control, which then queries its container to see if the container has implemented IOleCommandTarget. If the container has implemented IOleCommandTarget, the WebBrowser control calls the IOleCommandTarget::Exec"

I wasn't able to find anything from google.

So using JACOB, how do I implement IOleCommandTarget for the control so I can capture OLECMDID_SHOWSCRIPTERROR?