|
-
Mar 24th, 2013, 04:34 PM
#1
Thread Starter
Addicted Member
Automation error accessing childnodes
I first create an InternetExplorer and then I extract an object. I was extracting text from it using:
myText=obj.childnodes(0).innertext text
However, I get an "Automation error": -2147352319 (80020101)
I can't figure out why. I can actually access it using a loop:
For each child in obj.Children
If child.className="my class name" Then myText=child.innertext
Next child
This is indeed a solution but I don't want to introduce loops every time I want to access child nodes... Thought? 
Thanks,
Samuel
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|