I have an activex control, that I developed myself. The activex runs in a thread to make sure that IE doesn't freeze when its executing the long task. The long task is pretty much looping through 32K rows. Now while its looping I would like to display a message to the IE user notifying him about the row position. That way the user can see the process. Is there a way to achieve this?
I did and I even set the property from the thread, however when I access the property from js, then its always empty.
vikasde
2009-12-15 19:41:57
Never mind. That actually worked. Not sure why it did not work earlier.
vikasde
2009-12-15 19:54:31
A:
You should have your ActiveX control fire events that you sink, instead of polling.
Here is an article I wrote on how to do it. Sorry for the link, it is a lot of information. Basically you create an outgoing Dispinterface in your type library and call methods on that that you subscribe to via attachEvent() in JScript.
jeffamaphone
2009-12-15 23:38:52