tags:

views:

153

answers:

2

hi, What is the best way to get the return value from IHTMLWindow2::execScript?

I found this link, http://social.msdn.microsoft.com/Forums/en/ieextensiondevelopment/thread/712db8ec-0ceb-4efa-afe3-590dc6bbb7bf, I haven't tried this, is this the right way?

Regards Manoj

A: 

Yes, that's how System.Windows.Formss.HtmlDocument.InvokeScript gets the return value.

Sheng Jiang 蒋晟
A: 

One quick doubt, how to get the Error codes of IHTMLWindow2::execScript() call when it is failing, MSDN is bypassing the details in the api definiton pages.

Any idea would be very helpful.

mav
you should make a separate question out of this
Wouter van Nifterick