D
Darryn Lavery
Re-posting from
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=371520&SiteID=1
Hello
I am currently developing an InfoPath form which uses a custom task pane.
There is a good deal of interaction between the form code and the task pane's
JS code. The form code is mostly implemented as an external library
downloaded from a web server and instantited via
Activator.CreateInstanceFrom() in the OnLoad event. The HTML body element's
onload event on the other hand is used to inform the library that the task
pane's intialization has finished. I ran into the following problem.
Sometimes (often) the task pane initialization code fails informing the
callee reference is null. It seems to me this is a race event caused by the
MSHTML in the task pane running on a seperate thread. Is there any simple way
to go around this?
Piotr Jelonkiewicz
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=371520&SiteID=1
Hello
I am currently developing an InfoPath form which uses a custom task pane.
There is a good deal of interaction between the form code and the task pane's
JS code. The form code is mostly implemented as an external library
downloaded from a web server and instantited via
Activator.CreateInstanceFrom() in the OnLoad event. The HTML body element's
onload event on the other hand is used to inform the library that the task
pane's intialization has finished. I ran into the following problem.
Sometimes (often) the task pane initialization code fails informing the
callee reference is null. It seems to me this is a race event caused by the
MSHTML in the task pane running on a seperate thread. Is there any simple way
to go around this?
Piotr Jelonkiewicz