Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE object model
Message
 
To
02/02/2000 00:20:06
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00325938
Message ID:
00326105
Views:
25
>>Has anyone been able to put a program together that will surf the object model of a multi framed web page and iterate all the links, buttons,forms, etc. I have had some success copying an html page down to my local drive and opening it with VI, then looking at the objects, but my attempts to programmatically surf the object model aren't working that well.
>>
>>I know that I can do the following using the browser control to get the links in a simple page, but would like to be able to pull all the objects from a page.
>>
>>For Each link In thisform.olecontrol1.document.links
>>	if thisform.whatlinks='Innertext'
>>	 m.links=allt(link.innertext)
>>	 else
>>	 m.links=allt(link.outertext)
>>	endif
>>	m.linkstring=allt(link.toString)
>>	insert into weblinks from memvar
>>Next link
>>
>
>I have done some stuff like this, what problems are you running into?

I'd like to a class that surfs the model and populates a table so I can see what is where. I can parse the stuff by hand, but was wondering if anyone had automated the process. I've started on it, but haven't gotten very far. If you'd like to see what I've done so far, I'd be willing to zip it and email to you.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform