Hi Nick,
Can you provide some additional information on what you are doing and what
is failing? For instance, the following code works for me on the click
event of a button using VS.NET:
Dim xNode
xNode =
thisXDocument.DOM.selectSingleNode("//my:myFields/my:field1")
MsgBox(xNode.text)
Thanks,
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights
Nick - 26 May 2005 19:32 GMT
Yes, it has to do with the delagates and async callback operation. Im
speculating, because I dont fully understand the "under - the - hood" stuff
for the async callback, but if its on a different thread, then something is
preventing access to the XDocument DOM.
> Hi Nick,
>
[quoted text clipped - 13 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
Nick - 26 May 2005 21:51 GMT
Here is the exact error:
{"Operation is not valid due to the current state of the object." }
I tried to use this from the global variable as well as passing it in the
delegate / async worker function. Both yield the same result.
> Hi Nick,
>
[quoted text clipped - 13 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights