Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet

Status
Not open for further replies.

ecannizzo

Programmer
Sep 19, 2000
213
US
I am using the webbrowser control to search pages. I need for my code to search a site for a Mailing Address and bring it back into a list box. Any ideas on how I can do this?

Thanks!
Erica
 
Determine if the field has a NAME or ID attached.
Fim objElement as object
Set objElement = webb.Document.getelementbyName("mail")
if not objElement is nothing then strData = objElement.Value

'Get all HTML and search
strHTML = Webb.DocumetDocumentElement.OuterHTML
 
I know how to get the html but I'm not quite sure how to search for a mailing address?

Erica
 
If it does not have a NAME or ID then you'll have to locate it as .INNEERTEXT of a <P> tag or use Instr on the HTML if you can know some invariant words/phrases around the mailing address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top