Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE object model
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
IE object model
Miscellaneous
Thread ID:
00325938
Message ID:
00325938
Views:
61
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
John Harvey
Shelbynet.com

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

Click here to load this message in the networking platform