R
Richard Bell
I'm working on a VB.net app that uses IE, some forms, and multiple
execution threads. I'm unclear on a couple of threading related
matters and hoped that someone could provide some insight.
From within a thread of execution, if I do a form.show, what thread
does the form process execute on? Is the form process supported by
its own thread? When the form post an event that my code catches such
as a button press, what thread does the event handler execute on? Can
I safely do a wait in the thread that does the form.show and still
handle form events such as a button press?
Similarly, from within a thread of execution, if I start a new
instance of IE what thread does it execute on? It looks to me as
though it is on its own seperate thread and process. Is this correct?
If I catch IE events such as DocumentComplete, what thread does the
event handler execute on? Can I safely do a wait in the thread that
starts IE and still handle IE events?
Thanks for any insight.
Richard
execution threads. I'm unclear on a couple of threading related
matters and hoped that someone could provide some insight.
From within a thread of execution, if I do a form.show, what thread
does the form process execute on? Is the form process supported by
its own thread? When the form post an event that my code catches such
as a button press, what thread does the event handler execute on? Can
I safely do a wait in the thread that does the form.show and still
handle form events such as a button press?
Similarly, from within a thread of execution, if I start a new
instance of IE what thread does it execute on? It looks to me as
though it is on its own seperate thread and process. Is this correct?
If I catch IE events such as DocumentComplete, what thread does the
event handler execute on? Can I safely do a wait in the thread that
starts IE and still handle IE events?
Thanks for any insight.
Richard